Skip to content

Commit cfcf8ab

Browse files
update openmpi/mpich versions
1 parent 0f41fda commit cfcf8ab

File tree

2 files changed

+22
-36
lines changed

2 files changed

+22
-36
lines changed

debian/Dockerfile

+11-18
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,14 @@ RUN apt-get update \
2222
python3-pip python3-dev python3-venv\
2323
# needed for openmp with clang
2424
libomp-dev \
25-
doxygen \
26-
&& pip3 --no-cache-dir install --upgrade pip \
27-
&& pip3 --no-cache-dir install pytest wheel setuptools cmakelang scipy numpy \
28-
&& rm -rf /var/lib/apt/lists/*
25+
doxygen
2926

3027
FROM debian_base AS debian_gcc_openmpi
3128

3229
# Build Options:
3330
# These options are passed to the steps below
34-
ARG OPENMPI_VERSION="4.1.3"
35-
ARG OPENMPI_MAJOR_VERSION="v4.1"
31+
ARG OPENMPI_VERSION="5.0.5"
32+
ARG OPENMPI_MAJOR_VERSION="v5.0"
3633
ARG OPENMPI_CONFIGURE_OPTIONS=""
3734
ARG OPENMPI_MAKE_OPTIONS="-j4"
3835

@@ -45,8 +42,7 @@ RUN mkdir /tmp/openmpi-src \
4542
&& CC=gcc CXX=g++ ./configure ${OPENMPI_CONFIGURE_OPTIONS} \
4643
&& make all ${OPENMPI_MAKE_OPTIONS} \
4744
&& make install \
48-
&& cd && rm -rf /tmp/openmpi-src && ldconfig \
49-
&& pip3 --no-cache-dir install mpi4py
45+
&& cd && rm -rf /tmp/openmpi-src && ldconfig
5046

5147
#### ADD DEFAULT USER ####
5248
ARG USER=mpi
@@ -61,8 +57,8 @@ FROM debian_base AS debian_clang_openmpi
6157

6258
# Build Options:
6359
# These options are passed to the steps below
64-
ARG OPENMPI_VERSION="4.1.3"
65-
ARG OPENMPI_MAJOR_VERSION="v4.1"
60+
ARG OPENMPI_VERSION="5.0.5"
61+
ARG OPENMPI_MAJOR_VERSION="v5.0"
6662
ARG OPENMPI_CONFIGURE_OPTIONS="--disable-mpi-fortran"
6763
ARG OPENMPI_MAKE_OPTIONS="-j4"
6864

@@ -75,8 +71,7 @@ RUN mkdir /tmp/openmpi-src \
7571
&& CC=clang CXX=clang++ ./configure ${OPENMPI_CONFIGURE_OPTIONS} \
7672
&& make all ${OPENMPI_MAKE_OPTIONS} \
7773
&& make install \
78-
&& cd && rm -rf /tmp/openmpi-src && ldconfig \
79-
&& pip3 --no-cache-dir install mpi4py
74+
&& cd && rm -rf /tmp/openmpi-src && ldconfig
8075

8176
#### ADD DEFAULT USER ####
8277
ARG USER=mpi
@@ -93,7 +88,7 @@ FROM debian_base AS debian_gcc_mpich
9388
# See installation guide of target MPICH version
9489
# Ex: http://www.mpich.org/static/downloads/3.4/mpich-3.4-installguide.pdf
9590
# These options are passed to the steps below
96-
ARG MPICH_VERSION="4.0.2"
91+
ARG MPICH_VERSION="4.2.2"
9792
ARG MPICH_CONFIGURE_OPTIONS="FFLAGS=-fallow-argument-mismatch FCFLAGS=-fallow-argument-mismatch --enable-shared"
9893
ARG MPICH_MAKE_OPTIONS="-j4"
9994

@@ -105,8 +100,7 @@ RUN mkdir /tmp/mpich-src && cd /tmp/mpich-src \
105100
&& CC=gcc CXX=g++ ./configure ${MPICH_CONFIGURE_OPTIONS} \
106101
&& make ${MPICH_MAKE_OPTIONS} \
107102
&& make install \
108-
&& cd && rm -rf /tmp/mpich-src && ldconfig \
109-
&& pip3 --no-cache-dir install mpi4py
103+
&& cd && rm -rf /tmp/mpich-src && ldconfig
110104

111105
#### ADD DEFAULT USER ####
112106
ARG USER=mpi
@@ -123,7 +117,7 @@ FROM debian_base AS debian_clang_mpich
123117
# See installation guide of target MPICH version
124118
# Ex: http://www.mpich.org/static/downloads/3.4/mpich-3.4-installguide.pdf
125119
# These options are passed to the steps below
126-
ARG MPICH_VERSION="4.0.2"
120+
ARG MPICH_VERSION="4.2.2"
127121
ARG MPICH_CONFIGURE_OPTIONS="--disable-f90 --disable-fc --disable-fortran --enable-shared"
128122
ARG MPICH_MAKE_OPTIONS="-j4"
129123

@@ -135,8 +129,7 @@ RUN mkdir /tmp/mpich-src && cd /tmp/mpich-src \
135129
&& CC=clang CXX=clang++ ./configure ${MPICH_CONFIGURE_OPTIONS} \
136130
&& make ${MPICH_MAKE_OPTIONS} \
137131
&& make install \
138-
&& cd && rm -rf /tmp/mpich-src && ldconfig \
139-
&& pip3 --no-cache-dir install mpi4py
132+
&& cd && rm -rf /tmp/mpich-src && ldconfig
140133

141134
#### ADD DEFAULT USER ####
142135
ARG USER=mpi

ubuntu/Dockerfile

+11-18
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,15 @@ RUN apt-get update \
2121
libsuitesparse-dev \
2222
libomp-dev \
2323
doxygen \
24-
python3-pip python3-dev python3-venv\
25-
&& pip3 --no-cache-dir install --upgrade pip \
26-
&& pip3 --no-cache-dir install pytest wheel setuptools cmakelang scipy numpy \
27-
&& rm -rf /var/lib/apt/lists/*
24+
python3-pip python3-dev python3-venv
2825

2926

3027
FROM ubuntu_base AS ubuntu_gcc_openmpi
3128

3229
# Build Options:
3330
# These options are passed to the steps below
34-
ARG OPENMPI_VERSION="4.1.3"
35-
ARG OPENMPI_MAJOR_VERSION="v4.1"
31+
ARG OPENMPI_VERSION="5.0.5"
32+
ARG OPENMPI_MAJOR_VERSION="v5.0"
3633
ARG OPENMPI_CONFIGURE_OPTIONS=""
3734
ARG OPENMPI_MAKE_OPTIONS="-j4"
3835

@@ -45,8 +42,7 @@ RUN mkdir /tmp/openmpi-src \
4542
&& CC=gcc CXX=g++ ./configure ${OPENMPI_CONFIGURE_OPTIONS} \
4643
&& make all ${OPENMPI_MAKE_OPTIONS} \
4744
&& make install \
48-
&& cd && rm -rf /tmp/openmpi-src && ldconfig \
49-
&& pip3 --no-cache-dir install mpi4py
45+
&& cd && rm -rf /tmp/openmpi-src && ldconfig
5046

5147
#### ADD DEFAULT USER ####
5248
ARG USER=mpi
@@ -61,8 +57,8 @@ FROM ubuntu_base AS ubuntu_clang_openmpi
6157

6258
# Build Options:
6359
# These options are passed to the steps below
64-
ARG OPENMPI_VERSION="4.1.3"
65-
ARG OPENMPI_MAJOR_VERSION="v4.1"
60+
ARG OPENMPI_VERSION="5.0.5"
61+
ARG OPENMPI_MAJOR_VERSION="v5.0"
6662
ARG OPENMPI_CONFIGURE_OPTIONS=""
6763
ARG OPENMPI_MAKE_OPTIONS="-j4"
6864

@@ -75,8 +71,7 @@ RUN mkdir /tmp/openmpi-src \
7571
&& CC=clang CXX=clang++ ./configure ${OPENMPI_CONFIGURE_OPTIONS} \
7672
&& make all ${OPENMPI_MAKE_OPTIONS} \
7773
&& make install \
78-
&& cd && rm -rf /tmp/openmpi-src && ldconfig \
79-
&& pip3 --no-cache-dir install mpi4py
74+
&& cd && rm -rf /tmp/openmpi-src && ldconfig
8075

8176
#### ADD DEFAULT USER ####
8277
ARG USER=mpi
@@ -94,7 +89,7 @@ FROM ubuntu_base AS ubuntu_gcc_mpich
9489
# See installation guide of target MPICH version
9590
# Ex: http://www.mpich.org/static/downloads/3.4/mpich-3.4-installguide.pdf
9691
# These options are passed to the steps below
97-
ARG MPICH_VERSION="4.0.2"
92+
ARG MPICH_VERSION="4.2.2"
9893
ARG MPICH_CONFIGURE_OPTIONS="FFLAGS=-fallow-argument-mismatch FCFLAGS=-fallow-argument-mismatch --enable-shared"
9994
ARG MPICH_MAKE_OPTIONS="-j4"
10095

@@ -106,8 +101,7 @@ RUN mkdir /tmp/mpich-src && cd /tmp/mpich-src \
106101
&& CC=gcc CXX=g++ ./configure ${MPICH_CONFIGURE_OPTIONS} \
107102
&& make ${MPICH_MAKE_OPTIONS} \
108103
&& make install \
109-
&& cd && rm -rf /tmp/mpich-src && ldconfig \
110-
&& pip3 --no-cache-dir install mpi4py
104+
&& cd && rm -rf /tmp/mpich-src && ldconfig
111105

112106
#### ADD DEFAULT USER ####
113107
ARG USER=mpi
@@ -123,7 +117,7 @@ FROM ubuntu_base AS ubuntu_clang_mpich
123117
# See installation guide of target MPICH version
124118
# Ex: http://www.mpich.org/static/downloads/3.4/mpich-3.4-installguide.pdf
125119
# These options are passed to the steps below
126-
ARG MPICH_VERSION="4.0.2"
120+
ARG MPICH_VERSION="4.2.2"
127121
ARG MPICH_CONFIGURE_OPTIONS="FFLAGS=-fallow-argument-mismatch FCFLAGS=-fallow-argument-mismatch --enable-shared"
128122
ARG MPICH_MAKE_OPTIONS="-j4"
129123

@@ -135,8 +129,7 @@ RUN mkdir /tmp/mpich-src && cd /tmp/mpich-src \
135129
&& CC=clang CXX=clang++ ./configure ${MPICH_CONFIGURE_OPTIONS} \
136130
&& make ${MPICH_MAKE_OPTIONS} \
137131
&& make install \
138-
&& cd && rm -rf /tmp/mpich-src && ldconfig \
139-
&& pip3 --no-cache-dir install mpi4py
132+
&& cd && rm -rf /tmp/mpich-src && ldconfig
140133

141134
#### ADD DEFAULT USER ####
142135
ARG USER=mpi

0 commit comments

Comments
 (0)