NOAA-GFDL/MOM6

h_new needs a halo update before call to remap_OBC_fields in step_MOM_thermo

Closed this issue · 1 comments

With the gnu compiler, the halos are full of zeros, but with intel, they have bad values leading to this stack trace:

forrtl: error (65): floating invalid
Image              PC                Routine            Line        Source                  
libpthread-2.31.s  00007F46708248C0  Unknown               Unknown  Unknown
MOM6               0000000000E8F987  mom_remapping_mp_         549  MOM_remapping.F90
MOM6               0000000000E8142F  mom_remapping_mp_         195  MOM_remapping.F90
MOM6               000000000078F741  mom_open_boundary        5541  MOM_open_boundary.F90
MOM6               0000000002322031  mom_mp_step_mom_t        1597  MOM.F90
MOM6               00000000022FE811  mom_mp_step_mom_          812  MOM.F90
MOM6               0000000002D60006  ocean_model_mod_m         594  ocean_model_MOM.F90
MOM6               0000000004BD31D8  MAIN__                   1062  coupler_main.F90
MOM6               00000000004132CD  Unknown               Unknown  Unknown
libc-2.31.so       00007F467050324D  __libc_start_main     Unknown  Unknown
MOM6               00000000004131FA  Unknown               Unknown  Unknown

Note that this section of MOM_open_boundary is just for the tracer reservoirs.

Fixed by #478