Skip to content

Commit

Permalink
Allow MPI oversubscribe in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
krivenko committed Oct 3, 2023
1 parent ac11cb2 commit 50b4673
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ USER root
RUN useradd -m -s /bin/bash -u 999 build && echo "build:build" | chpasswd
RUN apt-get update && \
apt-get install -y --no-install-recommends make g++-12 apt-utils file
RUN sh -c 'echo -e "\nrmaps_base_oversubscribe = 1" >> \
/etc/openmpi/openmpi-mca-params.conf'

COPY requirements.txt /src/$APPNAME/requirements.txt
RUN pip3 install -r /src/$APPNAME/requirements.txt
Expand Down

0 comments on commit 50b4673

Please sign in to comment.