mirror of
https://github.com/NVIDIA/nccl-tests.git
synced 2026-04-23 16:08:20 +08:00
update dockerfile
This commit is contained in:
parent
0b7aeaf09b
commit
ea941cea48
@ -71,7 +71,7 @@ RUN apt-mark unhold libnccl2 libnccl-dev || true && \
|
||||
# -------------------------
|
||||
# 4. Build OpenMPI from source
|
||||
# -------------------------
|
||||
RUN wget https://download.open-mpi.org/release/open-mpi/v${MPI_SERIES}/openmpi-${MPI_VERSION}.tar.gz && \
|
||||
RUN wget https://download.open-mpi.org/release/open-mpi/v${MPI_SERIES}/openmpi-${MPI_VERSION}.tar.gz > /dev/null 2>&1 && \
|
||||
tar zxvf openmpi-${MPI_VERSION}.tar.gz > /dev/null 2>&1 && \
|
||||
cd openmpi-${MPI_VERSION} && \
|
||||
./configure --prefix=/usr/local/sihpc --with-cuda=/usr/local/cuda > /dev/null 2>&1 && \
|
||||
|
||||
@ -68,7 +68,7 @@ RUN apt-get install -y --no-install-recommends \
|
||||
# -------------------------
|
||||
# 4. Build OpenMPI from source
|
||||
# -------------------------
|
||||
RUN wget https://download.open-mpi.org/release/open-mpi/v${MPI_SERIES}/openmpi-${MPI_VERSION}.tar.gz && \
|
||||
RUN wget https://download.open-mpi.org/release/open-mpi/v${MPI_SERIES}/openmpi-${MPI_VERSION}.tar.gz > /dev/null 2>&1 && \
|
||||
tar zxvf openmpi-${MPI_VERSION}.tar.gz > /dev/null 2>&1 && \
|
||||
cd openmpi-${MPI_VERSION} && \
|
||||
./configure --prefix=/usr/local/sihpc --with-cuda=/usr/local/cuda > /dev/null 2>&1 && \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user