Skip to content

Commit

Permalink
Changes to regression test files for recent changes to RRTMG and RRTM…
Browse files Browse the repository at this point in the history
…GP. (#262)

* Changes to regression test files for recent changes to RRTMG and RRTMGP.
* Removed redundant importing of kind_phys in physics
* add units to index_for_diagnostic_printout metadata
* Replace iovr_{lw,sw} with iovr for HWRF regression tests
* Bugfix in GP sampling routines.
* Increase number of nodes for test fv3_ccpp_gocart_clm on Cheyenne

Co-authored-by: Dom Heinzeller <climbfuji@ymail.com>
  • Loading branch information
dustinswales and climbfuji committed Nov 13, 2020
1 parent 4e8ef6a commit 2e25df5
Show file tree
Hide file tree
Showing 29 changed files with 2,318 additions and 968 deletions.
2 changes: 1 addition & 1 deletion FV3
390 changes: 331 additions & 59 deletions tests/RegressionTests_cheyenne.gnu.log

Large diffs are not rendered by default.

526 changes: 399 additions & 127 deletions tests/RegressionTests_cheyenne.intel.log

Large diffs are not rendered by default.

390 changes: 331 additions & 59 deletions tests/RegressionTests_hera.gnu.log

Large diffs are not rendered by default.

722 changes: 497 additions & 225 deletions tests/RegressionTests_hera.intel.log

Large diffs are not rendered by default.

702 changes: 487 additions & 215 deletions tests/RegressionTests_orion.intel.log

Large diffs are not rendered by default.

198 changes: 99 additions & 99 deletions tests/RegressionTests_wcoss_cray.log

Large diffs are not rendered by default.

266 changes: 133 additions & 133 deletions tests/RegressionTests_wcoss_dell_p3.log

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions tests/default_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,7 @@ export NA_INIT=1
# Radiation
export DO_RRTMGP=.F.
export ICLOUD=0
export IOVR_LW=1
export IOVR_SW=1
export IOVR=1

# Microphysics
export IMP_PHYSICS=11
Expand Down
2 changes: 1 addition & 1 deletion tests/fv3_conf/ccpp_c96_HAFS_v0_hwrf_run.IN
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ cp @[RTPWD]/FV3_input_data_hafs/VEGPARM.TBL .
if [ $IMP_PHYSICS = 8 ]; then
cp @[RTPWD]/FV3_input_data_gsd/diag_table_gsd_noah diag_table
elif [ $IMP_PHYSICS = 15 ]; then
if [ $IOVR_LW = 4 ] && [ $IOVR_SW = 4 ]; then
if [ $IOVR = 4 ]; then
cp @[RTPWD]/FV3_input_data_hafs/diag_table_FA_HWRF diag_table
else
cp @[RTPWD]/FV3_input_data_hafs/diag_table_FA diag_table
Expand Down
2 changes: 1 addition & 1 deletion tests/fv3_conf/ccpp_esg_HAFS_v0_hwrf_run.IN
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fi
if [ $IMP_PHYSICS = 8 ]; then
ln -sf diag_table.thompson diag_table
elif [ $IMP_PHYSICS = 15 ]; then
if [ $IOVR_LW = 4 ] && [ $IOVR_SW = 4 ]; then
if [ $IOVR = 4 ]; then
cp @[RTPWD]/FV3_input_data_hafs/diag_table_FA_HWRF diag_table
else
cp @[RTPWD]/FV3_input_data_hafs/diag_table_FA diag_table
Expand Down
3 changes: 1 addition & 2 deletions tests/parm/ccpp_c96_HAFS_v0_hwrf.nml.IN
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,7 @@
ltaerosol = @[LTAEROSOL] ! HWRF Thompson
effr_in = @[EFFR_IN] ! HWRF Thompson
icloud = 3 ! HWRF RRTMG
iovr_lw = 4 ! HWRF RRTMG
iovr_sw = 4 ! HWRF RRTMG
iovr = 4 ! HWRF RRTMG
hwrf_samfdeep = .true. ! HWRF SASdeep
hwrf_samfshal = .true. ! HWRF SASshal
asolfac_deep = 0.89 ! HWRF SASdeep; GFS SAS:0.958
Expand Down
3 changes: 1 addition & 2 deletions tests/parm/ccpp_esg_HAFS_v0_hwrf.nml.IN
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@
ltaerosol = @[LTAEROSOL] ! HWRF Thompson
effr_in = @[EFFR_IN] ! HWRF Thompson
icloud = 3 ! HWRF RRTMG
iovr_lw = 4 ! HWRF RRTMG
iovr_sw = 4 ! HWRF RRTMG
iovr = 4 ! HWRF RRTMG
hwrf_samfdeep = .true. ! HWRF SASdeep
hwrf_samfshal = .true. ! HWRF SASshal
asolfac_deep = 0.89 ! HWRF SASdeep; GFS SAS:0.958
Expand Down
3 changes: 1 addition & 2 deletions tests/parm/ccpp_v16beta_c96.nml.IN
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,7 @@ deflate_level=1
iems = 1
iaer = 5111
icliq_sw = 2
iovr_lw = 3
iovr_sw = 3
iovr = 3
ico2 = 2
isubc_sw = 2
isubc_lw = 2
Expand Down
3 changes: 1 addition & 2 deletions tests/parm/ccpp_v16beta_c96_rrtmgp.nml.IN
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,7 @@ deflate_level=1
iems = 1
iaer = 5111
icliq_sw = 2
iovr_lw = 3
iovr_sw = 3
iovr = 3
ico2 = 2
isubc_sw = 2
isubc_lw = 2
Expand Down
3 changes: 1 addition & 2 deletions tests/parm/ccpp_v16beta_flake_c96.nml.IN
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,7 @@ deflate_level=1
iems = 1
iaer = 5111
icliq_sw = 2
iovr_lw = 3
iovr_sw = 3
iovr = 3
ico2 = 2
isubc_sw = 2
isubc_lw = 2
Expand Down
3 changes: 1 addition & 2 deletions tests/parm/input.benchmark.nml.IN
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,7 @@
iems = 1
iaer = 111
icliq_sw = 1
iovr_lw = 1
iovr_sw = 1
iovr = 1
ico2 = 2
isubc_sw = 2
isubc_lw = 2
Expand Down
3 changes: 1 addition & 2 deletions tests/parm/input.benchmark_ccpp.nml.IN
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,7 @@
iems = 1
iaer = 111
icliq_sw = 1
iovr_lw = 1
iovr_sw = 1
iovr = 1
ico2 = 2
isubc_sw = 2
isubc_lw = 2
Expand Down
3 changes: 1 addition & 2 deletions tests/parm/v16beta_c96.nml.IN
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,7 @@ deflate_level=1
iems = 1
iaer = 5111
icliq_sw = 2
iovr_lw = 3
iovr_sw = 3
iovr = 3
ico2 = 2
isubc_sw = 2
isubc_lw = 2
Expand Down
24 changes: 12 additions & 12 deletions tests/rt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,12 @@ RUN | fv3_ccpp_gfs_v15p2
RUN | fv3_ccpp_gfs_v16beta | standard | hera.intel | fv3 |
RUN | fv3_ccpp_gfs_v16beta | standard | orion.intel | fv3 |
RUN | fv3_ccpp_gfs_v16beta | standard | cheyenne.intel | fv3 |
#RUN | fv3_ccpp_gfs_v15p2_RRTMGP | standard | hera.intel | fv3 |
#RUN | fv3_ccpp_gfs_v15p2_RRTMGP | standard | orion.intel | fv3 |
#RUN | fv3_ccpp_gfs_v15p2_RRTMGP | standard | cheyenne.intel | fv3 |
#RUN | fv3_ccpp_gfs_v16beta_RRTMGP | standard | hera.intel | fv3 |
#RUN | fv3_ccpp_gfs_v16beta_RRTMGP | standard | orion.intel | fv3 |
#RUN | fv3_ccpp_gfs_v16beta_RRTMGP | standard | cheyenne.intel | fv3 |
RUN | fv3_ccpp_gfs_v15p2_RRTMGP | standard | hera.intel | fv3 |
RUN | fv3_ccpp_gfs_v15p2_RRTMGP | standard | orion.intel | fv3 |
RUN | fv3_ccpp_gfs_v15p2_RRTMGP | standard | cheyenne.intel | fv3 |
RUN | fv3_ccpp_gfs_v16beta_RRTMGP | standard | hera.intel | fv3 |
RUN | fv3_ccpp_gfs_v16beta_RRTMGP | standard | orion.intel | fv3 |
RUN | fv3_ccpp_gfs_v16beta_RRTMGP | standard | cheyenne.intel | fv3 |

COMPILE | CCPP=Y SUITES=FV3_GFS_v16_csawmg | standard | | fv3 |
# fv3_ccpp_gfsv16_csawmg and fv3_ccpp_gfsv16_csawmgt crash with a "bus error" on cheyenne.intel, turn off
Expand Down Expand Up @@ -155,12 +155,12 @@ RUN | fv3_ccpp_gfs_v15p2_debug
RUN | fv3_ccpp_gfs_v16beta_debug | standard | hera.intel | fv3 |
RUN | fv3_ccpp_gfs_v16beta_debug | standard | orion.intel | fv3 |
RUN | fv3_ccpp_gfs_v16beta_debug | standard | cheyenne.intel | fv3 |
#RUN | fv3_ccpp_gfs_v15p2_RRTMGP_debug | standard | hera.intel | fv3 |
#RUN | fv3_ccpp_gfs_v15p2_RRTMGP_debug | standard | orion.intel | fv3 |
#RUN | fv3_ccpp_gfs_v15p2_RRTMGP_debug | standard | cheyenne.intel | fv3 |
#RUN | fv3_ccpp_gfs_v16beta_RRTMGP_debug | standard | hera.intel | fv3 |
#RUN | fv3_ccpp_gfs_v16beta_RRTMGP_debug | standard | orion.intel | fv3 |
#RUN | fv3_ccpp_gfs_v16beta_RRTMGP_debug | standard | cheyenne.intel | fv3 |
RUN | fv3_ccpp_gfs_v15p2_RRTMGP_debug | standard | hera.intel | fv3 |
RUN | fv3_ccpp_gfs_v15p2_RRTMGP_debug | standard | orion.intel | fv3 |
RUN | fv3_ccpp_gfs_v15p2_RRTMGP_debug | standard | cheyenne.intel | fv3 |
RUN | fv3_ccpp_gfs_v16beta_RRTMGP_debug | standard | hera.intel | fv3 |
RUN | fv3_ccpp_gfs_v16beta_RRTMGP_debug | standard | orion.intel | fv3 |
RUN | fv3_ccpp_gfs_v16beta_RRTMGP_debug | standard | cheyenne.intel | fv3 |

COMPILE | CCPP=Y SUITES=FV3_GSD_v0,FV3_GFS_v15_thompson,FV3_RRFS_v1beta 32BIT=Y DEBUG=Y | standard | | fv3 |
RUN | fv3_ccpp_gsd_debug | standard | | fv3 |
Expand Down
4 changes: 2 additions & 2 deletions tests/rt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -400,9 +400,9 @@ if [[ $SINGLE_NAME != '' ]]; then
fi

if [[ $MACHINE_ID = hera.* ]] || [[ $MACHINE_ID = orion.* ]] || [[ $MACHINE_ID = cheyenne.* ]] || [[ $MACHINE_ID = jet.* ]]; then
RTPWD=${RTPWD:-$DISKNM/NEMSfv3gfs/develop-20201106/${RT_COMPILER^^}}
RTPWD=${RTPWD:-$DISKNM/NEMSfv3gfs/develop-20201110/${RT_COMPILER^^}}
else
RTPWD=${RTPWD:-$DISKNM/NEMSfv3gfs/develop-20201106}
RTPWD=${RTPWD:-$DISKNM/NEMSfv3gfs/develop-20201110}
fi

shift $((OPTIND-1))
Expand Down
8 changes: 4 additions & 4 deletions tests/rt_gnu.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ COMPILE | CCPP=Y SUITES=FV3_GFS_v15p2,FV3_GFS_v16beta,FV3_GFS_v16beta_flake,FV3_
RUN | fv3_ccpp_gfs_v15p2 | standard | | fv3 |
RUN | fv3_ccpp_gfs_v16beta | standard | | fv3 |
RUN | fv3_ccpp_gfs_v16beta_flake | standard | | fv3 |
#RUN | fv3_ccpp_gfs_v15p2_RRTMGP | standard | | fv3 |
#RUN | fv3_ccpp_gfs_v16beta_RRTMGP | standard | | fv3 |
RUN | fv3_ccpp_gfs_v15p2_RRTMGP | standard | | fv3 |
RUN | fv3_ccpp_gfs_v16beta_RRTMGP | standard | | fv3 |

COMPILE | CCPP=Y SUITES=FV3_GSD_v0,FV3_GFS_v15_thompson,FV3_RRFS_v1beta 32BIT=Y | standard | | fv3 |

Expand All @@ -36,8 +36,8 @@ RUN | fv3_ccpp_control_debug
COMPILE | CCPP=Y SUITES=FV3_GFS_v15p2,FV3_GFS_v16beta,FV3_GFS_v15p2_RRTMGP,FV3_GFS_v16beta_RRTMGP DEBUG=Y | standard | | fv3 |
RUN | fv3_ccpp_gfs_v15p2_debug | standard | | fv3 |
RUN | fv3_ccpp_gfs_v16beta_debug | standard | | fv3 |
#RUN | fv3_ccpp_gfs_v15p2_RRTMGP_debug | standard | | fv3 |
#RUN | fv3_ccpp_gfs_v16beta_RRTMGP_debug | standard | | fv3 |
RUN | fv3_ccpp_gfs_v15p2_RRTMGP_debug | standard | | fv3 |
RUN | fv3_ccpp_gfs_v16beta_RRTMGP_debug | standard | | fv3 |

COMPILE | CCPP=Y SUITES=FV3_GFS_2017_fv3wam 32BIT=Y MULTI_GASES=Y | standard | | fv3 |
RUN | fv3_ccpp_multigases | standard | | fv3 |
Expand Down
3 changes: 1 addition & 2 deletions tests/tests/fv3_ccpp_HAFS_v0_hwrf
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ export MONINQFAC=-1.0

#HWRF options for RRTMG
export ICLOUD=3
export IOVR_LW=4
export IOVR_SW=4
export IOVR=4

#HWRF NOAH LSM
export LSM=4
Expand Down
3 changes: 1 addition & 2 deletions tests/tests/fv3_ccpp_HAFS_v0_hwrf_debug
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,7 @@ export MONINQFAC=-1.0

#HWRF options for RRTMG
export ICLOUD=3
export IOVR_LW=4
export IOVR_SW=4
export IOVR=4

#HWRF NOAH LSM
export LSM=4
Expand Down
3 changes: 1 addition & 2 deletions tests/tests/fv3_ccpp_HAFS_v0_hwrf_thompson
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ export MONINQFAC=-1.0

#HWRF options for RRTMG
export ICLOUD=3
export IOVR_LW=4
export IOVR_SW=4
export IOVR=4

#HWRF NOAH LSM
export LSM=4
Expand Down
3 changes: 1 addition & 2 deletions tests/tests/fv3_ccpp_HAFS_v0_hwrf_thompson_debug
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ export MONINQFAC=-1.0

#HWRF options for RRTMG
export ICLOUD=3
export IOVR_LW=4
export IOVR_SW=4
export IOVR=4

#HWRF NOAH LSM
export LSM=4
Expand Down
3 changes: 1 addition & 2 deletions tests/tests/fv3_ccpp_esg_HAFS_v0_hwrf_thompson
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ export MONINQFAC=-1.0

#HWRF options for RRTMG
export ICLOUD=3
export IOVR_LW=4
export IOVR_SW=4
export IOVR=4

#HWRF NOAH LSM
export LSM=4
Expand Down
3 changes: 1 addition & 2 deletions tests/tests/fv3_ccpp_esg_HAFS_v0_hwrf_thompson_debug
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ export MONINQFAC=-1.0

#HWRF options for RRTMG
export ICLOUD=3
export IOVR_LW=4
export IOVR_SW=4
export IOVR=4

#HWRF NOAH LSM
export LSM=4
Expand Down
5 changes: 5 additions & 0 deletions tests/tests/fv3_ccpp_gocart_clm
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,8 @@ export CCPP_SUITE=FV3_GFS_2017_gfdlmp
export CCPP_LIB_DIR=ccpp/lib
export INPUT_NML=ccpp.gocart.nml.IN

# Increase the number of nodes on Cheyenne to avoid out of memory errors
if [[ $MACHINE_ID = cheyenne.* ]]; then
# Use 30 instead of 36 tasks per node
export TPN=30
fi

0 comments on commit 2e25df5

Please sign in to comment.