Skip to content

Commit

Permalink
docker: make sure mpi4py version requirement is met using the require…
Browse files Browse the repository at this point in the history
…ment file
  • Loading branch information
mloubout committed Apr 15, 2024
1 parent 0f35ff9 commit 74577c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile.devito
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ RUN python3 -m venv /venv && \
/venv/bin/pip install --no-cache-dir --upgrade pip && \
/venv/bin/pip install --no-cache-dir jupyter && \
/venv/bin/pip install --no-cache-dir wheel && \
eval $MPI4PY_FLAGS /venv/bin/pip install --no-cache-dir mpi4py && \
/venv/bin/pip install --no-cache-dir -e /app/devito[extras,mpi,tests] && \
eval "$MPI4PY_FLAGS /venv/bin/pip install --no-cache-dir -r /app/devito/requirements-mpi.txt" && \
/venv/bin/pip install --no-cache-dir -e /app/devito[extras,tests] && \
rm -rf ~/.cache/pip

# Usefull utilities
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.intel
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ RUN apt-get update -y && apt-get dist-upgrade -y && \
# Development packages
libigc-dev intel-igc-cm libigdfcl-dev libigfxcmrt-dev level-zero-dev

ENV MPI4PY_FLAGS='. /opt/intel/oneapi/setvars.sh intel64'
ENV MPI4PY_FLAGS='. /opt/intel/oneapi/setvars.sh intel64 && '

##############################################################
# ICC image
Expand Down

0 comments on commit 74577c2

Please sign in to comment.