Skip to content

Commit

Permalink
Add MPI to latest GCC
Browse files Browse the repository at this point in the history
  • Loading branch information
alazzaro committed Dec 12, 2023
1 parent 40f943f commit 67488a9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tools/docker/Dockerfile.build-env-latest-gcc
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,19 @@ RUN set -ex ; \
unzip \
rsync \
valgrind \
openmpi-bin \
libopenmpi-dev \
mpich \
libmpich-dev \
; \
rm -rf /var/lib/apt/lists/* ; \
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8

# Remove LTO for MPICH (default now in Ubuntu >=22)
RUN set -ex ; \
for ff in /usr/lib/x86_64-linux-gnu/pkgconfig/mpich.pc /usr/bin/mpicc.mpich /usr/bin/mpicxx.mpich /usr/bin/mpif77.mpich /usr/bin/mpif90.mpich /usr/bin/mpifort.mpich; do \
sed -i -e 's/-flto=auto//g' -e 's/-ffat-lto-objects//g' ${ff}; \
done

# Make sure we have a proper unicode locale and language
ENV LANG en_US.utf8

0 comments on commit 67488a9

Please sign in to comment.