Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/cam_update_ext_test_driver' into…
Browse files Browse the repository at this point in the history
… cam_update_ext_test_driver
  • Loading branch information
cacraigucar committed Oct 4, 2023
2 parents 212a842 + 769f2d0 commit 0a16873
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cime_config/buildlib
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def _build_cam(caseroot, libroot, bldroot):
compiler = case.get_value("COMPILER")
mpilib = case.get_value("MPILIB")
debug = "debug" if case.get_value("DEBUG") else "nodebug"
threaded = "threads" if case.get_value("BUILD_THREADED") else "nothreads"
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)
Expand Down Expand Up @@ -91,8 +91,7 @@ def _build_cam(caseroot, libroot, bldroot):
# -------------------------------------------------------
if cam_dycore == "fv3":
libfms = os.path.join(fmsbuilddir, "libfms.a")
expect(os.path.isfile(libfms),
"err: Missing the FMS library libfms.a - cannot complete CAM build")
expect(os.path.isfile(libfms), "FMS library not found {}".format(libfms))
shutil.copy(libfms, libroot)

# -------------------------------------------------------
Expand Down

0 comments on commit 0a16873

Please sign in to comment.