Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add long forecast SFS Regression Test #2478

Draft
wants to merge 7 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions CICE-interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ else()
endif()

# Configuration Options
set(CICE_IO "PIO" CACHE STRING "CICE OPTIONS: Choose IO options.")
set_property(CACHE CICE_IO PROPERTY STRINGS "NetCDF" "PIO" "Binary")
if(NOT CICE_IO)
set(CICE_IO "PIO" CACHE STRING "CICE OPTIONS: Choose IO options.")
set_property(CACHE CICE_IO PROPERTY STRINGS "NetCDF" "PIO" "Binary")
endif()

# Too many files to list, so include them via this file
include("cice_files.cmake")
Expand Down
2 changes: 2 additions & 0 deletions tests/default_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1121,6 +1121,8 @@ export_mom6() {
# MOM6 diag
export MOM6_DIAG_COORD_DEF_Z_FILE=interpolate_zgrid_40L.nc
export MOM6_DIAG_MISVAL='-1e34'
export MOM6_OUTPUT_FREQ=6
export MOM6_OUTPUT_UNITS=days
# MOM6 IAU
export ODA_INCUPD=False
export ODA_INCUPD_NHOURS=6
Expand Down
2 changes: 1 addition & 1 deletion tests/parm/diag_table/diag_table_cpld_sfs.IN
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"fv3_history", 0, "hours", 1, "hours", "time"
"fv3_history2d", 0, "hours", 1, "hours", "time"
######################
"@[MOM6_OUTPUT_DIR]/ocn%4yr%2mo%2dy%2hr", 6, "hours", 1, "hours", "time", 6, "hours", "@[SYEAR] @[SMONTH] @[SDAY] @[CHOUR] 0 0"
"@[MOM6_OUTPUT_DIR]/ocn%4yr%2mo%2dy%2hr", @[MOM6_OUTPUT_FREQ], "@[MOM6_OUTPUT_UNITS]", 1, "hours", "time", @[MOM6_OUTPUT_FREQ], "@[MOM6_OUTPUT_UNITS]", "@[SYEAR] @[SMONTH] @[SDAY] @[CHOUR] 0 0"
"@[MOM6_OUTPUT_DIR]/SST%4yr%2mo%2dy", 1, "days", 1, "days", "time", 1, "days", "@[SYEAR] @[SMONTH] @[SDAY] @[CHOUR] 0 0"
##############################################
# static fields
Expand Down
39 changes: 23 additions & 16 deletions tests/rt_weekly.conf
Original file line number Diff line number Diff line change
@@ -1,25 +1,32 @@
### Weekly tests ###

COMPILE | 1 | intel | -DAPP=ATM -DCCPP_SUITES=FV3_GFS_v16 -D32BIT=ON | + hera | fv3 |
RUN | control_c768 | + hera | baseline |
#SFS Long Forecast
COMPILE | s2sw_32bit_sfs | intel | -DAPP=S2SW -DHYDRO=ON -DCCPP_SUITES=FV3_GFS_v17_coupled_p8_ugwpv1 -D32BIT=ON -DCICE_IO=NetCDF | + hera | fv3 |
RUN | cpld_control_sfs_180d | + hera | baseline |



#### Old weekly tests; currently non-active
#COMPILE | 1 | intel | -DAPP=ATM -DCCPP_SUITES=FV3_GFS_v16 -D32BIT=ON | + hera | fv3 |
#RUN | control_c768 | + hera | baseline |

# CPLD Benchmark 35d tests
# The length of forecast is 5 days for the weekly tests.
COMPILE | 2 | intel | -DAPP=S2SWA -DCCPP_SUITES=FV3_GFS_v17_coupled_p8 | + hera | fv3 |
RUN | cpld_bmark_p8_35d | + hera | baseline | | 2012010100
RUN | cpld_bmark_p8_35d | + hera | baseline | | 2012040100
RUN | cpld_bmark_p8_35d | + hera | baseline | | 2012070100
RUN | cpld_bmark_p8_35d | + hera | baseline | | 2012100100
RUN | cpld_bmark_p8_35d | + hera | baseline | | 2013010100
RUN | cpld_bmark_p8_35d | + hera | baseline | | 2013040100
RUN | cpld_bmark_p8_35d | + hera | baseline | | 2013070100
RUN | cpld_bmark_p8_35d | + hera | baseline | | 2013100100
#COMPILE | 2 | intel | -DPDLIB=ON -DAPP=S2SWA -DCCPP_SUITES=FV3_GFS_v17_coupled_p8 | + hera | fv3 |
#RUN | cpld_bmark_p8_35d | + hera | baseline | | 2012010100
#RUN | cpld_bmark_p8_35d | + hera | baseline | | 2012040100
#RUN | cpld_bmark_p8_35d | + hera | baseline | | 2012070100
#RUN | cpld_bmark_p8_35d | + hera | baseline | | 2012100100
#RUN | cpld_bmark_p8_35d | + hera | baseline | | 2013010100
#RUN | cpld_bmark_p8_35d | + hera | baseline | | 2013040100
#RUN | cpld_bmark_p8_35d | + hera | baseline | | 2013070100
#RUN | cpld_bmark_p8_35d | + hera | baseline | | 2013100100

# The coupled p8 tests
COMPILE | 3 | intel | -DAPP=S2SWA -DCCPP_SUITES=FV3_GFS_v17_coupled_p8 | + jet | fv3 |
RUN | cpld_bmark_p8 | + jet | baseline |
RUN | cpld_control_c192_p8 | + jet | baseline |
#COMPILE | 3 | intel | -DAPP=S2SWA -DCCPP_SUITES=FV3_GFS_v17_coupled_p8 | + jet | fv3 |
#RUN | cpld_bmark_p8 | + jet | baseline |
#RUN | cpld_control_c192_p8 | + jet | baseline |

# RRFS North American domain
COMPILE | 4 | intel | -DAPP=ATM -DCCPP_SUITES=FV3_HRRR -D32BIT=ON | + hera | fv3 |
RUN | regional_rrfs_a | + hera | baseline |
#COMPILE | 4 | intel | -DAPP=ATM -DCCPP_SUITES=FV3_HRRR -D32BIT=ON | + hera | fv3 |
#RUN | regional_rrfs_a | + hera | baseline |
108 changes: 0 additions & 108 deletions tests/test_changes.list
Original file line number Diff line number Diff line change
@@ -1,108 +0,0 @@
control_p8_mynn intel
regional_control intel
regional_restart intel
regional_decomp intel
regional_2threads intel
regional_noquilt intel
regional_netcdf_parallel intel
regional_2dwrtdecomp intel
regional_wofs intel
rap_control intel
regional_spp_sppt_shum_skeb intel
rap_decomp intel
rap_2threads intel
rap_restart intel
rap_sfcdiff intel
rap_sfcdiff_decomp intel
rap_sfcdiff_restart intel
hrrr_control intel
hrrr_control_decomp intel
hrrr_control_2threads intel
hrrr_control_restart intel
rrfs_v1beta intel
rrfs_v1nssl intel
rrfs_v1nssl_nohailnoccn intel
regional_control_faster intel
regional_debug intel
rap_control_debug intel
hrrr_control_debug intel
hrrr_gf_debug intel
hrrr_c3_debug intel
rap_unified_drag_suite_debug intel
rap_diag_debug intel
rap_cires_ugwp_debug intel
rap_unified_ugwp_debug intel
rap_lndp_debug intel
rap_progcld_thompson_debug intel
rap_noah_debug intel
rap_sfcdiff_debug intel
rap_noah_sfcdiff_cires_ugwp_debug intel
rrfs_v1beta_debug intel
rap_clm_lake_debug intel
rap_flake_debug intel
gnv1_c96_no_nest_debug intel
regional_spp_sppt_shum_skeb_dyn32_phy32 intel
rap_control_dyn32_phy32 intel
hrrr_control_dyn32_phy32 intel
rap_2threads_dyn32_phy32 intel
hrrr_control_2threads_dyn32_phy32 intel
hrrr_control_decomp_dyn32_phy32 intel
rap_restart_dyn32_phy32 intel
hrrr_control_restart_dyn32_phy32 intel
conus13km_control intel
conus13km_2threads intel
conus13km_restart_mismatch intel
rap_control_dyn64_phy32 intel
rap_control_debug_dyn32_phy32 intel
hrrr_control_debug_dyn32_phy32 intel
conus13km_debug intel
conus13km_debug_qr intel
conus13km_debug_2threads intel
conus13km_radar_tten_debug intel
rap_control_dyn64_phy32_debug intel
gnv1_nested intel
rap_control gnu
rap_decomp gnu
rap_2threads gnu
rap_restart gnu
rap_sfcdiff gnu
rap_sfcdiff_decomp gnu
rap_sfcdiff_restart gnu
hrrr_control gnu
hrrr_control_noqr gnu
hrrr_control_2threads gnu
hrrr_control_decomp gnu
hrrr_control_restart gnu
hrrr_control_restart_noqr gnu
rrfs_v1beta gnu
regional_debug gnu
rap_control_debug gnu
hrrr_control_debug gnu
hrrr_gf_debug gnu
hrrr_c3_debug gnu
rap_diag_debug gnu
rap_noah_sfcdiff_cires_ugwp_debug gnu
rap_progcld_thompson_debug gnu
rrfs_v1beta_debug gnu
rap_flake_debug gnu
rap_clm_lake_debug gnu
gnv1_c96_no_nest_debug gnu
rap_control_dyn32_phy32 gnu
hrrr_control_dyn32_phy32 gnu
rap_2threads_dyn32_phy32 gnu
hrrr_control_2threads_dyn32_phy32 gnu
hrrr_control_decomp_dyn32_phy32 gnu
rap_restart_dyn32_phy32 gnu
hrrr_control_restart_dyn32_phy32 gnu
conus13km_control gnu
conus13km_2threads gnu
conus13km_restart_mismatch gnu
rap_control_dyn64_phy32 gnu
rap_control_debug_dyn32_phy32 gnu
hrrr_control_debug_dyn32_phy32 gnu
conus13km_debug gnu
conus13km_debug_qr gnu
conus13km_debug_2threads gnu
conus13km_radar_tten_debug gnu
rap_control_dyn64_phy32_debug gnu
cpld_regional_atm_fbh intel
116 changes: 116 additions & 0 deletions tests/tests/cpld_control_sfs_180d
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
#
# cpld_control GFSv17 with UGWPv1 test, i.e., GSL orographic drag +
# version 1 non-stationary GWD, hydrostatic, long forecast
#

export TEST_DESCR="Fully coupled FV3-CCPP-MOM6-CICE-CMEPS system hydrostatic version - C96MX100 - long forecast"

export CNTL_DIR=cpld_control_sfs_180d

export LIST_FILES="sfcf8280.nc \
sfcf8640.nc \
atmf8280.nc \
atmf8640.nc \
GFSFLX.GrbF8280 \
GFSFLX.GrbF8640 \
GFSPRS.GrbF8280 \
GFSPRS.Grb8640 \
RESTART/20220317.060000.MOM.res.nc"

export_fv3
export_cpl
export_ugwpv1
LarissaReames-NOAA marked this conversation as resolved.
Show resolved Hide resolved

export CPLCHM=.false.
export DNATS=0
export MAKE_NH=.false.
export DDDMP=0
export DO_VORT_DAMP=.false.
export HYDROSTATIC=.true.
export HORD_XX=10
export HORD_DP=10
export KORD_XX=12
export KORD_TM=-12
export D_CON=0

export RESTART_N=360
export RESTART_INTERVAL="${RESTART_N} -1"
export OUTPUT_FH='0 8280 8640'
export OUTPUT_GRID="'gaussian_grid'"
export WRITE_DOPOST=.true.
export MOM6_OUTPUT_FREQ=360
export MOM6_OUTPUT_UNITS=days

export FHMAX=8640

export INPES=$INPES_cpl_bmrk
export JNPES=$JNPES_cpl_bmrk
export WRTTASK_PER_GROUP=$WPG_cpl_bmrk

OCN_tasks=$OCN_tasks_cpl_bmrk
ICE_tasks=$ICE_tasks_cpl_bmrk
WAV_tasks=0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LarissaReames-NOAA you may want to export these. If I understand, turning off wave is cheaper but then this configuration is more of a nowave_noaero test

It may also be worth adding more files to the baseline in LIST_FILES (CICE, history files,...) if this would be running anyways

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've changed these to export. Also, I believe the plan now is to go without waves for SFS tests until we're at a finer grid, hence why I turned these off.

export CICE_NPROC=$ICE_tasks
export np2=`expr $CICE_NPROC / 2`
export CICE_BLCKX=`expr $NX_GLB / $np2`
export CICE_BLCKY=`expr $NY_GLB / 2`

# no wave model
export CPLWAV=.false.
export CPLWAV2ATM=.false.
export MOM6_USE_WAVES=False

#use downscaled warmstarts for ocean and ice
export OCNICE_WARMSTART=.true.
export MOM6_INIT_FROM_Z=False
export MOM6_INIT_UV=file
export MOM6_WARMSTART_FILE=mom6.warmstart.nc
export CICE_ICE_IC=cice.warmstart.nc

export atm_omp_num_threads=$THRD_cpl_bmrk
export med_omp_num_threads=$atm_omp_num_threads
export ocn_omp_num_threads=$OCN_thrds_cpl_bmrk
export ice_omp_num_threads=$ICE_thrds_cpl_bmrk

export MOM6_TOPOEDITS=ufs.topo_edits_011818.nc
export MOM6_ALLOW_LANDMASK_CHANGES=True
export eps_imesh=2.5e-1

export FV3_RUN=cpld_control_run.IN
export CCPP_SUITE=FV3_GFS_v17_coupled_p8_ugwpv1
export FIELD_TABLE=field_table_thompson_noaero_tke_progsigma
export DIAG_TABLE=diag_table_cpld_sfs.IN
export INPUT_NML=global_control.nml.IN

export UFS_CONFIGURE=ufs.configure.s2s_esmf.IN

#GFSv17 settings
export PROGSIGMA=.true.
export IOPT_DIAG=2

WLCLK=240

# component coupling
export DT_ATMOS=600
export DT_INNER=${DT_ATMOS}
export DT_CICE=${DT_ATMOS}
export DT_DYNAM_MOM6=1800
export DT_THERM_MOM6=3600

# ufs.configure
export coupling_interval_slow_sec=${DT_THERM_MOM6}
export coupling_interval_fast_sec=${DT_ATMOS}

export K_SPLIT=2
export N_SPLIT=5

export NUDGE_QV=.false.
export VTDM4=0.05

# HR4 GFSv17 GWD update
export DO_GWD_OPT_PSL=.true.
export DO_GSL_DRAG_SS=.false.

# CICE Output Format
export CICE_RESTART_FORMAT="hdf5"
export CICE_HISTORY_FORMAT="hdf5"