Skip to content

Commit

Permalink
Merge remote-tracking branch 'JE/fix/fms_path' into rm-mct
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-eaton committed Jul 8, 2024
2 parents 9ca1ea4 + 1991e3d commit 90997f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
9 changes: 0 additions & 9 deletions cime_config/buildcpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,6 @@ def buildcpp(case):
case.set_value("EPS_AAREA", "1.0e-04")
case.set_value("EPS_AGRID", "1.0e-05")

# The vector mapping (in the mediator) needs to be 'cart3d' for SE
# NB: This is currently the default, is it working by conincidence for
# other unstructured dycores?
# For cmeps/nuopc cart3d is always the default option for all grids
match = re.match(r'ne[0-9]', atm_grid)
if match:
if (comp_interface == 'mct'):
case.set_value('VECT_MAP', 'cart3d')

# if need to build - then construct configure command
config_opts = ["-s", "-fc_type", compiler, "-dyn", cam_dycore,
"-hgrid", atm_grid, "-cpl", comp_interface,
Expand Down
4 changes: 2 additions & 2 deletions cime_config/buildlib
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def _build_fms(caseroot, libroot, bldroot):

mpilib = case.get_value("MPILIB")
sharedpath = os.path.join(case.get_value("COMPILER"), mpilib,
strdebug, strthread, "nuopc")
strdebug, strthread)
slr = os.path.abspath(case.get_value("SHAREDLIBROOT"))
fmsbuildroot = os.path.join(slr, sharedpath)
fmsinstallpath = os.path.join(fmsbuildroot, "FMS")
Expand Down Expand Up @@ -108,7 +108,7 @@ def _build_cam(caseroot, libroot, bldroot):
threaded = "threads" if case.get_value("BUILD_THREADED") or case.get_value("FORCE_BUILD_SMP") else "nothreads"
comp_interface = case.get_value("COMP_INTERFACE")
fmsbuilddir = os.path.join(
slr, compiler, mpilib, debug, threaded, comp_interface, "FMS")
slr, compiler, mpilib, debug, threaded, "FMS")
user_incldir = '"-I{} -I{} -I{}"'.format(
os.path.join(srcroot, "libraries", "FMS", "src", "include"),
os.path.join(srcroot, "libraries", "FMS", "src", "mpp", "include"),
Expand Down

0 comments on commit 90997f2

Please sign in to comment.