Skip to content

Commit

Permalink
Merge pull request ESMCI#3424 from ESMCI/cprnc_build_machine
Browse files Browse the repository at this point in the history
update cprnc build to use correct machine
  • Loading branch information
jgfouca authored Feb 27, 2020
2 parents 99df848 + ad93b98 commit e75142f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/build_scripts/buildlib.cprnc
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ def buildlib(bldroot, installpath, case):
cimeroot = case.get_value("CIMEROOT")

# Generate macros and environment
run_bld_cmd_ensure_logging("{}/tools/configure --mpilib=mpi-serial --macros-format=CMake".format(cimeroot), logger, from_dir=bldroot)

run_bld_cmd_ensure_logging("{}/tools/configure --mpilib=mpi-serial --macros-format=CMake --machine={}".format(cimeroot, case.get_value("MACH")), logger, from_dir=bldroot)

cmake_args = get_standard_cmake_args(case, shared_lib=True)

Expand Down

0 comments on commit e75142f

Please sign in to comment.