Skip to content

Commit

Permalink
Use NTASKS_PER_INST_OCN replace NTASKS_OCN
Browse files Browse the repository at this point in the history
  • Loading branch information
blcc committed Sep 27, 2024
1 parent 7d51bf7 commit b9ec965
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cime_config/buildcpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,8 @@ def create_dimmod(case):
comp_root_dir_ocn = case.get_value("COMP_ROOT_DIR_OCN")
ocn_grid = case.get_value("OCN_GRID")
blom_vcoord = case.get_value("BLOM_VCOORD")
ntasks_ocn = case.get_value("NTASKS_OCN")
ntasks_ocn = case.get_value("NTASKS_PER_INST_OCN")
objroot = case.get_value("OBJROOT")
if case.get_value("NINST_OCN") > 1:
ntasks_ocn = case.get_value("NTASKS_PER_INST_OCN")

gridconf_dir = os.path.join(comp_root_dir_ocn, "bld", ocn_grid)
kdm_file = os.path.join(gridconf_dir, "kdm." + blom_vcoord)
Expand Down

0 comments on commit b9ec965

Please sign in to comment.