I am researching the roles of WWBs in ENSO, using CESM 1.2. But came to some questions when I am trying to modify the model. I am trying to change the wind or pressure field in the interior atmosphere dynamics. When I tried to modify it, the mpi or chunk problem went out, it seems before I want to change the field I should gather all data from each mpi process or xy-decomp grid in dynamic. It confused me how to do this. So I am asking for help on how to gather/scatter data in CAM dynamic.
I found that there are two function 'scatter chunk from field' and 'gather field from chunk'. But it seems these function are defined or used in physics module, in dynamics it was different.
I found that there are two function 'scatter chunk from field' and 'gather field from chunk'. But it seems these function are defined or used in physics module, in dynamics it was different.