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

GW-RT global_control.nml modifications #2425

Draft
wants to merge 10 commits into
base: develop
Choose a base branch
from
219 changes: 189 additions & 30 deletions tests/default_vars.sh

Large diffs are not rendered by default.

269 changes: 151 additions & 118 deletions tests/parm/global_control.nml.IN

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions tests/tests/atm_ds2s_docn_dice
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,25 @@ export WRTTASK_PER_GROUP=$WPG_cpl_dflt

export WAV_tasks=0

# UGWP1
export GWD_OPT=2
export KNOB_UGWP_NSLOPE=1
export DO_GSL_DRAG_LS_BL=.true.
export DO_GSL_DRAG_SS=.true.
export DO_UGWP_V1_OROG_ONLY=.false.
export DO_UGWP_V0_NST_ONLY=.false.
export LDIAG_UGWP=.false.

export DO_GSL_DRAG_TOFD=.false.
export CDMBWD=${CDMBWD_c96}

# UGWD
export DO_UGWP_V0=.true.
export DO_UGWP_V1=.false.
export DO_GSL_DRAG_LS_BL=.false.
export KNOB_UGWP_VERSION=0


#CDEPS settings
export ocn_datamode=cplhist
export DOCN_IN_CONFIGURE=global_docn_in.IN
Expand Down
6 changes: 6 additions & 0 deletions tests/tests/control_p8_mynn
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ export NSTF_NAME=2,1,0,0,0
export LHEATSTRG=.false.
export LSEASPRAY=.true.

export FAST_TAU_W_SEC=0.2
export RF_CUTOFF=10.
export ISATMEDMF=1
export LRADAR=.false.
export LTAEROSOL=.false.

# UGWP1
export GWD_OPT=2
export DO_UGWP_V1=.false.
Expand Down
4 changes: 3 additions & 1 deletion tests/tests/cpld_2threads_p8
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ export LIST_FILES="sfcf024.tile1.nc \
20210323.060000.out_grd.ww3 "

export_fv3
export_cpl
export_ugwpv1
export_cpl
export CCPP_SUITE=FV3_GFS_v17_coupled_p8_ugwpv1

export RESTART_N=12
Expand Down Expand Up @@ -99,6 +99,8 @@ export DT_INNER=720
export DT_ATMOS=720
export K_SPLIT=4
export N_SPLIT=5
export DT_CICE=${DT_ATMOS}
export coupling_interval_fast_sec=${DT_ATMOS}

# HR4 GFSv17 GWD update
export DO_GWD_OPT_PSL=.true.
Expand Down
4 changes: 2 additions & 2 deletions tests/tests/cpld_bmark_p8
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,11 @@ export LIST_FILES="sfcf006.nc \
RESTART/ufs.cpld.cpl.r.2013-04-01-21600.nc \
20130401.060000.out_pnt.ww3 \
20130401.060000.out_grd.ww3 "
export ATMRES=C384

export_fv3
export_cpl
export_ugwpv1
export_cpl
export CCPP_SUITE=FV3_GFS_v17_coupled_p8_ugwpv1

export SYEAR=2013
Expand Down Expand Up @@ -89,7 +90,6 @@ export ice_omp_num_threads=$ICE_thrds_cpl_bmrk
export wav_omp_num_threads=$WAV_thrds_cpl_bmrk

# atm/ocn/ice resolution
export ATMRES=C384
export NPX=385
export NPY=385
export IMO=1536
Expand Down
3 changes: 2 additions & 1 deletion tests/tests/cpld_bmark_p8_35d
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ export CNTL_DIR=cpld_bmark_p8

export LIST_FILES=""

export ATMRES=C384

export_fv3
export_cpl

Expand Down Expand Up @@ -43,7 +45,6 @@ export ice_omp_num_threads=$ICE_thrds_cpl_bmrk
export wav_omp_num_threads=$WAV_thrds_cpl_bmrk

# atm/ocn/ice resolution
export ATMRES=C384
export NPX=385
export NPY=385
export IMO=1536
Expand Down
7 changes: 4 additions & 3 deletions tests/tests/cpld_control_c192_p8
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,13 @@ export LIST_FILES="sfcf030.tile1.nc \
20210323.120000.out_grd.ww3 \
20210323.120000.out_pnt.ww3 "

export ATMRES=C192
export_fv3
export_ugwpv1
export_cpl

export CCPP_SUITE=FV3_GFS_v17_coupled_p8_ugwpv1

export DAYS=1.25
export FHMAX=30
export RESTART_N=15
Expand All @@ -82,7 +86,6 @@ export chm_omp_num_threads=$atm_omp_num_threads
export med_omp_num_threads=$atm_omp_num_threads

# atm/ocn/ice resolution
export ATMRES=C192
export NPX=193
export NPY=193
export IMO=768
Expand Down Expand Up @@ -134,8 +137,6 @@ export FNVMXC="'C192.vegetation_greenness.tileX.nc'"
export FNSLPC="'C192.slope_type.tileX.nc'"
export FNABSC="'C192.maximum_snow_albedo.tileX.nc'"

export CDMBWD=${CDMBWD_c192}

export FV3_RUN=cpld_control_run.IN

if [[ $MACHINE_ID = derecho ]]; then
Expand Down
5 changes: 2 additions & 3 deletions tests/tests/cpld_control_c48
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ export LIST_FILES="sfcf024.tile1.nc \
RESTART/20210323.060000.MOM.res.nc \
RESTART/iced.2021-03-23-21600.nc \
RESTART/ufs.cpld.cpl.r.2021-03-23-21600.nc"
export ATMRES=C48

export_fv3
export_cpl
export_ugwpv1

export_cpl
export CCPP_SUITE=FV3_GFS_v17_coupled_p8_ugwpv1

export RESTART_N=12
Expand All @@ -74,7 +74,6 @@ OCN_tasks=$OCN_tasks_cpl_c48
ICE_tasks=$ICE_tasks_cpl_c48

# atm/ocn/ice resolution
export ATMRES=C48
export NPX=49
export NPY=49
export IMO=192
Expand Down
4 changes: 3 additions & 1 deletion tests/tests/cpld_control_ciceC_p8
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ export LIST_FILES="sfcf021.tile1.nc \
20210323.060000.out_grd.ww3 "

export_fv3
export_cpl
export_ugwpv1
export_cpl
export CCPP_SUITE=FV3_GFS_v17_coupled_p8_ugwpv1

export RESTART_N=12
Expand All @@ -90,6 +90,8 @@ export DT_INNER=720
export DT_ATMOS=720
export K_SPLIT=4
export N_SPLIT=5
export DT_CICE=${DT_ATMOS}
export coupling_interval_fast_sec=${DT_ATMOS}

# HR4 GFSv17 GWD update
export DO_GWD_OPT_PSL=.true.
Expand Down
2 changes: 1 addition & 1 deletion tests/tests/cpld_control_gfsv17
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ export LIST_FILES="sfcf021.tile1.nc \
20210323.060000.out_grd.ww3 "

export_fv3
export_cpl
export_ugwpv1
export_cpl

export CPLCHM=.false.
export DNATS=0
Expand Down
2 changes: 1 addition & 1 deletion tests/tests/cpld_control_gfsv17_iau
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ export LIST_FILES="sfcf024.nc \
20210323.120000.out_grd.ww3 "

export_fv3
export_cpl
export_ugwpv1
export_cpl

export CPLCHM=.false.
export DNATS=0
Expand Down
2 changes: 1 addition & 1 deletion tests/tests/cpld_control_noaero_p8
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ export LIST_FILES="sfcf021.tile1.nc \
20210323.060000.out_grd.ww3 "

export_fv3
export_cpl
export_ugwpv1
export_cpl
export CCPP_SUITE=FV3_GFS_v17_coupled_p8_ugwpv1

export RESTART_N=12
Expand Down
5 changes: 3 additions & 2 deletions tests/tests/cpld_control_nowave_noaero_p8
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,11 @@ export LIST_FILES="sfcf021.tile1.nc \
RESTART/ufs.cpld.cpl.r.2021-03-23-21600.nc"

#TODO: add comparison of CA restart files?
export DT_ATMOS=720

export_fv3
export_cpl
export_ugwpv1
export_cpl
export CCPP_SUITE=FV3_GFS_v17_coupled_p8_ugwpv1

export RESTART_N=12
Expand Down Expand Up @@ -107,7 +108,7 @@ export UFS_CONFIGURE=ufs.configure.s2s_esmf.IN

export FV3_RUN=cpld_control_run.IN

export K_SPLIT=2
export K_SPLIT=4
export N_SPLIT=5

# HR4 GFSv17 GWD update
Expand Down
4 changes: 3 additions & 1 deletion tests/tests/cpld_control_p8
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ export LIST_FILES="sfcf021.tile1.nc \
20210323.060000.out_grd.ww3 "

export_fv3
export_cpl
export_ugwpv1
export_cpl
export CCPP_SUITE=FV3_GFS_v17_coupled_p8_ugwpv1

export RESTART_N=12
Expand All @@ -92,6 +92,8 @@ export DT_INNER=720
export DT_ATMOS=720
export K_SPLIT=4
export N_SPLIT=5
export DT_CICE=${DT_ATMOS}
export coupling_interval_fast_sec=${DT_ATMOS}

# HR4 GFSv17 GWD update
export DO_GWD_OPT_PSL=.true.
Expand Down
4 changes: 3 additions & 1 deletion tests/tests/cpld_control_p8.v2.sfc
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ export LIST_FILES="sfcf021.tile1.nc \
20210323.060000.out_grd.ww3 "

export_fv3
export_cpl
export_ugwpv1
export_cpl
export CCPP_SUITE=FV3_GFS_v17_coupled_p8_ugwpv1

export RESTART_N=12
Expand All @@ -93,6 +93,8 @@ export DT_INNER=720
export DT_ATMOS=720
export K_SPLIT=4
export N_SPLIT=5
export DT_CICE=${DT_ATMOS}
export coupling_interval_fast_sec=${DT_ATMOS}

# HR4 GFSv17 GWD update
export DO_GWD_OPT_PSL=.true.
Expand Down
4 changes: 3 additions & 1 deletion tests/tests/cpld_control_p8_faster
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ export LIST_FILES="sfcf021.tile1.nc \
20210323.060000.out_grd.ww3 "

export_fv3
export_cpl
export_ugwpv1
export_cpl
export CCPP_SUITE=FV3_GFS_v17_coupled_p8_ugwpv1

export RESTART_N=12
Expand All @@ -88,6 +88,8 @@ export DT_INNER=720
export DT_ATMOS=720
export K_SPLIT=4
export N_SPLIT=5
export DT_CICE=${DT_ATMOS}
export coupling_interval_fast_sec=${DT_ATMOS}

# HR4 GFSv17 GWD update
export DO_UGWP_V0=.false.
Expand Down
4 changes: 3 additions & 1 deletion tests/tests/cpld_control_p8_mixedmode
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ export LIST_FILES="sfcf021.tile1.nc \
20210323.060000.out_grd.ww3 "

export_fv3
export_cpl
export_ugwpv1
export_cpl
export CCPP_SUITE=FV3_GFS_v17_coupled_p8_ugwpv1

export RESTART_N=12
Expand All @@ -88,6 +88,8 @@ export DT_INNER=720
export DT_ATMOS=720
export K_SPLIT=4
export N_SPLIT=5
export DT_CICE=${DT_ATMOS}
export coupling_interval_fast_sec=${DT_ATMOS}

# HR4 GFSv17 GWD update
export DO_GWD_OPT_PSL=.true.
Expand Down
4 changes: 3 additions & 1 deletion tests/tests/cpld_control_pdlib_p8
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ export LIST_FILES="sfcf021.tile1.nc \
20210323.060000.out_grd.ww3 "

export_fv3
export_cpl
export_ugwpv1
export_cpl
export CCPP_SUITE=FV3_GFS_v17_coupled_p8_ugwpv1

export RESTART_N=12
Expand Down Expand Up @@ -112,6 +112,8 @@ export DT_INNER=720
export DT_ATMOS=720
export K_SPLIT=4
export N_SPLIT=5
export DT_CICE=${DT_ATMOS}
export coupling_interval_fast_sec=${DT_ATMOS}

# HR4 GFSv17 GWD update
export DO_GWD_OPT_PSL=.true.
Expand Down
4 changes: 3 additions & 1 deletion tests/tests/cpld_control_qr_p8
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ export LIST_FILES="sfcf021.tile1.nc \
20210323.060000.out_grd.ww3 "

export_fv3
export_cpl
export_ugwpv1
export_cpl
export CCPP_SUITE=FV3_GFS_v17_coupled_p8_ugwpv1

export QUILTING_RESTART=.true.
Expand All @@ -89,6 +89,8 @@ export DT_INNER=720
export DT_ATMOS=720
export K_SPLIT=4
export N_SPLIT=5
export DT_CICE=${DT_ATMOS}
export coupling_interval_fast_sec=${DT_ATMOS}

# HR4 GFSv17 GWD update
export DO_GWD_OPT_PSL=.true.
Expand Down
13 changes: 10 additions & 3 deletions tests/tests/cpld_control_sfs
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,23 @@ export LIST_FILES="sfcf021.nc \
RESTART/20210323.060000.MOM.res.nc"

export_fv3
export_cpl
export_ugwpv1
export_cpl

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 KORD_MT=12
export KORD_WZ=12
export KORD_TR=12
export HORD_MT=10
export HORD_VT=10
export HORD_TM=10
export D_CON=0

export RESTART_N=3
Expand Down Expand Up @@ -84,6 +88,9 @@ fi
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.
4 changes: 3 additions & 1 deletion tests/tests/cpld_debug_gfsv17
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ export LIST_FILES="sfcf003.tile1.nc \
20210322.090000.out_grd.ww3 "

export_fv3
export_cpl
export_ugwpv1
export_cpl

export FHMAX=3
export DAYS=0.125
Expand Down Expand Up @@ -107,6 +107,8 @@ export DT_INNER=360
export DT_ATMOS=360
export K_SPLIT=2
export N_SPLIT=5
export DT_CICE=${DT_ATMOS}
export coupling_interval_fast_sec=${DT_ATMOS}

if [[ $MACHINE_ID = hera ]] && [[ $RT_COMPILER = gnu ]]; then
WLCLK=40
Expand Down
2 changes: 1 addition & 1 deletion tests/tests/cpld_debug_noaero_p8
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ export LIST_FILES="sfcf003.tile1.nc \
20210322.090000.out_grd.ww3 "

export_fv3
export_cpl
export_ugwpv1
export_cpl
export CCPP_SUITE=FV3_GFS_v17_coupled_p8_ugwpv1

export FHMAX=3
Expand Down
Loading