update dockefile

This commit is contained in:
xlliu-scitix 2025-12-21 10:56:28 +00:00
parent eb04f2127a
commit 2225d3f05e
3 changed files with 5 additions and 5 deletions

View File

@ -39,7 +39,7 @@ jobs:
sudo docker system prune -af || true
df -h
- name: Build run package
- name: Build run package
run: |
BUILD_DATE=$(date +%Y%m%d)

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 > /dev/null && \
make -j$(nproc) > /dev/null && make install && \
./configure --prefix=/usr/local/sihpc --with-cuda=/usr/local/cuda > /dev/null 2>&1 && \
make -j$(nproc) > /dev/null 2>&1 && 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 > /dev/null && \
make -j$(nproc) > /dev/null && make install && \
./configure --prefix=/usr/local/sihpc --with-cuda=/usr/local/cuda > /dev/null 2>&1 && \
make -j$(nproc) > /dev/null 2>&1 && make install && \
rm -rf /workspace/openmpi-${MPI_VERSION} /workspace/openmpi-${MPI_VERSION}.tar.gz
# -------------------------