Skip to content

Commit

Permalink
build: Use bash while building OpenMPI
Browse files Browse the repository at this point in the history
  • Loading branch information
Eta0 committed Oct 31, 2024
1 parent 5eb42b7 commit d6c65e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile.ubuntu22
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ RUN cd /tmp && \
rm -r /opt/hpcx/ompi

# Rebuild OpenMPI to support SLURM
SHELL ["/bin/bash", "-c"]
RUN source /opt/hpcx/hpcx-init.sh && \
hpcx_load && \
cd /opt/hpcx/sources && \
Expand All @@ -135,6 +136,7 @@ RUN source /opt/hpcx/hpcx-init.sh && \
make -j20 install && \
cd .. && \
rm -r openmpi-gitclone
SHELL ["/bin/sh", "-c"]


FROM base
Expand Down

0 comments on commit d6c65e4

Please sign in to comment.