Skip to content

Commit

Permalink
Merge pull request #409 from blcc/release-1.4
Browse files Browse the repository at this point in the history
When NINST_OCN > 1, should be NTASKS_PER_INST_OCN
  • Loading branch information
TomasTorsvik authored Sep 30, 2024
2 parents b53a5da + b750795 commit d49fe2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cime_config/buildcpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ def create_dimmod(case):
ocn_grid = case.get_value("OCN_GRID")
blom_vcoord = case.get_value("BLOM_VCOORD")
if case.get_value("NINST_OCN") > 1:
ntasks_ocn = case.get_value("NTASKS_OCN")
else:
ntasks_ocn = case.get_value("NTASKS_PER_INST_OCN")
else:
ntasks_ocn = case.get_value("NTASKS_OCN")
objroot = case.get_value("OBJROOT")

gridconf_dir = os.path.join(comp_root_dir_ocn, "bld", ocn_grid)
Expand Down

0 comments on commit d49fe2a

Please sign in to comment.