From 4b507b8320c1edd7582bcde0bc08c034c6e45474 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..7908497ca57 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