From e969bae487d8147c910b4996a6836ffb41000f95 Mon Sep 17 00:00:00 2001 From: Richard Top Date: Thu, 14 Nov 2024 10:37:01 +0000 Subject: [PATCH 1/2] clean `${tmpdir}` after iterations in `install_cuda_and_libraries.sh` --- scripts/gpu_support/nvidia/install_cuda_and_libraries.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/gpu_support/nvidia/install_cuda_and_libraries.sh b/scripts/gpu_support/nvidia/install_cuda_and_libraries.sh index e6343595ad..e1ca42fc9a 100755 --- a/scripts/gpu_support/nvidia/install_cuda_and_libraries.sh +++ b/scripts/gpu_support/nvidia/install_cuda_and_libraries.sh @@ -239,9 +239,9 @@ for EASYSTACK_FILE in ${TOPDIR}/easystacks/eessi-*CUDA*.yml; do echo_green "all installations at ${EESSI_SITE_SOFTWARE_PATH}/software/... succeeded!" fi - # clean up tmpdir - rm -rf "${tmpdir}" - # Restore MODULEPATH for next loop iteration MODULEPATH=${SAVE_MODULEPATH} done + +# clean up tmpdir +rm -rf "${tmpdir}" From 66c36c898a208fcdce1258f7bde53f08a5fa28f6 Mon Sep 17 00:00:00 2001 From: Richard Top Date: Mon, 18 Nov 2024 12:59:16 +0000 Subject: [PATCH 2/2] clean `${tmpdir}` content for each iteration in `install_cuda_and_libraries.sh` --- scripts/gpu_support/nvidia/install_cuda_and_libraries.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/gpu_support/nvidia/install_cuda_and_libraries.sh b/scripts/gpu_support/nvidia/install_cuda_and_libraries.sh index e1ca42fc9a..ee219fb444 100755 --- a/scripts/gpu_support/nvidia/install_cuda_and_libraries.sh +++ b/scripts/gpu_support/nvidia/install_cuda_and_libraries.sh @@ -239,9 +239,9 @@ for EASYSTACK_FILE in ${TOPDIR}/easystacks/eessi-*CUDA*.yml; do echo_green "all installations at ${EESSI_SITE_SOFTWARE_PATH}/software/... succeeded!" fi + # clean up tmpdir content + rm -rf "${tmpdir}"/* + # Restore MODULEPATH for next loop iteration MODULEPATH=${SAVE_MODULEPATH} done - -# clean up tmpdir -rm -rf "${tmpdir}"