Skip to content
Merged
Show file tree
Hide file tree
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
7 changes: 5 additions & 2 deletions EESSI-remove-software.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,12 @@ if [ $EUID -eq 0 ]; then
if [ -f ${easystack_file} ]; then
echo_green "Software rebuild(s) requested in ${easystack_file}, so determining which existing installation have to be removed..."
# we need to remove existing installation directories first,
# so let's figure out which modules have to be rebuilt by doing a dry-run and grepping "someapp/someversion" for the relevant lines (with [R])
# so let's figure out which modules have to be rebuilt by doing a
# dry-run and grepping "someapp/someversion" for the relevant
# lines (with [R] or [F])
# * [F] $CFGS/s/someapp/someapp-someversion.eb (module: someapp/someversion)
# * [R] $CFGS/s/someapp/someapp-someversion.eb (module: someapp/someversion)
rebuild_apps=$(eb --allow-use-as-root-and-accept-consequences --dry-run-short --rebuild --easystack ${easystack_file} | grep "^ \* \[R\]" | grep -o "module: .*[^)]" | awk '{print $2}')
rebuild_apps=$(eb --allow-use-as-root-and-accept-consequences --dry-run-short --rebuild --easystack ${easystack_file} | grep "^ \* \[[FR]\]" | grep -o "module: .*[^)]" | awk '{print $2}')
for app in ${rebuild_apps}; do
# Returns e.g. /cvmfs/software.eessi.io/versions/2023.06/software/linux/x86_64/amd/zen2/modules/all:
app_modulepath=$(module --terse av ${app} 2>&1 | head -n 1 | sed 's/://')
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# 2025.02.15
# We need to update the module files for all CUDA installations to add
# additional directories to LIBRARY_PATH.
# See https://github.com/easybuilders/easybuild-easyblocks/pull/3516
easyconfigs:
- CUDA-12.1.1.eb:
options:
accept-eula-for: CUDA
force: True
include-easyblocks-from-commit: 3469151ce7e4f85415c877dee555aeea7691c757
- CUDA-12.4.0.eb:
options:
accept-eula-for: CUDA
include-easyblocks-from-commit: 3469151ce7e4f85415c877dee555aeea7691c757