From 06ae92d3743459e9602c61a55b9004401190a7cb Mon Sep 17 00:00:00 2001 From: mloubout Date: Sun, 14 Apr 2024 17:43:24 -0400 Subject: [PATCH] docker: make sure mpi4py version requirement is met using the requirement file --- docker/Dockerfile.devito | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile.devito b/docker/Dockerfile.devito index 635e5d7899a..a161a23fc2b 100644 --- a/docker/Dockerfile.devito +++ b/docker/Dockerfile.devito @@ -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