Namelist input checking (subroutine chk_var) doesn't print error message?
#609
MichaelWhitall
started this conversation in
LFRic
Replies: 1 comment 4 replies
-
|
Ah this is because when you're running an MPI job messages all get output to the PET files (one per rank) in the working directory. These files aren't visible in the CYLC Gui. So when a job fails it is always worth looking at the PET files and/or the xios* files in the working directory. In your case you have this: 20260330112520.358+0000:P1:ERROR: CHK_OPTS_MOD:CHK_INT_ARR called by CHECK_RUN_CLOUD
Problem performing defensive checks (CHECK_RUN_CLOUD)
i_pc2_homog_g_method,(-32768), has failed defensive checks, [1,2,4].in: |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks,
In the branch for one of my issues:
MetOffice/lfric_apps#247
vn3.1_pc2_homog_reversible
I just tried running a couple of rose-stem apps without running the branch upgrade macro on the rose-stem apps first. This should have triggered a failure as the multi-option switch
i_pc2_homog_g_methodadded to the namelist had not actually been added to the rose-stemrose-app.conffiles, so the value of this setting would not match one of the expected allowed values.As expected, my test did fail when loading settings from the namelist. However, it did not print any error-message to explain why it failed! The old UM subroutine
chk_varis still used in LFRic to check that namelist inputs match their allowed values or ranges. The traceback for the failing azspice gnu job I ran (run_lfric_atm_nwp_coma9-C12_azspice_gnu_fast-debug-32bit-crun0) did at least point tochk_var(and the contained call toereport), but the error message did not print. The failing ex1a cce job didn't even give a relevant traceback (run_lfric_atm_nwp_coma9-C12_ex1a_cce_fast-debug-32bit-crun0).Any ideas why the namelist checking is not printing useful error messages? Or alternatively, can psyclone autogenerate working namelist checking code directly from the meta-data, removing the need for the old
chk_varcalls that seem to be broken?Cheers!
Mike
Beta Was this translation helpful? Give feedback.
All reactions