Skip to content

Commit

Permalink
fixes restart at end of run
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Apr 6, 2024
1 parent 53d64e7 commit b2b2d46
Show file tree
Hide file tree
Showing 4 changed files with 496 additions and 398 deletions.
2 changes: 2 additions & 0 deletions cime_config/buildnml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ def _create_drv_namelists(case, infile, confdir, nmlgen, files):
config["flux_epbal"] = "ocn" if case.get_value("CPL_EPBAL") == "ocn" else "off"
config["mask_grid"] = case.get_value("MASK_GRID")
config["rest_option"] = case.get_value("REST_OPTION")


config["comp_ocn"] = case.get_value("COMP_OCN")

atm_grid = case.get_value("ATM_GRID")
Expand Down
13 changes: 7 additions & 6 deletions cime_config/namelist_definition_drv.xml
Original file line number Diff line number Diff line change
Expand Up @@ -233,17 +233,14 @@
</values>
</entry>

<!-- =========================================== -->
<!-- All components orbital attributes -->
<!-- =========================================== -->

<entry id="write_restart_at_endofrun">
<type>logical</type>
<category>nuopc</category>
<group>ALLCOMP_attributes</group>
<values>
<value>.false.</value>
<value rest_option="end">.true.</value>
<value>.true.</value>
<value rest_option='none'>.false.</value>
<value rest_option='never'>.false.</value>
</values>
</entry>

Expand All @@ -256,6 +253,10 @@
</values>
</entry>

<!-- =========================================== -->
<!-- All components orbital attributes -->
<!-- =========================================== -->

<entry id="orb_mode">
<type>char</type>
<category>orbital</category>
Expand Down
Loading

0 comments on commit b2b2d46

Please sign in to comment.