Skip to content

Axis size error introduced by recent changes to the FMS infra layer in the MOM6 framework #1007

@alex-huth

Description

@alex-huth

Commit 9e48380 ("Decouple FMS infra from framework") is causing crashes when trying to apply sponges.

Traceback:


FATAL from PE   0: get_axis_data called with too small of an output data array for lon.

Image              PC                Routine            Line        Source             
MOM6_SIS2_Alex_be  0000000000B66C6B  mpp_mod_mp_mpp_er          79  mpp_util_mpi.inc
MOM6_SIS2_Alex_be  00000000006A5A63  mom_io_infra_mp_g         730  MOM_io_infra.F90
MOM6_SIS2_Alex_be  0000000000CAA01C  mom_interpolate_m         316  MOM_interpolate.F90
MOM6_SIS2_Alex_be  0000000000DA3C2D  mom_horizontal_re         752  MOM_horizontal_regridding.F90
MOM6_SIS2_Alex_be  0000000001147CFF  mom_ale_sponge_mp         992  MOM_ALE_sponge.F90
MOM6_SIS2_Alex_be  0000000000CD8365  mom_diabatic_driv        1839  MOM_diabatic_driver.F90
MOM6_SIS2_Alex_be  0000000000CC86FF  mom_diabatic_driv         410  MOM_diabatic_driver.F90
MOM6_SIS2_Alex_be  00000000011985CF  mom_mp_step_mom_t        1667  MOM.F90
MOM6_SIS2_Alex_be  0000000001188532  mom_mp_step_mom_         1002  MOM.F90
MOM6_SIS2_Alex_be  00000000018D9B11  ocean_model_mod_m         610  ocean_model_MOM.F90
MOM6_SIS2_Alex_be  00000000009D349A  full_coupler_mod_        2440  full_coupler_mod.F90
MOM6_SIS2_Alex_be  0000000001438E9D  MAIN__                    665  coupler_main.F90
MOM6_SIS2_Alex_be  000000000041195D  Unknown               Unknown  Unknown
libc.so.6          00007F94D4099E6C  Unknown               Unknown  Unknown
libc.so.6          00007F94D4099F35  __libc_start_main     Unknown  Unknown
MOM6_SIS2_Alex_be  0000000000411861  Unknown               Unknown  Unknown

I think that at line L730 in MOM_io_infra.F90, size(axis%ax_data) has the axis size in the data file, while size(axis_data) has the (smaller) axis size on the current PE only

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions