Skip to content

Commit

Permalink
Merge pull request #4239 from jedwards4b/fix_MCC_test_nuopc
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b authored Apr 29, 2022
2 parents f346eed + fbb719b commit ba5acd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CIME/case/case_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,11 +305,11 @@ def _post_run_check(case, lid):
file_prefix = "cpl"

cpl_ninst = 1
if case.get_value("MULTI_DRIVER"):
if file_prefix != "drv" and case.get_value("MULTI_DRIVER"):
cpl_ninst = case.get_value("NINST_MAX")
cpl_logs = []

if cpl_ninst > 1:
if file_prefix != "drv" and cpl_ninst > 1:
for inst in range(cpl_ninst):
cpl_logs.append(
os.path.join(rundir, file_prefix + "_%04d.log." % (inst + 1) + lid)
Expand Down

0 comments on commit ba5acd7

Please sign in to comment.