Skip to content

Commit

Permalink
Merge pull request #516 from jedwards4b/erc_test_fix
Browse files Browse the repository at this point in the history
do not write restart at end of erc test
  • Loading branch information
jedwards4b authored Dec 5, 2024
2 parents 6d47c50 + 630c935 commit 0e5ca48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions cime_config/buildnml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def _create_drv_namelists(case, infile, confdir, nmlgen, files):
config["MACH"] = case.get_value("MACH")
config["MPILIB"] = case.get_value("MPILIB")
config["OS"] = case.get_value("OS")
config["TESTCASE"] = case.get_value("TESTCASE")
config["glc_nec"] = (
0 if case.get_value("GLC_NEC") == 0 else case.get_value("GLC_NEC")
)
Expand Down
3 changes: 2 additions & 1 deletion cime_config/namelist_definition_drv.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2862,12 +2862,13 @@
forces a restart write at the end of the run in addition to any
setting associated with rest_option. default=true. this setting
will be set to false if restart_option is none or never.
default: false
default: true
</desc>
<values>
<value>.true.</value>
<value rest_option='none'>.false.</value>
<value rest_option='never'>.false.</value>
<value TESTCASE='ERC'>.false.</value>
</values>
</entry>

Expand Down

0 comments on commit 0e5ca48

Please sign in to comment.