# ch-test-scope: full
FROM mpich

RUN dnf install -y which \
 && dnf clean all

# Compile the Intel MPI benchmark
WORKDIR /usr/local/src
ARG IMB_VERSION=2018.1
RUN git clone --branch v$IMB_VERSION --depth 1 \
              https://github.com/intel/mpi-benchmarks \
 && cd mpi-benchmarks/src \
 && make CC=mpicc -j$(getconf _NPROCESSORS_ONLN) -f make_ict
