Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avoid that standard EasyBuild hooks are used install_cuda_and_libraries.sh, use none.py as empty hooks file instead #809

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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