Skip to content

Commit

Permalink
Make write_restart_at_endofrun configurable
Browse files Browse the repository at this point in the history
This will change the write_restart_at_endofrun variable to
@[WRITE_ENDOFRUN_RESTART] to allow for user configuration. Default
has been set to .false. in default_vars.sh.
  • Loading branch information
Daniel Sarmiento committed Jun 17, 2024
1 parent 99c6830 commit 5700644
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 18 deletions.
1 change: 1 addition & 0 deletions tests/default_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1043,6 +1043,7 @@ export_cmeps() {
export RESTART_N=${FHMAX}
export CMEPS_RESTART_DIR=./RESTART/
export cap_dbug_flag=0
export WRITE_ENDOFRUN_RESTART=.false.
# MOM6 attributes
export use_coldstart=false
export use_mommesh=true
Expand Down
2 changes: 1 addition & 1 deletion tests/parm/ufs.configure.datm_cdeps.IN
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ ALLCOMP_attributes::
restart_n = @[RESTART_N]
restart_option = nhours
restart_ymd = -999
write_restart_at_endofrun = .false.
write_restart_at_endofrun = @[WRITE_ENDOFRUN_RESTART]
dbug_flag = @[cap_dbug_flag]
coldair_outbreak_mod = .false.
flds_wiso = .false.
Expand Down
2 changes: 1 addition & 1 deletion tests/parm/ufs.configure.hafs_atm_docn.IN
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ ALLCOMP_attributes::
restart_n = 6
restart_option = nhours
restart_ymd = -999
write_restart_at_endofrun = .false.
write_restart_at_endofrun = @[WRITE_ENDOFRUN_RESTART]
dbug_flag = @[cap_dbug_flag]
orb_eccen = 1.e36
orb_iyear = 2000
Expand Down
2 changes: 1 addition & 1 deletion tests/parm/ufs.configure.hafs_atm_ocn.IN
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ ALLCOMP_attributes::
restart_n = 6
restart_option = nhours
restart_ymd = -999
write_restart_at_endofrun = .false.
write_restart_at_endofrun = @[WRITE_ENDOFRUN_RESTART]
dbug_flag = @[cap_dbug_flag]
orb_eccen = 1.e36
orb_iyear = 2000
Expand Down
2 changes: 1 addition & 1 deletion tests/parm/ufs.configure.hafs_atm_ocn_wav.IN
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ ALLCOMP_attributes::
restart_n = 6
restart_option = nhours
restart_ymd = -999
write_restart_at_endofrun = .false.
write_restart_at_endofrun = @[WRITE_ENDOFRUN_RESTART]
dbug_flag = @[cap_dbug_flag]
orb_eccen = 1.e36
orb_iyear = 2000
Expand Down
2 changes: 1 addition & 1 deletion tests/parm/ufs.configure.hafs_atm_ocn_wav_inline.IN
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ ALLCOMP_attributes::
restart_n = 6
restart_option = nhours
restart_ymd = -999
write_restart_at_endofrun = .false.
write_restart_at_endofrun = @[WRITE_ENDOFRUN_RESTART]
dbug_flag = @[cap_dbug_flag]
orb_eccen = 1.e36
orb_iyear = 2000
Expand Down
2 changes: 1 addition & 1 deletion tests/parm/ufs.configure.hafs_atm_ocn_wav_mom6.IN
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ ALLCOMP_attributes::
restart_n = 3
restart_option = nhours
restart_ymd = -999
write_restart_at_endofrun = .false.
write_restart_at_endofrun = @[WRITE_ENDOFRUN_RESTART]
dbug_flag = @[cap_dbug_flag]
orb_eccen = 1.e36
orb_iyear = 2000
Expand Down
2 changes: 1 addition & 1 deletion tests/parm/ufs.configure.hafs_atm_wav.IN
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ ALLCOMP_attributes::
restart_n = 6
restart_option = nhours
restart_ymd = -999
write_restart_at_endofrun = .false.
write_restart_at_endofrun = @[WRITE_ENDOFRUN_RESTART]
dbug_flag = @[cap_dbug_flag]
orb_eccen = 1.e36
orb_iyear = 2000
Expand Down
2 changes: 1 addition & 1 deletion tests/parm/ufs.configure.s2s.IN
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ ALLCOMP_attributes::
restart_n = @[RESTART_N]
restart_option = nhours
restart_ymd = -999
write_restart_at_endofrun = .false.
write_restart_at_endofrun = @[WRITE_ENDOFRUN_RESTART]
dbug_flag = @[cap_dbug_flag]
stop_n = @[FHMAX]
stop_option = nhours
Expand Down
2 changes: 1 addition & 1 deletion tests/parm/ufs.configure.s2s_aoflux_esmf.IN
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ ALLCOMP_attributes::
restart_n = @[RESTART_N]
restart_option = nhours
restart_ymd = -999
write_restart_at_endofrun = .false.
write_restart_at_endofrun = @[WRITE_ENDOFRUN_RESTART]
dbug_flag = @[cap_dbug_flag]
eps_imesh = @[eps_imesh]
stop_n = @[FHMAX]
Expand Down
2 changes: 1 addition & 1 deletion tests/parm/ufs.configure.s2s_esmf.IN
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ ALLCOMP_attributes::
restart_n = @[RESTART_N]
restart_option = nhours
restart_ymd = -999
write_restart_at_endofrun = .false.
write_restart_at_endofrun = @[WRITE_ENDOFRUN_RESTART]
dbug_flag = @[cap_dbug_flag]
stop_n = @[FHMAX]
stop_option = nhours
Expand Down
2 changes: 1 addition & 1 deletion tests/parm/ufs.configure.s2sa.IN
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ ALLCOMP_attributes::
restart_n = @[RESTART_N]
restart_option = nhours
restart_ymd = -999
write_restart_at_endofrun = .false.
write_restart_at_endofrun = @[WRITE_ENDOFRUN_RESTART]
dbug_flag = @[cap_dbug_flag]
stop_n = @[FHMAX]
stop_option = nhours
Expand Down
2 changes: 1 addition & 1 deletion tests/parm/ufs.configure.s2sa_esmf.IN
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ ALLCOMP_attributes::
restart_n = @[RESTART_N]
restart_option = nhours
restart_ymd = -999
write_restart_at_endofrun = .false.
write_restart_at_endofrun = @[WRITE_ENDOFRUN_RESTART]
dbug_flag = @[cap_dbug_flag]
stop_n = @[FHMAX]
stop_option = nhours
Expand Down
2 changes: 1 addition & 1 deletion tests/parm/ufs.configure.s2sw.IN
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ ALLCOMP_attributes::
restart_n = @[RESTART_N]
restart_option = nhours
restart_ymd = -999
write_restart_at_endofrun = .false.
write_restart_at_endofrun = @[WRITE_ENDOFRUN_RESTART]
dbug_flag = @[cap_dbug_flag]
stop_n = @[FHMAX]
stop_option = nhours
Expand Down
2 changes: 1 addition & 1 deletion tests/parm/ufs.configure.s2sw_esmf.IN
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ ALLCOMP_attributes::
restart_n = @[RESTART_N]
restart_option = nhours
restart_ymd = -999
write_restart_at_endofrun = .false.
write_restart_at_endofrun = @[WRITE_ENDOFRUN_RESTART]
dbug_flag = @[cap_dbug_flag]
stop_n = @[FHMAX]
stop_option = nhours
Expand Down
2 changes: 1 addition & 1 deletion tests/parm/ufs.configure.s2sw_fast_esmf.IN
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ ALLCOMP_attributes::
restart_n = @[RESTART_N]
restart_option = nhours
restart_ymd = -999
write_restart_at_endofrun = .false.
write_restart_at_endofrun = @[WRITE_ENDOFRUN_RESTART]
dbug_flag = @[cap_dbug_flag]
stop_n = @[FHMAX]
stop_option = nhours
Expand Down
2 changes: 1 addition & 1 deletion tests/parm/ufs.configure.s2swa.IN
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ ALLCOMP_attributes::
restart_n = @[RESTART_N]
restart_option = nhours
restart_ymd = -999
write_restart_at_endofrun = .false.
write_restart_at_endofrun = @[WRITE_ENDOFRUN_RESTART]
dbug_flag = @[cap_dbug_flag]
stop_n = @[FHMAX]
stop_option = nhours
Expand Down
2 changes: 1 addition & 1 deletion tests/parm/ufs.configure.s2swa_esmf.IN
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ ALLCOMP_attributes::
restart_n = @[RESTART_N]
restart_option = nhours
restart_ymd = -999
write_restart_at_endofrun = .false.
write_restart_at_endofrun = @[WRITE_ENDOFRUN_RESTART]
dbug_flag = @[cap_dbug_flag]
stop_n = @[FHMAX]
stop_option = nhours
Expand Down
2 changes: 1 addition & 1 deletion tests/parm/ufs.configure.s2swa_fast_esmf.IN
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ ALLCOMP_attributes::
restart_n = @[RESTART_N]
restart_option = nhours
restart_ymd = -999
write_restart_at_endofrun = .false.
write_restart_at_endofrun = @[WRITE_ENDOFRUN_RESTART]
dbug_flag = @[cap_dbug_flag]
stop_n = @[FHMAX]
stop_option = nhours
Expand Down

0 comments on commit 5700644

Please sign in to comment.