Skip to content

Commit 90997f2

Browse files
committed
Merge remote-tracking branch 'JE/fix/fms_path' into rm-mct
2 parents 9ca1ea4 + 1991e3d commit 90997f2

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

cime_config/buildcpp

-9
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,6 @@ def buildcpp(case):
7373
case.set_value("EPS_AAREA", "1.0e-04")
7474
case.set_value("EPS_AGRID", "1.0e-05")
7575

76-
# The vector mapping (in the mediator) needs to be 'cart3d' for SE
77-
# NB: This is currently the default, is it working by conincidence for
78-
# other unstructured dycores?
79-
# For cmeps/nuopc cart3d is always the default option for all grids
80-
match = re.match(r'ne[0-9]', atm_grid)
81-
if match:
82-
if (comp_interface == 'mct'):
83-
case.set_value('VECT_MAP', 'cart3d')
84-
8576
# if need to build - then construct configure command
8677
config_opts = ["-s", "-fc_type", compiler, "-dyn", cam_dycore,
8778
"-hgrid", atm_grid, "-cpl", comp_interface,

cime_config/buildlib

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def _build_fms(caseroot, libroot, bldroot):
5252

5353
mpilib = case.get_value("MPILIB")
5454
sharedpath = os.path.join(case.get_value("COMPILER"), mpilib,
55-
strdebug, strthread, "nuopc")
55+
strdebug, strthread)
5656
slr = os.path.abspath(case.get_value("SHAREDLIBROOT"))
5757
fmsbuildroot = os.path.join(slr, sharedpath)
5858
fmsinstallpath = os.path.join(fmsbuildroot, "FMS")
@@ -108,7 +108,7 @@ def _build_cam(caseroot, libroot, bldroot):
108108
threaded = "threads" if case.get_value("BUILD_THREADED") or case.get_value("FORCE_BUILD_SMP") else "nothreads"
109109
comp_interface = case.get_value("COMP_INTERFACE")
110110
fmsbuilddir = os.path.join(
111-
slr, compiler, mpilib, debug, threaded, comp_interface, "FMS")
111+
slr, compiler, mpilib, debug, threaded, "FMS")
112112
user_incldir = '"-I{} -I{} -I{}"'.format(
113113
os.path.join(srcroot, "libraries", "FMS", "src", "include"),
114114
os.path.join(srcroot, "libraries", "FMS", "src", "mpp", "include"),

0 commit comments

Comments
 (0)