From 78a3aa0ac7c5a3a64a7cdddeb07aa3136247fc48 Mon Sep 17 00:00:00 2001 From: Richard Top Date: Tue, 12 Nov 2024 13:30:54 +0000 Subject: [PATCH] use `${tmpdir}/none.py` in `install_cuda_and_libraries.sh` --- scripts/gpu_support/nvidia/install_cuda_and_libraries.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/gpu_support/nvidia/install_cuda_and_libraries.sh b/scripts/gpu_support/nvidia/install_cuda_and_libraries.sh index 69b11e26da..e6343595ad 100755 --- a/scripts/gpu_support/nvidia/install_cuda_and_libraries.sh +++ b/scripts/gpu_support/nvidia/install_cuda_and_libraries.sh @@ -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') @@ -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