{"action":"created","issue":{"url":"https://api.github.com/repos/NOAA-GFDL/MOM6/issues/734","repository_url":"https://api.github.com/repos/NOAA-GFDL/MOM6","labels_url":"https://api.github.com/repos/NOAA-GFDL/MOM6/issues/734/labels{/name}","comments_url":"https://api.github.com/repos/NOAA-GFDL/MOM6/issues/734/comments","events_url":"https://api.github.com/repos/NOAA-GFDL/MOM6/issues/734/events","html_url":"https://github.com/NOAA-GFDL/MOM6/issues/734","id":304940597,"number":734,"title":"OM_05 crashes when using some mask_tables","user":{"login":"nikizadehgfdl","id":6394244,"avatar_url":"https://avatars1.githubusercontent.com/u/6394244?v=4","gravatar_id":"","url":"https://api.github.com/users/nikizadehgfdl","html_url":"https://github.com/nikizadehgfdl","followers_url":"https://api.github.com/users/nikizadehgfdl/followers","following_url":"https://api.github.com/users/nikizadehgfdl/following{/other_user}","gists_url":"https://api.github.com/users/nikizadehgfdl/gists{/gist_id}","starred_url":"https://api.github.com/users/nikizadehgfdl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikizadehgfdl/subscriptions","organizations_url":"https://api.github.com/users/nikizadehgfdl/orgs","repos_url":"https://api.github.com/users/nikizadehgfdl/repos","events_url":"https://api.github.com/users/nikizadehgfdl/events{/privacy}","received_events_url":"https://api.github.com/users/nikizadehgfdl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-03-13T21:23:02Z","updated_at":"2018-03-14T15:34:17Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The global area mean diagnostics produce NaNs and cause the model to crash:\r\n\r\n```\r\nFATAL from PE   754: NaN in input field of reproducing_sum(_2d).\r\n\r\nImage              PC                Routine            Line        Source\r\nfms_MOM6_SIS2_com  000000000151E5D1  mpp_mod_mp_mpp_er          50  mpp_util_mpi.inc\r\nfms_MOM6_SIS2_com  00000000006FCFF5  mom_coms_mp_repro         157  MOM_coms.F90\r\nfms_MOM6_SIS2_com  00000000007A51E1  mom_spatial_means          39  MOM_spatial_means.F90\r\nfms_MOM6_SIS2_com  0000000000C95F50  mom_diagnostics_m        1200  MOM_diagnostics.F90\r\nfms_MOM6_SIS2_com  00000000007CD441  mom_mp_step_mom_          774  MOM.F90\r\nfms_MOM6_SIS2_com  0000000000729F84  ocean_model_mod_m         581  ocean_model_MOM.F90\r\n```\r\n\r\nWhere line 39 of  referred to above is:\r\n```\r\n  global_area_mean = reproducing_sum( tmpForSumming ) * G%IareaT_global\r\n```\r\n\r\nThis happens for all diagnostics that use the global_area_mean or global_area_integral subroutine:\r\n```\r\nssh_ga, tosga, sosga, zos, zossq, volo\r\n```\r\n\r\nAfter I comment all these out of the diag_table the model crashes with a non-diagnostic instance of calling reproducing_sum:\r\n\r\n```\r\nFATAL from PE   754: NaN in input field of reproducing_sum(_2d).\r\n\r\nfms_MOM6_SIS2_com  000000000151E5F1  mpp_mod_mp_mpp_er          50  mpp_util_mpi.inc\r\nfms_MOM6_SIS2_com  00000000006FCFF5  mom_coms_mp_repro         157  MOM_coms.F90\r\nfms_MOM6_SIS2_com  0000000000858727  mom_surface_forci         578  MOM_surface_forcing.F90\r\nfms_MOM6_SIS2_com  00000000007295D7  ocean_model_mod_m         547  ocean_model_MOM.F90\r\nfms_MOM6_SIS2_com  000000000040B972  MAIN__                   1020  coupler_main.F90\r\n```\r\nwhere line 578 of MOM_surface_forcing.F90 is:\r\n\r\n```\r\n      fluxes%netFWGlobalAdj = reproducing_sum(net_FW(:,:), isr, ier, jsr, jer) / CS%area_surf\r\n```\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/NOAA-GFDL/MOM6/issues/comments/373065015","html_url":"https://github.com/NOAA-GFDL/MOM6/issues/734#issuecomment-373065015","issue_url":"https://api.github.com/repos/NOAA-GFDL/MOM6/issues/734","id":373065015,"user":{"login":"nikizadehgfdl","id":6394244,"avatar_url":"https://avatars1.githubusercontent.com/u/6394244?v=4","gravatar_id":"","url":"https://api.github.com/users/nikizadehgfdl","html_url":"https://github.com/nikizadehgfdl","followers_url":"https://api.github.com/users/nikizadehgfdl/followers","following_url":"https://api.github.com/users/nikizadehgfdl/following{/other_user}","gists_url":"https://api.github.com/users/nikizadehgfdl/gists{/gist_id}","starred_url":"https://api.github.com/users/nikizadehgfdl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikizadehgfdl/subscriptions","organizations_url":"https://api.github.com/users/nikizadehgfdl/orgs","repos_url":"https://api.github.com/users/nikizadehgfdl/repos","events_url":"https://api.github.com/users/nikizadehgfdl/events{/privacy}","received_events_url":"https://api.github.com/users/nikizadehgfdl/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T15:34:17Z","updated_at":"2018-03-14T15:34:17Z","author_association":"CONTRIBUTOR","body":"Zhi, yes, when the model runs with a mask_table it reproduces the answers without a mask_table (except for some spurious values on the land)."}}
{"actor":{"display_login":"nikizadehgfdl"}}