Skip to content
Snippets Groups Projects
Commit 5af6b525 authored by Dirk Brömmel's avatar Dirk Brömmel
Browse files

Version bump

New version of compiler (12.2) and MPI, also adding JUBE to enable
trying for automated benchmarks.
parent d1bebde3
Branches
Tags
No related merge requests found
# lean base image to start from # lean base image to start from
FROM alpine:3.13 FROM alpine:3.17
# add labels # add labels
LABEL description="A PEPC build-image that contains all required tools\ LABEL description="A PEPC build-image that contains all required tools\
GCC/10.2.1 20201203 OpenMPI/4.1.1 linux/4.19.0" GCC/12.2.1 20220924 OpenMPI/4.1.4 JUBE"
LABEL version="1.0" LABEL version="1.1"
# install all required packages to build PEPC # install all required packages to build PEPC
# also get and build OpenMPI # also get and build OpenMPI
...@@ -16,18 +16,12 @@ RUN apk update && \ ...@@ -16,18 +16,12 @@ RUN apk update && \
build-base \ build-base \
git \ git \
gfortran \ gfortran \
openmpi-dev \
openmpi \
openssh \ openssh \
python3 ;\ python3 \
cd /tmp ;\ py3-pip ;\
wget https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.1.tar.gz ;\ pip3 install http://apps.fz-juelich.de/jsc/jube/jube2/download.php?version=latest
tar xzf openmpi-4.1.1.tar.gz ;\
cd openmpi-4.1.1/ ;\
./configure ;\
sed -i -e 's/linux\/unistd.h/unistd.h/' opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c ;\
make -j 4 ;\
make install ;\
cd /tmp ;\
rm -rf openmpi-4*
# try and have start dir? # try and have start dir?
WORKDIR /tmp WORKDIR /tmp
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment