NCAR / ccpp-scm

CCPP Single Column Model
Other
14 stars 49 forks source link

multi_run_scm.py not catching errors #278

Closed climbfuji closed 2 years ago

climbfuji commented 3 years ago

The multi_run_scm.py script doesn't catch model execution errors. To reproduce: Set up everything correctly, but don't check out the Thompson tables. Then run:

./run_scm.py -c twpice -s SCM_RRFS_v1alpha

Model aborts with:

Called ccpp_physics_init with suite 'SCM_RRFS_v1alpha', ierr=1
An error occurred in ccpp_physics_init: An error occured in mp_thompson_init: module_mp_thompson: error opening CCN_ACTIVATE.BIN on unit 20. Exiting...
Note: The following floating-point exceptions are signalling: IEEE_UNDERFLOW_FLAG
STOP 1
INFO: Execution of ./scm failed!

Then, run:

./multi_run_scm.py -t -vv 2>&1 | tee multi_run_scm.log

Output is:

INFO: elapsed time: 2.8397841789999916 s for case: twpice suite: SCM_RRFS_v1alpha
INFO: Process "./run_scm.py -c arm_sgp_summer_1997_A -s SCM_GFS_v15p2" completed successfully
INFO: Process "./run_scm.py -c arm_sgp_summer_1997_A -s SCM_GFS_v16" completed successfully
INFO: Process "./run_scm.py -c arm_sgp_summer_1997_A -s SCM_csawmg" completed successfully
INFO: Process "./run_scm.py -c arm_sgp_summer_1997_A -s SCM_GSD_v1" completed successfully
INFO: Process "./run_scm.py -c arm_sgp_summer_1997_A -s SCM_RRFS_v1alpha" completed successfully
INFO: Process "./run_scm.py -c astex -s SCM_GFS_v15p2" completed successfully
INFO: Process "./run_scm.py -c astex -s SCM_GFS_v16" completed successfully
INFO: Process "./run_scm.py -c astex -s SCM_csawmg" completed successfully
INFO: Process "./run_scm.py -c astex -s SCM_GSD_v1" completed successfully
INFO: Process "./run_scm.py -c astex -s SCM_RRFS_v1alpha" completed successfully
INFO: Process "./run_scm.py -c bomex -s SCM_GFS_v15p2" completed successfully
INFO: Process "./run_scm.py -c bomex -s SCM_GFS_v16" completed successfully
INFO: Process "./run_scm.py -c bomex -s SCM_csawmg" completed successfully
INFO: Process "./run_scm.py -c bomex -s SCM_GSD_v1" completed successfully
INFO: Process "./run_scm.py -c bomex -s SCM_RRFS_v1alpha" completed successfully
INFO: Process "./run_scm.py -c LASSO_2016051812 -s SCM_GFS_v15p2" completed successfully
INFO: Process "./run_scm.py -c LASSO_2016051812 -s SCM_GFS_v16" completed successfully
INFO: Process "./run_scm.py -c LASSO_2016051812 -s SCM_csawmg" completed successfully
INFO: Process "./run_scm.py -c LASSO_2016051812 -s SCM_GSD_v1" completed successfully
INFO: Process "./run_scm.py -c LASSO_2016051812 -s SCM_RRFS_v1alpha" completed successfully
INFO: Process "./run_scm.py -c twpice -s SCM_GFS_v15p2" completed successfully
INFO: Process "./run_scm.py -c twpice -s SCM_GFS_v16" completed successfully
INFO: Process "./run_scm.py -c twpice -s SCM_csawmg" completed successfully
INFO: Process "./run_scm.py -c twpice -s SCM_GSD_v1" completed successfully
INFO: Process "./run_scm.py -c twpice -s SCM_RRFS_v1alpha" completed successfully
INFO: Done