update dockerfile

This commit is contained in:
xlliu-scitix 2025-12-21 10:48:36 +00:00
parent d5d08b99cc
commit eb04f2127a
2 changed files with 4 additions and 4 deletions

View File

@ -74,8 +74,8 @@ RUN apt-mark unhold libnccl2 libnccl-dev || true && \
RUN wget https://download.open-mpi.org/release/open-mpi/v${MPI_SERIES}/openmpi-${MPI_VERSION}.tar.gz && \
tar zxvf openmpi-${MPI_VERSION}.tar.gz && \
cd openmpi-${MPI_VERSION} && \
./configure --prefix=/usr/local/sihpc --with-cuda=/usr/local/cuda && \
make -j$(nproc) && make install && \
./configure --prefix=/usr/local/sihpc --with-cuda=/usr/local/cuda > /dev/null && \
make -j$(nproc) > /dev/null && make install && \
rm -rf /workspace/openmpi-${MPI_VERSION} /workspace/openmpi-${MPI_VERSION}.tar.gz
# -------------------------

View File

@ -71,8 +71,8 @@ RUN apt-get install -y --no-install-recommends \
RUN wget https://download.open-mpi.org/release/open-mpi/v${MPI_SERIES}/openmpi-${MPI_VERSION}.tar.gz && \
tar zxvf openmpi-${MPI_VERSION}.tar.gz && \
cd openmpi-${MPI_VERSION} && \
./configure --prefix=/usr/local/sihpc --with-cuda=/usr/local/cuda && \
make -j$(nproc) && make install && \
./configure --prefix=/usr/local/sihpc --with-cuda=/usr/local/cuda > /dev/null && \
make -j$(nproc) > /dev/null && make install && \
rm -rf /workspace/openmpi-${MPI_VERSION} /workspace/openmpi-${MPI_VERSION}.tar.gz
# -------------------------