Skip to content

Commit

Permalink
Merge pull request #822 from bedroge/cuda_12.4.0
Browse files Browse the repository at this point in the history
{2023.06}[2023b] CUDA 12.4.0 and UCX-CUDA 1.15.0
  • Loading branch information
trz42 authored Nov 26, 2024
2 parents db16c37 + 3091a31 commit 85b088a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
easyconfigs:
- CUDA-12.4.0.eb:
options:
accept-eula-for: CUDA
- UCX-CUDA-1.15.0-GCCcore-13.2.0-CUDA-12.4.0.eb
5 changes: 5 additions & 0 deletions eb_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,11 @@ def post_postproc_cuda(self, *args, **kwargs):
for word in line.split():
if any(ext in word for ext in file_extensions):
allowlist.append(os.path.splitext(word)[0])
# The EULA of CUDA 12.4 introduced a typo (confirmed by NVIDIA):
# libnvrtx-builtins_static.so should be libnvrtc-builtins_static.so
if 'libnvrtx-builtins_static' in allowlist:
allowlist.remove('libnvrtx-builtins_static')
allowlist.append('libnvrtc-builtins_static')
allowlist = sorted(set(allowlist))
self.log.info("Allowlist for files in CUDA installation that can be redistributed: " + ', '.join(allowlist))

Expand Down
1 change: 1 addition & 0 deletions install_scripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ copy_files_by_list ${TOPDIR}/scripts/gpu_support/nvidia ${INSTALL_PREFIX}/script
# Easystacks to be used to install software in host injections
host_injections_easystacks=(
eessi-2023.06-eb-4.9.4-2023a-CUDA-host-injections.yml
eessi-2023.06-eb-4.9.4-2023b-CUDA-host-injections.yml
)
copy_files_by_list ${TOPDIR}/scripts/gpu_support/nvidia/easystacks \
${INSTALL_PREFIX}/scripts/gpu_support/nvidia/easystacks "${host_injections_easystacks[@]}"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This EasyStack provides a list of all the EasyConfigs that should be installed in host_injections
# for nvidia GPU support, because they cannot (fully) be shipped as part of EESSI due to license constraints
easyconfigs:
- CUDA-12.4.0.eb

0 comments on commit 85b088a

Please sign in to comment.