Skip to content
This repository was archived by the owner on Sep 25, 2022. It is now read-only.

bionic #36

Open
wants to merge 68 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
15a92cf
bionic
jbigot Dec 6, 2021
e15de88
Remove xenial, add gcc
jbigot Dec 6, 2021
530fac3
Added MPI
jbigot Dec 6, 2021
07f6a64
cmake
jbigot Dec 6, 2021
2684ce8
more verbose
jbigot Dec 6, 2021
ddb8a79
${SPACK_INSTALL_ARGS}
jbigot Dec 6, 2021
c05fde1
welcome to the matrix
jbigot Dec 6, 2021
7bf4512
libs
jbigot Dec 6, 2021
16ea830
fix
jbigot Dec 6, 2021
10038e9
target / reuse
jbigot Dec 6, 2021
c5cea1c
less para, more tests & logs
jbigot Dec 6, 2021
a1ca2f4
bootstrap messes with target arch
jbigot Dec 6, 2021
0c4a30f
...
jbigot Dec 7, 2021
690d32b
also use gcc-11
jbigot Dec 7, 2021
f0729b1
remove external gcc before reinstall
jbigot Dec 7, 2021
61d7e25
Fix unbuildable mesa
jbigot Dec 8, 2021
0002fe6
Provide both cmake-3.10 and latest in the same image
jbigot Dec 10, 2021
dc10962
use cache
jbigot Dec 10, 2021
223d2fa
no ~fortran on latest sionlib
jbigot Dec 10, 2021
24218da
Add clang
jbigot Dec 10, 2021
76cf5d3
Use default FC & F77, strip stuff
jbigot Dec 11, 2021
ce6170e
Aim for more reuse
jbigot Dec 12, 2021
7496002
Do not copy, reuse
jbigot Dec 13, 2021
9876085
Reworked
jbigot Dec 13, 2021
5b95239
do not confuse $COMPILER & $COMPSPEC
jbigot Dec 13, 2021
8d173bf
Remove old compiler, use new only
jbigot Dec 13, 2021
40a1255
Workaround openmpi clang/gfortran -fPIC issue
jbigot Dec 14, 2021
b4c1c4a
Do not add compiler after removing it
jbigot Dec 14, 2021
6f1abe2
Do not grep for just removed data
jbigot Dec 14, 2021
b9596b5
update spdlog min dep to 1.4.2
jbigot Dec 15, 2021
a3e12ac
finalize
jbigot Dec 16, 2021
86b8149
Run all tests until failure
jbigot Dec 16, 2021
dcbf184
run as user + pkgconf
jbigot Dec 17, 2021
327b15f
ghcr
jbigot Dec 17, 2021
671be8f
ghcr
jbigot Dec 17, 2021
63525c0
Workaround bug in FTI recipe
jbigot Dec 17, 2021
07734e7
FTI Fortran support is broken
jbigot Dec 18, 2021
933533d
Use FTI Fortran hotfix (but HDF5 detection is broken)
jbigot Dec 18, 2021
07a95ac
FTI fails to build with clang + gfortran
jbigot Dec 18, 2021
33b62ad
Workaround more FTI issues
jbigot Dec 18, 2021
c254bc0
chown
jbigot Dec 18, 2021
3e731f6
Better compsec, show loaded
jbigot Dec 18, 2021
74c4bcc
Cleanup
jbigot Dec 18, 2021
fc724f4
dedup
jbigot Dec 18, 2021
d9f10f3
Do not build pdicfg
jbigot Dec 19, 2021
21f938f
Use minimal valid paraconf
jbigot Dec 19, 2021
3ba9843
force re-checkout
jbigot Dec 22, 2021
30b42b1
add missing pyyaml
jbigot Dec 22, 2021
0f0c6a7
Add missing python3-wheel
jbigot Dec 22, 2021
2467530
Add missing libs and do not use too recent sionlib
jbigot Dec 22, 2021
3015c4d
OpenBLAS fails to build
jbigot Dec 22, 2021
8e3dd07
Add zpp
jbigot Dec 22, 2021
55c5f87
do not depend on gtest
jbigot Dec 22, 2021
b7f32a9
Update Dockerfile
jbigot Dec 22, 2021
7ac06bb
do not remove iconv, add googletest, add env. var. for MPI oversubscr…
jbigot Dec 23, 2021
578aba0
gmock
jbigot Dec 23, 2021
8547797
Workaround https://github.com/google/googletest/issues/3427
jbigot Dec 24, 2021
09deaf6
solve iconv detection
jbigot Dec 24, 2021
d5afb70
save space
jbigot Dec 24, 2021
2f89308
...
jbigot Dec 25, 2021
aacdb8c
Update Dockerfile
jbigot Dec 25, 2021
204354d
Update Dockerfile
jbigot Dec 25, 2021
a848b71
Update Dockerfile
jbigot Dec 25, 2021
0370c6c
Update latest.yaml
jbigot Dec 25, 2021
ce39f95
Update oldest.yaml
jbigot Dec 25, 2021
87cc133
Update latest.yaml
jbigot Dec 25, 2021
89c2d00
More workarounds
jbigot Dec 25, 2021
1bf4cf4
Add mpi4py everywhere
jbigot Dec 26, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/detect_version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
if [ "${GITHUB_EVENT_NAME}" == "pull_request" ]
then
BRANCH_NAME="${GITHUB_HEAD_REF}"
else
BRANCH_NAME="${GITHUB_REF/*\/}"
fi
echo "BRANCH_NAME=${BRANCH_NAME}"
set +e
if echo "${BRANCH_NAME}" | grep -qs '^v[0-9]*$' &> /dev/null
then
image_version="v$(echo "${BRANCH_NAME}" | sed 's%^v\([0-9]*\)$%\1%')"
else
image_version="v$(( 0$(git branch -r --merged | grep '^\s*origin/v[0-9]*\s*$' | sed 's%^\s*origin/v\([0-9]*\)\s*$%\1%' | sort -nu | head -n 1 ) +1 ))_pre_${GITHUB_SHA:0:7}"
fi
echo "image_version=${image_version}"
echo "image_version=${image_version}" >> $GITHUB_ENV
264 changes: 203 additions & 61 deletions .github/workflows/docker_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,82 +10,224 @@ on:
defaults:
run:
shell: bash
env:
MAKEFLAGS: -j 4
jobs:
build_xenial:
step1_build_base:
permissions:
packages: write
runs-on: ubuntu-latest
steps:
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Setup python deps
run: |
python3 -m pip install PyYAML
- uses: actions/checkout@v2
- name: checkout PDI master
run: |
git clone https://gitlab.maisondelasimulation.fr/pdidev/pdi.git pdi_repo
- name: detect current version
run: . .github/detect_version.sh
- name: build nodask
run: |
docker pull ghcr.io/pdidev/dockerfiles/pditst:nodask || true
docker build --pull \
--cache-from ghcr.io/pdidev/dockerfiles/pditst:nodask \
-t ghcr.io/pdidev/dockerfiles/pditst:nodask \
-t ghcr.io/pdidev/dockerfiles/pditst:nodask-${image_version} \
1-bionic
- name: publish nodask
env:
ACTOR: "${{ github.actor }}"
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
run: |
set -ex
echo ${GITHUB_TOKEN} | docker login ghcr.io -u ${ACTOR} --password-stdin
docker push ghcr.io/pdidev/dockerfiles/pditst:nodask
docker push ghcr.io/pdidev/dockerfiles/pditst:nodask-${image_version}
- name: build dask
run: |
if [ "${GITHUB_EVENT_NAME}" == "pull_request" ]
then
BRANCH_NAME="${GITHUB_HEAD_REF}"
else
BRANCH_NAME="${GITHUB_REF/*\/}"
fi
echo "BRANCH_NAME=${BRANCH_NAME}"
set +e
if echo "${BRANCH_NAME}" | grep -qs '^v[0-9]*$' &> /dev/null
then
image_version="$(echo "${BRANCH_NAME}" | sed 's%^v\([0-9]*\)$%\1%')"
else
image_version="$(( 0$(git branch -r --merged | grep '^\s*origin/v[0-9]*\s*$' | sed 's%^\s*origin/v\([0-9]*\)\s*$%\1%' | sort -nu | head -n 1 ) +1 ))"
fi
echo "image_version=${image_version}"
echo "image_version=v${image_version}" >> $GITHUB_ENV
- name: build xenial_cmake3.5
docker pull ghcr.io/pdidev/dockerfiles/pditst:nocompiler || true
docker build --pull \
--cache-from ghcr.io/pdidev/dockerfiles/pditst:nocompiler \
--build-arg "BASE_IMAGE=ghcr.io/pdidev/dockerfiles/pditst:nodask-${image_version}" \
-t ghcr.io/pdidev/dockerfiles/pditst:nocompiler \
-t ghcr.io/pdidev/dockerfiles/pditst:nocompiler-${image_version} \
2-spack
- name: publish dask
env:
ACTOR: "${{ github.actor }}"
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
run: |
echo ${GITHUB_TOKEN} | docker login ghcr.io -u ${ACTOR} --password-stdin
docker push ghcr.io/pdidev/dockerfiles/pditst:nocompiler
docker push ghcr.io/pdidev/dockerfiles/pditst:nocompiler-${image_version}
step2_build_compiler:
strategy:
matrix:
compiler: ['gcc_latest', 'gcc_7.5.0', 'clang_latest', 'clang_8.0.0']
needs: step1_build_base
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: detect current version
run: . .github/detect_version.sh
- name: build compiler
env:
COMPILER: "${{ matrix.compiler }}"
run: |
docker build -t pdidevel/xenial_cmake3.5 -t pdidevel/xenial_cmake3.5:${image_version} xenial_cmake3.5
- name: test xenial_cmake3.5
docker pull ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-nobaselibs || true
docker build --pull \
--cache-from ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-nobaselibs \
--build-arg "COMPILER=$(echo -n ${COMPILER} | sed -e s/_/@/ -e s/@latest//)" \
--build-arg "BASE_IMAGE=ghcr.io/pdidev/dockerfiles/pditst:nocompiler-${image_version}" \
-t ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-nobaselibs \
-t ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-nobaselibs-${image_version} \
3-compiler
- name: publish compiler
env:
ACTOR: "${{ github.actor }}"
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
COMPILER: "${{ matrix.compiler }}"
run: |
./pdi_repo/tools/build_scripts/test_in_docker github xenial_cmake3.5_embedded --no-pull
- name: build xenial_cmake3.10
echo ${GITHUB_TOKEN} | docker login ghcr.io -u ${ACTOR} --password-stdin
docker push ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-nobaselibs
docker push ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-nobaselibs-${image_version}
- name: build baselibs
env:
COMPILER: "${{ matrix.compiler }}"
run: |
docker build -t pdidevel/xenial_cmake3.10 -t pdidevel/xenial_cmake3.10:${image_version} xenial_cmake3.10
- name: test xenial_cmake3.10
docker pull ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-nompi || true
docker build --pull \
--cache-from ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-nompi \
--build-arg "BASE_IMAGE=ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-nobaselibs-${image_version}" \
-t ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-nompi \
-t ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-nompi-${image_version} \
4-baselibs
- name: publish baselibs
env:
ACTOR: "${{ github.actor }}"
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
COMPILER: "${{ matrix.compiler }}"
run: |
./pdi_repo/tools/build_scripts/test_in_docker github xenial_cmake3.10_embedded --no-pull
- name: build xenial_libs_cmake3.5
echo ${GITHUB_TOKEN} | docker login ghcr.io -u ${ACTOR} --password-stdin
docker push ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-nompi
docker push ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-nompi-${image_version}
step4_build_mpi:
strategy:
fail-fast: false
matrix:
compiler: ['gcc_latest', 'gcc_7.5.0', 'clang_latest', 'clang_8.0.0']
mpi: ['openmpi_latest', 'openmpi_2.1.1']
needs: step2_build_compiler
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: detect current version
run: . .github/detect_version.sh
- name: build
env:
COMPILER: "${{ matrix.compiler }}"
MPI: "${{ matrix.mpi }}"
run: |
docker build -t pdidevel/xenial_libs_cmake3.5 -t pdidevel/xenial_libs_cmake3.5:${image_version} xenial_libs_cmake3.5
- name: test xenial_libs_cmake3.5
docker pull ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-${MPI} || true
docker build --pull \
--cache-from ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-${MPI} \
--build-arg "BASE_IMAGE=ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-nompi-${image_version}" \
--build-arg "MPI=$(echo -n ${MPI} | sed -e s/_/@/ -e s/@latest//)" \
-t ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-${MPI} \
-t ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-${MPI}-${image_version} \
5-mpi
- name: publish
env:
ACTOR: "${{ github.actor }}"
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
COMPILER: "${{ matrix.compiler }}"
MPI: "${{ matrix.mpi }}"
run: |
./pdi_repo/tools/build_scripts/test_in_docker github xenial_cmake3.5_system --no-pull
- name: build xenial_libs_cmake3.10
echo ${GITHUB_TOKEN} | docker login ghcr.io -u ${ACTOR} --password-stdin
docker push ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-${MPI}
docker push ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-${MPI}-${image_version}
step5_build_libs:
strategy:
matrix:
compiler: ['gcc_latest', 'gcc_7.5.0', 'clang_latest', 'clang_8.0.0']
mpi: ['openmpi_latest', 'openmpi_2.1.1']
optlibs_version: ['latest', 'oldest']
needs: step4_build_mpi
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: detect current version
run: . .github/detect_version.sh
- name: build
env:
COMPILER: "${{ matrix.compiler }}"
MPI: "${{ matrix.mpi }}"
OPTLIBS_VERSION: "${{ matrix.optlibs_version }}"
run: |
docker build -t pdidevel/xenial_libs_cmake3.10 -t pdidevel/xenial_libs_cmake3.10:${image_version} xenial_libs_cmake3.10
- name: test xenial_libs_cmake3.10
docker pull ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-${MPI}-libs_${OPTLIBS_VERSION} || true
docker build --pull \
--cache-from ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-${MPI}-libs_${OPTLIBS_VERSION} \
--build-arg "BASE_IMAGE=ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-${MPI}-${image_version}" \
--build-arg "OPTLIBS_VERSION=${OPTLIBS_VERSION}" \
-t ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-${MPI}-libs_${OPTLIBS_VERSION} \
-t ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-${MPI}-libs_${OPTLIBS_VERSION}-${image_version} \
6-optlibs
- name: publish
env:
ACTOR: "${{ github.actor }}"
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
COMPILER: "${{ matrix.compiler }}"
MPI: "${{ matrix.mpi }}"
OPTLIBS_VERSION: "${{ matrix.optlibs_version }}"
run: |
./pdi_repo/tools/build_scripts/test_in_docker github xenial_cmake3.10_system --no-pull
- name: build xenial_pdi
echo ${GITHUB_TOKEN} | docker login ghcr.io -u ${ACTOR} --password-stdin
docker push ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-${MPI}-libs_${OPTLIBS_VERSION}
docker push ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-${MPI}-libs_${OPTLIBS_VERSION}-${image_version}
step6_finalize:
strategy:
fail-fast: false
matrix:
compiler: ['gcc_latest', 'gcc_7.5.0', 'clang_latest', 'clang_8.0.0']
mpi: ['openmpi_latest', 'openmpi_2.1.1']
libs: ['', '-libs_latest', '-libs_oldest']
cmake: ['[email protected]'] #, '[email protected]'
needs: step5_build_libs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: detect current version
run: . .github/detect_version.sh
- name: build
env:
COMPILER: "${{ matrix.compiler }}"
MPI: "${{ matrix.mpi }}"
LIBS: "${{ matrix.libs }}"
CMAKE: "${{ matrix.cmake }}"
run: |
cp -la pdi_repo xenial_pdi/
docker build -t pdidevel/xenial_pdi -t pdidevel/xenial_pdi:${image_version} xenial_pdi
sudo rm -rf /opt/az /opt/hostedtoolcache /usr/local/graalvm \
/usr/local/lib/android /usr/local/lib/node_modules \
/usr/local/.ghcup /usr/share/dotnet /usr/share/swift
docker build --pull \
--build-arg "BASE_IMAGE=ghcr.io/pdidev/dockerfiles/pditst:nodask-${image_version}" \
--build-arg "SPACK_IMAGE=ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-${MPI}${LIBS}-${image_version}" \
--build-arg "CMAKE=${CMAKE}" \
-t ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-${MPI}-${CMAKE/@/_}${LIBS} \
-t ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-${MPI}-${CMAKE/@/_}${LIBS}-${image_version} \
-t pdidev/pditst:${COMPILER}-${MPI}-${CMAKE/@/_}${LIBS}-${image_version} \
7-finalize
- name: publish
if: ${{ github.event_name == 'push' }}
env:
DOCKER_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
ACTOR: "${{ github.actor }}"
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
COMPILER: "${{ matrix.compiler }}"
MPI: "${{ matrix.mpi }}"
LIBS: "${{ matrix.libs }}"
CMAKE: "${{ matrix.cmake }}"
run: |
echo ${GITHUB_TOKEN} | docker login ghcr.io -u ${ACTOR} --password-stdin
docker push ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-${MPI}-${CMAKE/@/_}${LIBS}
docker push ghcr.io/pdidev/dockerfiles/pditst:${COMPILER}-${MPI}-${CMAKE/@/_}${LIBS}-${image_version}
- name: public publish
if: "${{ github.event_name == 'push' }}"
env:
DOCKER_TOKEN: "${{ secrets.DOCKERHUB_TOKEN }}"
COMPILER: "${{ matrix.compiler }}"
MPI: "${{ matrix.mpi }}"
LIBS: "${{ matrix.libs }}"
CMAKE: "${{ matrix.cmake }}"
run: |
docker login -u jbigot -p "${DOCKER_TOKEN}"
docker push pdidevel/xenial_cmake3.5
docker push pdidevel/xenial_cmake3.10
docker push pdidevel/xenial_libs_cmake3.5
docker push pdidevel/xenial_libs_cmake3.10
docker push pdidevel/xenial_pdi
docker push pdidevel/xenial_cmake3.5:${image_version}
docker push pdidevel/xenial_cmake3.10:${image_version}
docker push pdidevel/xenial_libs_cmake3.5:${image_version}
docker push pdidevel/xenial_libs_cmake3.10:${image_version}
docker push pdidevel/xenial_pdi:${image_version}
echo ${DOCKER_TOKEN} | docker login -u jbigot --password-stdin
docker push pdidev/pditst:${COMPILER}-${MPI}-${CMAKE/@/_}${LIBS}-${image_version}
52 changes: 52 additions & 0 deletions 1-bionic/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
FROM ubuntu:18.04

LABEL org.opencontainers.image.source = "https://github.com/pdidev/dockerfiles"

ENV DOCKERFILE_BASE=ubuntu \
DOCKERFILE_DISTRO=ubuntu \
DOCKERFILE_DISTRO_VERSION=18.04 \
DEBIAN_FRONTEND=noninteractive \
HOME=/root \
LANG=en_US.UTF-8 \
LANGUAGE=en_US.UTF-8 \
LC_ALL=en_US.UTF-8 \
SPACK_ROOT=/opt/spack \
container=docker
ENV SPACK_HOME=${HOME}/.spack

WORKDIR ${HOME}

RUN set -ex \
&& apt-get update -y \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends \
build-essential \
ca-certificates \
curl \
file \
g++ \
gcc \
gfortran \
git \
gnupg2 \
iproute2 \
libssl-dev \
locales \
make \
python3 \
python3-dev \
python3-pip \
python3-setuptools \
python3-venv \
tcl \
unzip \
&& apt-get autoremove -y \
&& apt-get clean -y \
&& apt-get autoclean -y \
&& rm -rf /var/lib/apt/lists/* /run/nologin \
&& locale-gen ${LC_ALL} \
&& [ -f ~/.profile ] && ( sed -i 's/mesg n/( tty -s \&\& mesg n || true )/g' ~/.profile || true ) \
&& pip3 --no-cache-dir install boto3 \
&& ln -s ${SPACK_ROOT}/share/spack/docker/entrypoint.bash /usr/local/bin/docker-shell \
&& ln -s ${SPACK_ROOT}/share/spack/docker/entrypoint.bash /usr/local/bin/interactive-shell \
&& ln -s ${SPACK_ROOT}/share/spack/docker/entrypoint.bash /usr/local/bin/spack-env
20 changes: 20 additions & 0 deletions 2-spack/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
ARG BASE_IMAGE

FROM ${BASE_IMAGE}

ENV CURRENTLY_BUILDING_DOCKER_IMAGE=1

RUN mkdir -p ${SPACK_ROOT}
RUN git clone --depth 1 https://github.com/spack/spack.git ${SPACK_ROOT}
RUN rm -rf ${SPACK_ROOT}/.git

SHELL ["docker-shell"]
ENTRYPOINT ["/bin/bash", "/opt/spack/share/spack/docker/entrypoint.bash"]
CMD ["interactive-shell"]

RUN mkdir -p ${SPACK_HOME}
RUN spack external find --not-buildable
RUN spack spec hdf5+mpi
RUN spack reindex
RUN spack config add "packages:all:target:[x86_64]"
RUN sed 's/target:.*/target: x86_64/' -i ${SPACK_HOME}/linux/compilers.yaml
Loading