Loading baseimage-centos-cuda/Dockerfile +12 −11 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 RUN dnf clean all && rm -r /var/cache/dnf && dnf upgrade -y && dnf update -y \ && dnf -y install epel-release \ && dnf -y install fakeroot \ && dnf install -y wget dnf-plugins-core \ && dnf config-manager --set-enabled powertools \ 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 \ && rpm -i cuda-repo-rhel8-11-0-local-11.0.3_450.51.06-1.ppc64le.rpm \ && dnf -y module install nvidia-driver:latest-dkms \ && dnf -y install cuda \ && dnf -y install kernel-devel \ && fakeroot rpm -i cuda-repo-rhel8-11-0-local-11.0.3_450.51.06-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 \ java-11-openjdk-devel \ zip unzip \ Loading @@ -21,6 +20,7 @@ RUN dnf clean all && rm -r /var/cache/dnf && dnf upgrade -y && dnf update -y \ && rm cuda-repo-rhel8-11-0-local-11.0.3_450.51.06-1.ppc64le.rpm \ && dnf -y clean all && rm -r /var/cache/dnf RUN sleep 90 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 \ Loading @@ -28,7 +28,9 @@ RUN rpm -i /libcudnn8-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 # && 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 CUDA_HOME="/usr/local/cuda" ENV CUDA_ROOT="/usr/local/cuda" ENV CPATH="/usr/local/cuda/include:$CPATH" Loading @@ -36,5 +38,4 @@ ENV CUDNN_ROOT="/usr" ENV CUDNN_INCLUDE_DIR="${CUDNN_ROOT}/include" ENV CUDNN_LIB_DIR="${CUDNN_ROOT}/lib64" ENTRYPOINT ["/bin/bash"] baseimage-centos-cuda/build_peak.sh 100644 → 100755 +0 −0 File mode changed from 100644 to 100755. View file mpiimage-centos-cuda/Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ RUN mkdir ${MOFED_DIR} COPY MLNX_OFED_LINUX-${MOFED_VER}-${OS_VER}-${PLATFORM}.tgz ${MOFED_DIR} RUN rm -rf /var/cache/dnf \ && dnf install -y perl lsof numactl-libs pciutils tk libnl3 python36 tcsh gcc-gfortran tcl libmnl ethtool \ && fakeroot dnf install -y perl lsof numactl-libs pciutils tk libnl3 python36 tcsh gcc-gfortran tcl libmnl ethtool \ && fakeroot dnf -y install tar wget git openssh \ && dnf clean all RUN cd ${MOFED_DIR} && \ Loading tensorflowimage-centos-cuda/Dockerfile.mpiimagebase_peak +8 −8 Original line number Diff line number Diff line Loading @@ -3,9 +3,9 @@ FROM code.ornl.gov:4567/76a/olcfbaseimages/mpiimage-centos-cuda:latest ARG mpi_root RUN dnf install -y dnf-plugins-core \ && dnf config-manager --set-enabled powertools RUN dnf -y install \ RUN fakeroot dnf install -y dnf-plugins-core \ && fakeroot dnf config-manager --set-enabled powertools RUN fakeroot dnf -y install \ kernel-devel \ cuda-command-line-tools-11-0 \ java-11-openjdk-devel \ Loading @@ -17,12 +17,12 @@ RUN dnf -y install \ && dnf -y clean all # install cmake 3.15 RUN wget -q -P /tmp https://cmake.org/files/v3.15/cmake-3.15.7.tar.gz && \ cd /tmp && \ tar -xzf cmake-3.15.7.tar.gz && \ cd cmake-3.15.7 && \ RUN wget -q -P / https://cmake.org/files/v3.15/cmake-3.15.7.tar.gz && \ cd / && \ tar -xzf cmake-3.15.7.tar.gz --no-same-owner RUN cd /cmake-3.15.7 && \ ./bootstrap && make && make install && \ rm -rf /tmp/cmake-3.15.7 rm -rf /cmake-3.15.7 ENV CONDA_HOME="/opt/conda" Loading Loading
baseimage-centos-cuda/Dockerfile +12 −11 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 RUN dnf clean all && rm -r /var/cache/dnf && dnf upgrade -y && dnf update -y \ && dnf -y install epel-release \ && dnf -y install fakeroot \ && dnf install -y wget dnf-plugins-core \ && dnf config-manager --set-enabled powertools \ 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 \ && rpm -i cuda-repo-rhel8-11-0-local-11.0.3_450.51.06-1.ppc64le.rpm \ && dnf -y module install nvidia-driver:latest-dkms \ && dnf -y install cuda \ && dnf -y install kernel-devel \ && fakeroot rpm -i cuda-repo-rhel8-11-0-local-11.0.3_450.51.06-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 \ java-11-openjdk-devel \ zip unzip \ Loading @@ -21,6 +20,7 @@ RUN dnf clean all && rm -r /var/cache/dnf && dnf upgrade -y && dnf update -y \ && rm cuda-repo-rhel8-11-0-local-11.0.3_450.51.06-1.ppc64le.rpm \ && dnf -y clean all && rm -r /var/cache/dnf RUN sleep 90 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 \ Loading @@ -28,7 +28,9 @@ RUN rpm -i /libcudnn8-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 # && 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 CUDA_HOME="/usr/local/cuda" ENV CUDA_ROOT="/usr/local/cuda" ENV CPATH="/usr/local/cuda/include:$CPATH" Loading @@ -36,5 +38,4 @@ ENV CUDNN_ROOT="/usr" ENV CUDNN_INCLUDE_DIR="${CUDNN_ROOT}/include" ENV CUDNN_LIB_DIR="${CUDNN_ROOT}/lib64" ENTRYPOINT ["/bin/bash"]
baseimage-centos-cuda/build_peak.sh 100644 → 100755 +0 −0 File mode changed from 100644 to 100755. View file
mpiimage-centos-cuda/Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ RUN mkdir ${MOFED_DIR} COPY MLNX_OFED_LINUX-${MOFED_VER}-${OS_VER}-${PLATFORM}.tgz ${MOFED_DIR} RUN rm -rf /var/cache/dnf \ && dnf install -y perl lsof numactl-libs pciutils tk libnl3 python36 tcsh gcc-gfortran tcl libmnl ethtool \ && fakeroot dnf install -y perl lsof numactl-libs pciutils tk libnl3 python36 tcsh gcc-gfortran tcl libmnl ethtool \ && fakeroot dnf -y install tar wget git openssh \ && dnf clean all RUN cd ${MOFED_DIR} && \ Loading
tensorflowimage-centos-cuda/Dockerfile.mpiimagebase_peak +8 −8 Original line number Diff line number Diff line Loading @@ -3,9 +3,9 @@ FROM code.ornl.gov:4567/76a/olcfbaseimages/mpiimage-centos-cuda:latest ARG mpi_root RUN dnf install -y dnf-plugins-core \ && dnf config-manager --set-enabled powertools RUN dnf -y install \ RUN fakeroot dnf install -y dnf-plugins-core \ && fakeroot dnf config-manager --set-enabled powertools RUN fakeroot dnf -y install \ kernel-devel \ cuda-command-line-tools-11-0 \ java-11-openjdk-devel \ Loading @@ -17,12 +17,12 @@ RUN dnf -y install \ && dnf -y clean all # install cmake 3.15 RUN wget -q -P /tmp https://cmake.org/files/v3.15/cmake-3.15.7.tar.gz && \ cd /tmp && \ tar -xzf cmake-3.15.7.tar.gz && \ cd cmake-3.15.7 && \ RUN wget -q -P / https://cmake.org/files/v3.15/cmake-3.15.7.tar.gz && \ cd / && \ tar -xzf cmake-3.15.7.tar.gz --no-same-owner RUN cd /cmake-3.15.7 && \ ./bootstrap && make && make install && \ rm -rf /tmp/cmake-3.15.7 rm -rf /cmake-3.15.7 ENV CONDA_HOME="/opt/conda" Loading