Skip to content

Commit 26425be

Browse files
author
Caspar van Leeuwen
committed
Revert changes that were now split off to EESSI#147
1 parent 5a6b43c commit 26425be

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

EESSI-install-software.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ echo "Going to install full CUDA SDK and cu* libraries under host_injections if
327327
temp_install_storage=${TMPDIR}/temp_install_storage
328328
mkdir -p ${temp_install_storage}
329329
if [ -z "${skip_cuda_install}" ] || [ ! "${skip_cuda_install}" ]; then
330-
${TOPDIR}/scripts/gpu_support/nvidia/install_cuda_and_libraries.sh \
330+
${EESSI_PREFIX}/scripts/gpu_support/nvidia/install_cuda_and_libraries.sh \
331331
-t ${temp_install_storage} \
332332
--accept-cuda-eula \
333333
--accept-cudnn-eula
@@ -338,7 +338,7 @@ fi
338338
# Install NVIDIA drivers in host_injections (if they exist)
339339
if nvidia_gpu_available; then
340340
echo "Installing NVIDIA drivers for use in prefix shell..."
341-
${TOPDIR}/scripts/gpu_support/nvidia/link_nvidia_host_libraries.sh
341+
${EESSI_PREFIX}/scripts/gpu_support/nvidia/link_nvidia_host_libraries.sh
342342
fi
343343

344344

@@ -396,10 +396,6 @@ else
396396
# load EasyBuild module (will be installed if it's not available yet)
397397
source ${TOPDIR}/load_easybuild_module.sh ${eb_version}
398398

399-
# Set EASYBUILD_HOOKS to use the hooks from the software-layer-scripts, to make it easier to use updated hooks
400-
export EASYBUILD_HOOKS=$TOPDIR/eb_hooks.py
401-
echo "Overwrite EASYBUILD_HOOKS to use the eb_hooks from software-layer-scripts: EASYBUILD_HOOKS=${EASYBUILD_HOOKS}"
402-
403399
${EB} --show-config
404400

405401
echo_green "All set, let's start installing some software with EasyBuild v${eb_version} in ${EASYBUILD_INSTALLPATH}..."

0 commit comments

Comments
 (0)