Skip to content

Commit

Permalink
When NINST_OCN > 1, should be NTASKS_PER_INST_OCN
Browse files Browse the repository at this point in the history
  • Loading branch information
blcc committed Sep 30, 2024
1 parent 40c1307 commit b750795
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 b750795

Please sign in to comment.