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

Update SLC9 GPU container #268

Merged
merged 1 commit into from
Nov 7, 2024
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
2 changes: 1 addition & 1 deletion slc9-gpu-builder/amdgpu.repo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[amdgpu]
name=amdgpu
baseurl=http://repo.radeon.com/amdgpu/6.2/rhel/9.4/main/x86_64/
baseurl=http://repo.radeon.com/amdgpu/6.2.4/rhel/9.4/main/x86_64/
enabled=1
gpgcheck=0
4 changes: 2 additions & 2 deletions slc9-gpu-builder/packer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"_comment": "Alma 9.4 GPU builder X-enabled CUDA12.6-enabled AMD ROCm 6.2.0-enabled",
"_comment": "Alma 9.4 GPU builder X-enabled CUDA12.6-enabled AMD ROCm 6.2.4-enabled",
"variables": {
"REPO": "registry.cern.ch/alisw/slc9-gpu-builder",
"TAG": "latest",
"CUDA_PKG_VERSION": "12-6-12.6.*",
"CUDA_PKG_VERSION": "12-6",
"NVIDIA_GPGKEY_SUM": "d0664fbbdb8c32356d45de36c5984617217b2d0bef41b93ccecd326ba3b80c87"
},
"builders": [
Expand Down
14 changes: 9 additions & 5 deletions slc9-gpu-builder/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,15 @@ echo "${NVIDIA_GPGKEY_SUM} /etc/pki/rpm-gpg/RPM-GPG-KEY-NVIDIA" | sha256sum -c
# rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux
dnf update -y
# Install requirements for GPU event display, NVIDIA CUDA and AMD ROCm stacks
dnf install -y freeglut-devel lsof "cuda-cudart-$CUDA_PKG_VERSION" 'cuda-compat-12-0-*' \
"cuda-libraries-$CUDA_PKG_VERSION" "cuda-nvtx-$CUDA_PKG_VERSION" \
"cuda-libraries-devel-$CUDA_PKG_VERSION" "cuda-nvml-devel-$CUDA_PKG_VERSION" \
"cuda-minimal-build-$CUDA_PKG_VERSION" "cuda-command-line-tools-$CUDA_PKG_VERSION" \
hip-rocclr ocl-icd ocl-icd-devel hipcub rocthrust rocm-dev hipify-clang
CUV=${CUDA_PKG_VERSION}-${CUDA_PKG_VERSION/-/.}.*
dnf install -y freeglut-devel lsof \
"cuda-cudart-$CUV" 'cuda-compat-12-0-*' "cuda-libraries-$CUV" "cuda-nvtx-$CUV" \
"cuda-libraries-devel-$CUV" "cuda-nvml-devel-$CUV" "cuda-minimal-build-$CUV" \
"cuda-command-line-tools-$CUV" \
"cudnn9-cuda-$CUDA_PKG_VERSION" \
hip-rocclr ocl-icd ocl-icd-devel hipcub rocthrust rocm-dev hipify-clang \
hiprand-devel hipblas-devel hipsparse-devel rocblas-devel rocrand-devel \
miopen-hip-devel hipfft-devel rccl-devel migraphx-devel
# ROCm: Notice we do not need the version for ROCM because we target a specific distribution in rocm.repo

# Set up NVIDIA CUDA stack
Expand Down
2 changes: 1 addition & 1 deletion slc9-gpu-builder/rocm.repo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[ROCm]
name=ROCm
baseurl=http://repo.radeon.com/rocm/rhel9/6.2/main/
baseurl=http://repo.radeon.com/rocm/rhel9/6.2.4/main/
enabled=1
gpgcheck=0
Loading