Skip to content

Commit

Permalink
Updated the build path so that the source files can be saved for debu…
Browse files Browse the repository at this point in the history
…gging on pascal.
  • Loading branch information
bvanessen committed Jun 26, 2024
1 parent 371eb4b commit ee7f28b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/superbuild/ci/ci_pascal_core_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ source ${SUPERBUILD_SRC_DIR}/ci/ci_pascal_env.sh
INSTALL_PREFIX=${INSTALL_PREFIX_EXTERNALS}

# Set to the preferred build directory
BUILD_DIR=${TMPDIR}/lbann-superbuild-core-dependencies
BUILD_DIR=${BUILD_ROOT}/lbann-superbuild-core-dependencies

#export LD_LIBRARY_PATH=${CRAY_LD_LIBRARY_PATH}:${LD_LIBRARY_PATH}

Expand Down
2 changes: 1 addition & 1 deletion scripts/superbuild/ci/ci_pascal_dha.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ source ${SUPERBUILD_SRC_DIR}/ci/ci_pascal_env.sh
INSTALL_PREFIX=${INSTALL_PREFIX_EXTERNALS}/dha

# Set to the preferred build directory
BUILD_DIR=${TMPDIR}/lbann-superbuild-dha
BUILD_DIR=${BUILD_ROOT}/lbann-superbuild-dha

# Update the location of external packages
source ${INSTALL_PREFIX_EXTERNALS}/logs/lbann_sb_suggested_cmake_prefix_path.sh
Expand Down
2 changes: 1 addition & 1 deletion scripts/superbuild/ci/ci_pascal_dha_distconv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ source ${SUPERBUILD_SRC_DIR}/ci/ci_pascal_env.sh
INSTALL_PREFIX=${INSTALL_PREFIX_EXTERNALS}/dha_with_distconv

# Set to the preferred build directory
BUILD_DIR=${TMPDIR}/lbann-superbuild-dha-distconv
BUILD_DIR=${BUILD_ROOT}/lbann-superbuild-dha-distconv

# Update the location of external packages
source ${INSTALL_PREFIX_EXTERNALS}/logs/lbann_sb_suggested_cmake_prefix_path.sh
Expand Down
2 changes: 1 addition & 1 deletion scripts/superbuild/ci/ci_pascal_dha_half.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ source ${SUPERBUILD_SRC_DIR}/ci/ci_pascal_env.sh
INSTALL_PREFIX=${INSTALL_PREFIX_EXTERNALS}/dha_with_half

# Set to the preferred build directory
BUILD_DIR=${TMPDIR}/lbann-superbuild-dha-half
BUILD_DIR=${BUILD_ROOT}/lbann-superbuild-dha-half

# Update the location of external packages
source ${INSTALL_PREFIX_EXTERNALS}/logs/lbann_sb_suggested_cmake_prefix_path.sh
Expand Down
3 changes: 3 additions & 0 deletions scripts/superbuild/ci/ci_pascal_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ CUDA_GPU_ARCH=60
INSTALL_ROOT=/usr/workspace/lbann/ci_stable_dependencies/pascal/cuda-11.8.0
INSTALL_PREFIX_EXTERNALS=${INSTALL_ROOT}/openmpi-4.1.2

# Use an accessible build directory so that the source files are preserved for debuggin
BUILD_ROOT=/usr/workspace/lbann/ci_stable_dependencies/.build/tioga/${PE_ENV_lc}/${ROCM_VER}

# Location of external packages
export CMAKE_PREFIX_PATH=${INSTALL_ROOT}/cudnn-8.9.4:${INSTALL_ROOT}/nccl-2.19.4:${INSTALL_ROOT}/../../cutensor-2.0.1.2/libcutensor-linux-x86_64-2.0.1.2-archive
CMAKE_CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH//:/;}

0 comments on commit ee7f28b

Please sign in to comment.