Loading baseimage-centos-cuda/Dockerfile +9 −14 Original line number Diff line number Diff line FROM quay.io/centos/centos:stream8 #FROM quay.io/nvidia/cuda-ppc64le:11.0.3-cudnn8-devel-centos8 # install cuda 11.7.1 RUN dnf -y install epel-release && dnf -y install fakeroot RUN dnf clean all && rm -r /var/cache/dnf && fakeroot dnf upgrade -y && fakeroot dnf update -y RUN fakeroot dnf install -y wget dnf-plugins-core \ && fakeroot dnf config-manager --set-enabled powertools \ && wget https://developer.download.nvidia.com/compute/cuda/11.0.3/local_installers/cuda-repo-rhel8-11-0-local-11.0.3_450.51.06-1.ppc64le.rpm \ && fakeroot rpm -i cuda-repo-rhel8-11-0-local-11.0.3_450.51.06-1.ppc64le.rpm \ && wget https://developer.download.nvidia.com/compute/cuda/11.7.1/local_installers/cuda-repo-rhel8-11-7-local-11.7.1_515.65.01-1.ppc64le.rpm \ && fakeroot rpm -i cuda-repo-rhel8-11-7-local-11.7.1_515.65.01-1.ppc64le.rpm \ && fakeroot dnf -y module install nvidia-driver:latest-dkms \ && fakeroot dnf -y install cuda \ && fakeroot dnf -y install kernel-devel \ cuda-command-line-tools-11-0 \ cuda-command-line-tools-11-7-11.7.1-1.ppc64le \ java-11-openjdk-devel \ zip unzip \ python3-devel \ tzdata \ gpg \ glibc-devel \ && rm cuda-repo-rhel8-11-0-local-11.0.3_450.51.06-1.ppc64le.rpm \ && rm cuda-repo-rhel8-11-7-local-11.7.1_515.65.01-1.ppc64le.rpm \ && dnf -y clean all && rm -r /var/cache/dnf COPY libcudnn8-8.2.0.53-1.cuda11.3.ppc64le.rpm / COPY libcudnn8-devel-8.2.0.53-1.cuda11.3.ppc64le.rpm / RUN rpm -i /libcudnn8-8.2.0.53-1.cuda11.3.ppc64le.rpm \ && rpm -i /libcudnn8-devel-8.2.0.53-1.cuda11.3.ppc64le.rpm \ && rm /libcudnn8-8.2.0.53-1.cuda11.3.ppc64le.rpm /libcudnn8-devel-8.2.0.53-1.cuda11.3.ppc64le.rpm RUN fakeroot dnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel8/ppc64le/cuda-rhel8.repo RUN fakeroot dnf -y install cuda-nvcc-11-7-11.7.99-1.ppc64le libcudnn8-8.5.0.96-1.cuda11.7.ppc64le libcudnn8-devel-8.5.0.96-1.cuda11.7.ppc64le && dnf clean all && rm -r /var/cache/dnf # && dnf -y install tar wget git openssh ENV LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/cuda/compat:/usr/local/cuda/lib64/stubs:$LD_LIBRARY_PATH ENV PATH=/usr/local/cuda-11.0/bin:$PATH ENV LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH ENV PATH=/usr/local/cuda-11.7/bin:$PATH ENV CUDA_HOME="/usr/local/cuda" ENV CUDA_ROOT="/usr/local/cuda" ENV CPATH="/usr/local/cuda/include:$CPATH" Loading baseimage-centos-cuda/README.md +1 −1 Original line number Diff line number Diff line This image needs to be built somewhere where you have sudo or subuid/subgid mappings present Currently built with CUDA 11.0.3 libraries Currently built with CUDA 11.7.1 libraries for Summit because SMPI does not support CUDA >= 12. baseimage-centos-cuda/build +8 −1 Original line number Diff line number Diff line #!/bin/bash podman build -f Dockerfile -t code.ornl.gov:4567/olcfcontainers/olcfbaseimages/baseimage-centos-cuda:latest .; module purge module load DefApps module unload xl module load cuda/11.7.1 module list podman build --net=host -f Dockerfile -t code.ornl.gov:4567/olcfcontainers/olcfbaseimages/baseimage-centos-cuda:latest .; #podman push code.ornl.gov:4567/olcfcontainers/olcfbaseimages/baseimage-centos-cuda:latest; #podman save baseimage-centos-cuda.tar code.ornl.gov:4567/olcfcontainers/olcfbaseimages/baseimage-centos-cuda:latest; #singularity build baseimage-centos-cuda.sif docker-archive://baseimage-centos-cuda.tar; baseimage-centos-cuda/libcudnn8-8.2.0.53-1.cuda11.3.ppc64le.rpmdeleted 100644 → 0 −484 MiB File deleted. View file baseimage-centos-cuda/libcudnn8-devel-8.2.0.53-1.cuda11.3.ppc64le.rpmdeleted 100644 → 0 −386 MiB File deleted. View file Loading
baseimage-centos-cuda/Dockerfile +9 −14 Original line number Diff line number Diff line FROM quay.io/centos/centos:stream8 #FROM quay.io/nvidia/cuda-ppc64le:11.0.3-cudnn8-devel-centos8 # install cuda 11.7.1 RUN dnf -y install epel-release && dnf -y install fakeroot RUN dnf clean all && rm -r /var/cache/dnf && fakeroot dnf upgrade -y && fakeroot dnf update -y RUN fakeroot dnf install -y wget dnf-plugins-core \ && fakeroot dnf config-manager --set-enabled powertools \ && wget https://developer.download.nvidia.com/compute/cuda/11.0.3/local_installers/cuda-repo-rhel8-11-0-local-11.0.3_450.51.06-1.ppc64le.rpm \ && fakeroot rpm -i cuda-repo-rhel8-11-0-local-11.0.3_450.51.06-1.ppc64le.rpm \ && wget https://developer.download.nvidia.com/compute/cuda/11.7.1/local_installers/cuda-repo-rhel8-11-7-local-11.7.1_515.65.01-1.ppc64le.rpm \ && fakeroot rpm -i cuda-repo-rhel8-11-7-local-11.7.1_515.65.01-1.ppc64le.rpm \ && fakeroot dnf -y module install nvidia-driver:latest-dkms \ && fakeroot dnf -y install cuda \ && fakeroot dnf -y install kernel-devel \ cuda-command-line-tools-11-0 \ cuda-command-line-tools-11-7-11.7.1-1.ppc64le \ java-11-openjdk-devel \ zip unzip \ python3-devel \ tzdata \ gpg \ glibc-devel \ && rm cuda-repo-rhel8-11-0-local-11.0.3_450.51.06-1.ppc64le.rpm \ && rm cuda-repo-rhel8-11-7-local-11.7.1_515.65.01-1.ppc64le.rpm \ && dnf -y clean all && rm -r /var/cache/dnf COPY libcudnn8-8.2.0.53-1.cuda11.3.ppc64le.rpm / COPY libcudnn8-devel-8.2.0.53-1.cuda11.3.ppc64le.rpm / RUN rpm -i /libcudnn8-8.2.0.53-1.cuda11.3.ppc64le.rpm \ && rpm -i /libcudnn8-devel-8.2.0.53-1.cuda11.3.ppc64le.rpm \ && rm /libcudnn8-8.2.0.53-1.cuda11.3.ppc64le.rpm /libcudnn8-devel-8.2.0.53-1.cuda11.3.ppc64le.rpm RUN fakeroot dnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel8/ppc64le/cuda-rhel8.repo RUN fakeroot dnf -y install cuda-nvcc-11-7-11.7.99-1.ppc64le libcudnn8-8.5.0.96-1.cuda11.7.ppc64le libcudnn8-devel-8.5.0.96-1.cuda11.7.ppc64le && dnf clean all && rm -r /var/cache/dnf # && dnf -y install tar wget git openssh ENV LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/cuda/compat:/usr/local/cuda/lib64/stubs:$LD_LIBRARY_PATH ENV PATH=/usr/local/cuda-11.0/bin:$PATH ENV LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH ENV PATH=/usr/local/cuda-11.7/bin:$PATH ENV CUDA_HOME="/usr/local/cuda" ENV CUDA_ROOT="/usr/local/cuda" ENV CPATH="/usr/local/cuda/include:$CPATH" Loading
baseimage-centos-cuda/README.md +1 −1 Original line number Diff line number Diff line This image needs to be built somewhere where you have sudo or subuid/subgid mappings present Currently built with CUDA 11.0.3 libraries Currently built with CUDA 11.7.1 libraries for Summit because SMPI does not support CUDA >= 12.
baseimage-centos-cuda/build +8 −1 Original line number Diff line number Diff line #!/bin/bash podman build -f Dockerfile -t code.ornl.gov:4567/olcfcontainers/olcfbaseimages/baseimage-centos-cuda:latest .; module purge module load DefApps module unload xl module load cuda/11.7.1 module list podman build --net=host -f Dockerfile -t code.ornl.gov:4567/olcfcontainers/olcfbaseimages/baseimage-centos-cuda:latest .; #podman push code.ornl.gov:4567/olcfcontainers/olcfbaseimages/baseimage-centos-cuda:latest; #podman save baseimage-centos-cuda.tar code.ornl.gov:4567/olcfcontainers/olcfbaseimages/baseimage-centos-cuda:latest; #singularity build baseimage-centos-cuda.sif docker-archive://baseimage-centos-cuda.tar;
baseimage-centos-cuda/libcudnn8-8.2.0.53-1.cuda11.3.ppc64le.rpmdeleted 100644 → 0 −484 MiB File deleted. View file
baseimage-centos-cuda/libcudnn8-devel-8.2.0.53-1.cuda11.3.ppc64le.rpmdeleted 100644 → 0 −386 MiB File deleted. View file