Skip to content

Commit

Permalink
use '/none.py' in 'install_cuda_and_libraries.sh'
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Top committed Nov 12, 2024
1 parent 4574826 commit c274f3d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/gpu_support/nvidia/install_cuda_and_libraries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ 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 All @@ -124,6 +120,10 @@ for EASYSTACK_FILE in ${TOPDIR}/easystacks/eessi-*CUDA*.yml; do
MODULEPATH=${EESSI_SITE_SOFTWARE_PATH}/.modules/all
echo "set MODULEPATH=${MODULEPATH}"

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

# show EasyBuild configuration
echo "Show EasyBuild configuration"
eb --show-config
Expand Down

0 comments on commit c274f3d

Please sign in to comment.