File: Dockerfile_test_openmpi

package info (click to toggle)
eztrace 2.2.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,012 kB
  • sloc: ansic: 37,703; sh: 1,246; cpp: 1,181; perl: 910; makefile: 738; fortran: 327; f90: 320; python: 124
file content (27 lines) | stat: -rw-r--r-- 931 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM debian:bookworm

# Install build tools
RUN apt update \
  && apt install -y build-essential cmake wget git gawk

# Install OTF2 in /opt/otf2 and make otf-print available
RUN wget http://perftools.pages.jsc.fz-juelich.de/cicd/otf2/tags/otf2-2.3/otf2-2.3.tar.gz -P /tmp \
&& (cd /tmp  && tar xzf /tmp/otf2-2.3.tar.gz) \
&& (cd /tmp/otf2-2.3 && ./configure  --prefix=/usr/local&& make  &&make install) \
&& rm -rf /tmp/otf2-2.3


# Install Opari2 in /usr/local
RUN wget http://perftools.pages.jsc.fz-juelich.de/cicd/opari2/tags/opari2-2.0.6/opari2-2.0.6.tar.gz -P /tmp \
&& (cd /tmp && tar xzf /tmp/opari2-2.0.6.tar.gz) \
&& (cd /tmp/opari2-2.0.6 && ./configure --prefix=/usr/local && make  &&make install) \
&& rm -rf /tmp/opari2-2.0.6

# Install OpenMPI
RUN apt install -y openmpi-bin openmpi-common libopenmpi-dev

# Install Clang
RUN apt install -y clang libomp-dev

# Install StarPU
RUN apt install -y libstarpu-dev pkgconf