File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -65,11 +65,12 @@ def _submit(
6565 # only checks for the first instance in a multidriver case
6666 if case .get_value ("COMP_INTERFACE" ) == "nuopc" :
6767 rpointer = "rpointer.cpl"
68+ if case .get_value ("NINST" ) > 1 :
69+ rpointer = rpointer + "_0001"
6870 else :
6971 rpointer = "rpointer.drv"
70- # Variable MULTI_DRIVER is always true for nuopc so we need to also check NINST > 1
71- if case .get_value ("MULTI_DRIVER" ) and case .get_value ("NINST" ) > 1 :
72- rpointer = rpointer + "_0001"
72+ if case .get_value ("MULTI_DRIVER" ):
73+ rpointer = rpointer + "_0001"
7374 expect (
7475 os .path .exists (os .path .join (rundir , rpointer )),
7576 "CONTINUE_RUN is true but this case does not appear to have restart files staged in {} {}" .format (
You can’t perform that action at this time.
0 commit comments