Skip to content

Commit 4fec6d9

Browse files
Natalie PerlinNatalie Perlin
authored andcommitted
corrections for container options devbuild.sh, build_container_intel.lua
1 parent 6656aab commit 4fec6d9

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

devbuild.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ else
568568
if [[ "${PLATFORM}" == "macos" ]]; then
569569
export LDFLAGS+=" -L$MPI_ROOT/lib "
570570
fi
571-
if [[ "${PLATFORM}" == "container" && "${COMPILER}" == "gnu" ]]; then
571+
if [[ "${PLATFORM}" == "container" ]]; then
572572
export SRW_ENV="${SRW_DIR}/ufs-srw.env"
573573
export SRW_WRAP="${SRW_DIR}/srw.sh"
574574
env_vars
@@ -610,8 +610,8 @@ fi
610610
if [[ "${PLATFORM}" = "container" && "${CLEAN}" == "false" && "${BUILD}" == "false" ]]; then
611611
printf "Final step for PLATFORM=${PLATFORM} is to link executables to a wrapper script\n" >&2
612612
if [ "{BIN_DIR}" == "exec" ]; then
613-
printf '!!!WARNING!!! for PLATFORM=container binaries directory "${BIN_DIR}"\n '
614-
printf ' needs to differ from "exec". Specify --bin-dir=bin if rerunning the devbuild.sh\n '
613+
printf 'PLATFORM=container: a directory name for binaries is "${BIN_DIR}"\n '
614+
printf ' needs to differ from "exec". Specify --bin-dir=bin when rerunning the devbuild.sh\n '
615615
printf ' or link the executables to a wrapper script manually, and adjust the search\n '
616616
printf ' path in $SRW_ENV file \n' >&2
617617
else

modulefiles/build_container_intel.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver))
2323
cmake_ver=os.getenv("cmake_ver") or "3.27.9"
2424
load(pathJoin("cmake", cmake_ver))
2525

26-
load("ufs_common")
26+
load("srw_common")
2727

2828
setenv("CC", "mpiicx")
2929
setenv("CXX", "mpiicpx")

0 commit comments

Comments
 (0)