From b9ec965c3290eedfbd2d3b4bc446fa97ab3cd85e Mon Sep 17 00:00:00 2001 From: Ping-Gin Chiu Date: Fri, 27 Sep 2024 09:50:45 +0200 Subject: [PATCH] Use NTASKS_PER_INST_OCN replace NTASKS_OCN --- cime_config/buildcpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cime_config/buildcpp b/cime_config/buildcpp index e1d27768..7a46859e 100644 --- a/cime_config/buildcpp +++ b/cime_config/buildcpp @@ -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)