Loading baseimage-centos-cuda/Dockerfile +5 −1 Original line number Diff line number Diff line FROM docker.io/nvidia/cuda-ppc64le:11.0.3-cudnn8-devel-centos8 RUN dnf -y upgrade && dnf -y install tar wget git openssh && dnf -y clean all RUN dnf -y install epel-release RUN dnf -y install fakeroot \ && dnf -y upgrade \ && dnf -y clean all # && dnf -y install tar wget git openssh ENV LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/cuda/compat:$LD_LIBRARY_PATH ENV CUDA_HOME="/usr/local/cuda" ENV CUDA_ROOT="/usr/local/cuda" Loading baseimage-centos-cuda/build_peak.sh 0 → 100644 +13 −0 Original line number Diff line number Diff line #!/bin/bash set -e module purge module load DefApps module load gcc/9.1.0 module -t list podman build --build-arg mpi_root=$MPI_ROOT -v $MPI_ROOT:$MPI_ROOT -f Dockerfile -t code.ornl.gov:4567/76a/olcfbaseimages/mpiimage-centos-cuda:latest . podman push code.ornl.gov:4567/76a/olcfbaseimages/mpiimage-centos-cuda:latest mpiimage-centos-cuda/Dockerfile +3 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,9 @@ RUN mkdir ${MOFED_DIR} # Need to find an easy way to pull from web COPY MLNX_OFED_LINUX-${MOFED_VER}-${OS_VER}-${PLATFORM}.tgz ${MOFED_DIR} RUN dnf install -y perl lsof numactl-libs pciutils tk libnl3 python36 tcsh gcc-gfortran tcl RUN dnf install -y perl lsof numactl-libs pciutils tk libnl3 python36 tcsh gcc-gfortran tcl \ && dnf -y install tar wget git openssh \ && dnf clean all RUN cd ${MOFED_DIR} && \ tar -xvf MLNX_OFED_LINUX-${MOFED_VER}-${OS_VER}-${PLATFORM}.tgz --no-same-owner && \ MLNX_OFED_LINUX-${MOFED_VER}-${OS_VER}-${PLATFORM}/mlnxofedinstall --user-space-only --without-fw-update --distro rhel8.2 -q && \ Loading mpiimage-centos-cuda/build.sh +2 −3 Original line number Diff line number Diff line Loading @@ -8,6 +8,5 @@ module load gcc/9.1.0 module -t list podman build --build-arg mpi_root=$MPI_ROOT -v $MPI_ROOT:$MPI_ROOT -f Dockerfile -t code.ornl.gov:4567/76a/olcfbaseimages/mpiimage-centos-cuda:latest . podman push code.ornl.gov:4567/76a/olcfbaseimages/mpiimage-centos-cuda:latest podman build -f Dockerfile -t code.ornl.gov:4567/76a/olcfbaseimages/baseimage-centos-cuda:latest . podman push code.ornl.gov:4567/76a/olcfbaseimages/baseimage-centos-cuda:latest Loading
baseimage-centos-cuda/Dockerfile +5 −1 Original line number Diff line number Diff line FROM docker.io/nvidia/cuda-ppc64le:11.0.3-cudnn8-devel-centos8 RUN dnf -y upgrade && dnf -y install tar wget git openssh && dnf -y clean all RUN dnf -y install epel-release RUN dnf -y install fakeroot \ && dnf -y upgrade \ && dnf -y clean all # && dnf -y install tar wget git openssh ENV LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/cuda/compat:$LD_LIBRARY_PATH ENV CUDA_HOME="/usr/local/cuda" ENV CUDA_ROOT="/usr/local/cuda" Loading
baseimage-centos-cuda/build_peak.sh 0 → 100644 +13 −0 Original line number Diff line number Diff line #!/bin/bash set -e module purge module load DefApps module load gcc/9.1.0 module -t list podman build --build-arg mpi_root=$MPI_ROOT -v $MPI_ROOT:$MPI_ROOT -f Dockerfile -t code.ornl.gov:4567/76a/olcfbaseimages/mpiimage-centos-cuda:latest . podman push code.ornl.gov:4567/76a/olcfbaseimages/mpiimage-centos-cuda:latest
mpiimage-centos-cuda/Dockerfile +3 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,9 @@ RUN mkdir ${MOFED_DIR} # Need to find an easy way to pull from web COPY MLNX_OFED_LINUX-${MOFED_VER}-${OS_VER}-${PLATFORM}.tgz ${MOFED_DIR} RUN dnf install -y perl lsof numactl-libs pciutils tk libnl3 python36 tcsh gcc-gfortran tcl RUN dnf install -y perl lsof numactl-libs pciutils tk libnl3 python36 tcsh gcc-gfortran tcl \ && dnf -y install tar wget git openssh \ && dnf clean all RUN cd ${MOFED_DIR} && \ tar -xvf MLNX_OFED_LINUX-${MOFED_VER}-${OS_VER}-${PLATFORM}.tgz --no-same-owner && \ MLNX_OFED_LINUX-${MOFED_VER}-${OS_VER}-${PLATFORM}/mlnxofedinstall --user-space-only --without-fw-update --distro rhel8.2 -q && \ Loading
mpiimage-centos-cuda/build.sh +2 −3 Original line number Diff line number Diff line Loading @@ -8,6 +8,5 @@ module load gcc/9.1.0 module -t list podman build --build-arg mpi_root=$MPI_ROOT -v $MPI_ROOT:$MPI_ROOT -f Dockerfile -t code.ornl.gov:4567/76a/olcfbaseimages/mpiimage-centos-cuda:latest . podman push code.ornl.gov:4567/76a/olcfbaseimages/mpiimage-centos-cuda:latest podman build -f Dockerfile -t code.ornl.gov:4567/76a/olcfbaseimages/baseimage-centos-cuda:latest . podman push code.ornl.gov:4567/76a/olcfbaseimages/baseimage-centos-cuda:latest