Skip to content

Commit

Permalink
Merge pull request #4725 from jedwards4b/resubmit_fix
Browse files Browse the repository at this point in the history
correct rpointer name in resubmit
  • Loading branch information
jedwards4b authored Dec 26, 2024
2 parents 3336d89 + 7b6e8df commit 85922c0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions CIME/case/case_submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,11 @@ def _submit(
)
# only checks for the first instance in a multidriver case
if case.get_value("COMP_INTERFACE") == "nuopc":
rpointer = "rpointer.cpl"
if case.get_value("NINST") > 1:
rpointer = rpointer + "_0001"
rpointer = case.get_value("DRV_RESTART_POINTER")
if not rpointer:
rpointer = "rpointer.cpl"
if case.get_value("NINST") > 1:
rpointer = rpointer + "_0001"
else:
rpointer = "rpointer.drv"
if case.get_value("MULTI_DRIVER"):
Expand Down

0 comments on commit 85922c0

Please sign in to comment.