Skip to content

Commit

Permalink
Add continue_run to namelist definition so it can be used to make sur…
Browse files Browse the repository at this point in the history
…e drv_restart_pointer is set in that case, also move it and rundir to the default_settings group so won't be output
  • Loading branch information
ekluzek committed Jan 18, 2025
1 parent c1dcacb commit f114657
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion cime_config/namelist_definition_drv.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,23 @@
<entry id="rundir" modify_via_xml="RUNDIR">
<type>char</type>
<category>nuopc</category>
<group>DRIVER_attributes</group>
<!-- NOTE: This won't be output only used as an attribute in this file -->
<group>default_settings</group>
<values>
<value>$RUNDIR</value>
</values>
</entry>

<entry id="continue_run" modify_via_xml="CONTINUE_RUN">
<type>logical</type>
<category>nuopc</category>
<!-- NOTE: This won't be output only used as an attribute in this file -->
<group>default_settings</group>
<values>
<value>$CONTINUE_RUN</value>
</values>
</entry>

<entry id="pio_asyncio_ntasks" modify_via_xml="PIO_ASYNCIO_NTASKS">
<type>integer</type>
<category>pio</category>
Expand Down Expand Up @@ -183,6 +195,7 @@
<values>
<value>none</value>
<value run_type="branch">$DRV_RESTART_POINTER</value>
<value continue_run=".true.">$DRV_RESTART_POINTER</value>
</values>
</entry>

Expand Down

0 comments on commit f114657

Please sign in to comment.