Skip to content

Commit

Permalink
dont use hooks when installing into host_injections
Browse files Browse the repository at this point in the history
  • Loading branch information
truib committed Oct 15, 2024
1 parent 88bdb88 commit 7b8ba8b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/gpu_support/nvidia/install_cuda_and_libraries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ SAVE_MODULEPATH=${MODULEPATH}
for EASYSTACK_FILE in ${TOPDIR}/easystacks/eessi-*CUDA*.yml; do
echo -e "Processing easystack file ${easystack_file}...\n\n"

# We don't want hooks used in this install, we need vanilla installations
touch "${tmpdir}"/none.py
export EASYBUILD_HOOKS="${tmpdir}/none.py"

# determine version of EasyBuild module to load based on EasyBuild version included in name of easystack file
eb_version=$(echo ${EASYSTACK_FILE} | sed 's/.*eb-\([0-9.]*\).*/\1/g')

Expand Down

0 comments on commit 7b8ba8b

Please sign in to comment.