Skip to content

Commit

Permalink
Merge pull request #456 from hiddenSymmetries/ml/shifter_mpi4py_fix
Browse files Browse the repository at this point in the history
Force mpi4py < 4 in Dockerfile due to shifter problem
  • Loading branch information
landreman authored Nov 13, 2024
2 parents 27a76cf + b1d9931 commit f29bc28
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ci/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ RUN python3 -m pip install wheel
RUN python3 -m venv /venv/

RUN /venv/bin/pip install -U pip
RUN /venv/bin/python -m pip install numpy scipy jax jaxlib f90nml mpi4py jupyter notebook ipython qsc sympy scikit-build ninja "pybind11[global]" cmake f90wrap h5py
# 2024-11-12 MJL: mpi4py < 4.0 in the next line is due to
# https://github.com/hiddenSymmetries/simsopt/issues/455
# Once NERSC gets Shifter working with mpi4py >= 4 we can remove this inequality
RUN /venv/bin/python -m pip install numpy scipy jax jaxlib f90nml "mpi4py<4.0" jupyter notebook ipython qsc sympy scikit-build ninja "pybind11[global]" cmake f90wrap h5py
ENV PATH="/venv/bin:${PATH}"

RUN git clone --depth 1 https://github.com/PrincetonUniversity/SPEC.git /src/SPEC && \
Expand Down

0 comments on commit f29bc28

Please sign in to comment.