Skip to content

Commit

Permalink
change configure
Browse files Browse the repository at this point in the history
  • Loading branch information
joezuntz committed Sep 3, 2024
1 parent 4d3bdfb commit c1201b8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion txpipe-min-failing/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,16 @@ RUN apt-get update -y \
# We need a C compiler temporarily to install MPICH.
# Then we install following instructions at
# https://docs.nersc.gov/development/containers/shifter/how-to-use/#using-mpi-in-shifter
# We remove the installation afterwards
RUN apt-get update -y \
&& DEBIAN_FRONTEND="noninteractive" apt-get install -y gcc gfortran \
&& mkdir /opt/mpich \
&& cd /opt/mpich \
&& wget http://www.mpich.org/static/downloads/${MPI_VERSION}/mpich-${MPI_VERSION}.tar.gz \
&& tar xvzf mpich-${MPI_VERSION}.tar.gz \
&& cd mpich-${MPI_VERSION} \
&& ./configure --disable-wrapper-rpath --disable-cxx --with-device=ch3 && make \
&& ./configure \
&& make \
&& make install \
&& rm -rf /opt/mpich \
&& apt-get remove --purge -y gcc gfortran
Expand All @@ -30,4 +32,5 @@ RUN /sbin/ldconfig

# check we are using the conda python
RUN which python3
RUN python3 --version
RUN python3 -m pip install mpi4py

0 comments on commit c1201b8

Please sign in to comment.