diff --git a/scripts/build_lbann.sh b/scripts/build_lbann.sh index 2d7f83a2a43..d439dd3c1d6 100755 --- a/scripts/build_lbann.sh +++ b/scripts/build_lbann.sh @@ -1092,7 +1092,6 @@ export LBANN_PYTHON_DIR=\$(dirname ${LBANN_PYTHON}) # Postpend the paths to the build tools to avoid putting system paths up front export PATH=\${PATH}:\${LBANN_CMAKE_DIR}:\${LBANN_NINJA_DIR}:\${LBANN_PYTHON_DIR} export PYTHONPATH=\${LBANN_PYTHONPATH}:\${PYTHONPATH} -export LD_LIBRARY_PATH=\$\{CRAY_LD_LIBRARY_PATH\}:\$\{LD_LIBRARY_PATH\} EOF if [[ -n "${MODULE_CMD}" ]]; then diff --git a/scripts/superbuild/ci/ci_pascal_core_dependencies.sh b/scripts/superbuild/ci/ci_pascal_core_dependencies.sh index 8fc46488c2c..d7bcbfd31f6 100755 --- a/scripts/superbuild/ci/ci_pascal_core_dependencies.sh +++ b/scripts/superbuild/ci/ci_pascal_core_dependencies.sh @@ -53,6 +53,7 @@ cmake \ -D CMAKE_PREFIX_PATH=${CMAKE_CMAKE_PREFIX_PATH} \ -D CMAKE_BUILD_TYPE=Release \ -D CMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} \ + -D CMAKE_INSTALL_RPATH_USE_LINK_PATH=ON \ \ -D CMAKE_C_COMPILER=$(which gcc) \ -D CMAKE_CXX_COMPILER=$(which g++) \ diff --git a/scripts/superbuild/ci/ci_pascal_dha.sh b/scripts/superbuild/ci/ci_pascal_dha.sh index 7862455bcd3..146ebff149f 100755 --- a/scripts/superbuild/ci/ci_pascal_dha.sh +++ b/scripts/superbuild/ci/ci_pascal_dha.sh @@ -64,6 +64,7 @@ cmake \ -D CMAKE_PREFIX_PATH=${CMAKE_CMAKE_PREFIX_PATH} \ -D CMAKE_BUILD_TYPE=Release \ -D CMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} \ + -D CMAKE_INSTALL_RPATH_USE_LINK_PATH=ON \ \ -D CMAKE_C_COMPILER=$(which gcc) \ -D CMAKE_CXX_COMPILER=$(which g++) \ diff --git a/scripts/superbuild/ci/ci_pascal_dha_distconv.sh b/scripts/superbuild/ci/ci_pascal_dha_distconv.sh index 7962478ea3e..ef54cc584ed 100755 --- a/scripts/superbuild/ci/ci_pascal_dha_distconv.sh +++ b/scripts/superbuild/ci/ci_pascal_dha_distconv.sh @@ -63,6 +63,7 @@ cmake \ -D CMAKE_PREFIX_PATH=${CMAKE_CMAKE_PREFIX_PATH} \ -D CMAKE_BUILD_TYPE=Release \ -D CMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} \ + -D CMAKE_INSTALL_RPATH_USE_LINK_PATH=ON \ \ -D CMAKE_C_COMPILER=$(which gcc) \ -D CMAKE_CXX_COMPILER=$(which g++) \ diff --git a/scripts/superbuild/ci/ci_pascal_dha_half.sh b/scripts/superbuild/ci/ci_pascal_dha_half.sh index 65fc48412a3..ea70ecdfaf7 100755 --- a/scripts/superbuild/ci/ci_pascal_dha_half.sh +++ b/scripts/superbuild/ci/ci_pascal_dha_half.sh @@ -64,6 +64,7 @@ cmake \ -D CMAKE_PREFIX_PATH=${CMAKE_CMAKE_PREFIX_PATH} \ -D CMAKE_BUILD_TYPE=Release \ -D CMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} \ + -D CMAKE_INSTALL_RPATH_USE_LINK_PATH=ON \ \ -D CMAKE_C_COMPILER=$(which gcc) \ -D CMAKE_CXX_COMPILER=$(which g++) \