forked from NCAR/ufs-weather-model
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace rrfs_v1beta_failing with tests of two different error conditi…
…ons so ecflow can test it: 1. rrfs_v1beta_fail_to_copy = fails in run_test.sh before job_card 2. rrfs_v1beta_fail_to_run = fails in the job_card
- Loading branch information
1 parent
69619cf
commit f8b4b3a
Showing
17 changed files
with
193 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
|
||
# FIXME: THIS FILE SHOULD NOT BE MERGED TO DEVELOP | ||
|
||
|
||
# This should succeed | ||
COMPILE | rrfs | intel | -DAPP=ATM -DCCPP_SUITES=FV3_RAP,FV3_RAP_sfcdiff,FV3_HRRR,FV3_RRFS_v1beta,FV3_RRFS_v1nssl -D32BIT=ON | | fv3 | | ||
|
||
# This should succeed | ||
RUN | rrfs_v1nssl_nohailnoccn | | baseline | | ||
|
||
# These variants of rrfs_v1beta should always fail, and prevent the workflow from completing. | ||
RUN | rrfs_v1beta_fail_to_copy | | baseline | | ||
RUN | rrfs_v1beta_fail_to_run | | baseline | | ||
|
||
# Removing -DFASTER=ON here ensures results change, but the test runs. The workflow jobs should complete | ||
# for all three of these tests, but the results should change. | ||
COMPILE | atm_faster_dyn32 | intel | -DAPP=ATM -DCCPP_SUITES=FV3_GFS_v17_p8,FV3_GFS_v15_thompson_mynn_lam3km -D32BIT=ON | | fv3 | | ||
RUN | regional_control_faster | | baseline | | ||
|
||
# The --invalid-argument ensures the compile job will fail. The workflow should not submit the tests jobs for this compile job. | ||
COMPILE | hafsw | intel | -DAPP=HAFSW --invalid-argument -DMOVING_NEST=ON -DCCPP_SUITES=FV3_HAFS_v1_gfdlmp_tedmf,FV3_HAFS_v1_gfdlmp_tedmf_nonsst,FV3_HAFS_v1_thompson_tedmf_gfdlsf,FV3_global_nest_v1 -D32BIT=ON | | fv3 | | ||
RUN | hafs_regional_atm | | baseline | | ||
RUN | hafs_regional_atm_thompson_gfdlsf | | baseline | | ||
RUN | hafs_regional_atm_ocn | | baseline | | ||
RUN | hafs_regional_atm_wav | | baseline | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
|
||
|
||
# FIXME: THIS FILE SHOULD NOT BE MERGED TO DEVELOP | ||
|
||
|
||
############################################################################### | ||
# | ||
# RRFS v1beta variant that always fails at runtime | ||
# | ||
############################################################################### | ||
|
||
export TEST_DESCR="Variant of RRFS_v1beta that always fails at runtime" | ||
|
||
export CNTL_DIR=rrfs_v1beta_fail_to_copy | ||
|
||
export LIST_FILES="sfcf000.nc \ | ||
sfcf009.nc \ | ||
sfcf012.nc \ | ||
atmf000.nc \ | ||
atmf009.nc \ | ||
atmf012.nc \ | ||
GFSFLX.GrbF00 \ | ||
GFSFLX.GrbF09 \ | ||
GFSFLX.GrbF12 \ | ||
GFSPRS.GrbF00 \ | ||
GFSPRS.GrbF09 \ | ||
GFSPRS.GrbF12 \ | ||
RESTART/20210323.060000.coupler.res \ | ||
RESTART/20210323.060000.fv_core.res.nc \ | ||
RESTART/20210323.060000.fv_core.res.tile1.nc \ | ||
RESTART/20210323.060000.fv_core.res.tile2.nc \ | ||
RESTART/20210323.060000.fv_core.res.tile3.nc \ | ||
RESTART/20210323.060000.fv_core.res.tile4.nc \ | ||
RESTART/20210323.060000.fv_core.res.tile5.nc \ | ||
RESTART/20210323.060000.fv_core.res.tile6.nc \ | ||
RESTART/20210323.060000.fv_srf_wnd.res.tile1.nc \ | ||
RESTART/20210323.060000.fv_srf_wnd.res.tile2.nc \ | ||
RESTART/20210323.060000.fv_srf_wnd.res.tile3.nc \ | ||
RESTART/20210323.060000.fv_srf_wnd.res.tile4.nc \ | ||
RESTART/20210323.060000.fv_srf_wnd.res.tile5.nc \ | ||
RESTART/20210323.060000.fv_srf_wnd.res.tile6.nc \ | ||
RESTART/20210323.060000.fv_tracer.res.tile1.nc \ | ||
RESTART/20210323.060000.fv_tracer.res.tile2.nc \ | ||
RESTART/20210323.060000.fv_tracer.res.tile3.nc \ | ||
RESTART/20210323.060000.fv_tracer.res.tile4.nc \ | ||
RESTART/20210323.060000.fv_tracer.res.tile5.nc \ | ||
RESTART/20210323.060000.fv_tracer.res.tile6.nc \ | ||
RESTART/20210323.060000.phy_data.tile1.nc \ | ||
RESTART/20210323.060000.phy_data.tile2.nc \ | ||
RESTART/20210323.060000.phy_data.tile3.nc \ | ||
RESTART/20210323.060000.phy_data.tile4.nc \ | ||
RESTART/20210323.060000.phy_data.tile5.nc \ | ||
RESTART/20210323.060000.phy_data.tile6.nc \ | ||
RESTART/20210323.060000.sfc_data.tile1.nc \ | ||
RESTART/20210323.060000.sfc_data.tile2.nc \ | ||
RESTART/20210323.060000.sfc_data.tile3.nc \ | ||
RESTART/20210323.060000.sfc_data.tile4.nc \ | ||
RESTART/20210323.060000.sfc_data.tile5.nc \ | ||
RESTART/20210323.060000.sfc_data.tile6.nc" | ||
|
||
export_rrfs_v1 | ||
export RESTART_INTERVAL="6 -1" | ||
export OUTPUT_FH='0 09 12' | ||
|
||
# A special flag that tells the job to fail at runtime. | ||
export JOB_SHOULD_FAIL=WHEN_COPYING | ||
|
||
if [[ " hera orion hercules jet " =~ " ${MACHINE_ID} " ]] ; then | ||
ZSTANDARD_LEVEL=5 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters