Skip to content

Commit 4ad4757

Browse files
committed
Revert "We shall try installin MPICH from Spack for now"
This reverts commit 33b847f.
1 parent 2472b23 commit 4ad4757

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/ci/spack-envs/gcc13_py312_mpich_h5_ad2/spack.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ spack:
2020
buildable: False
2121
hdf5:
2222
variants: +mpi
23+
mpich:
24+
externals:
25+
- spec: mpich@4.2.0
26+
prefix: /usr
27+
buildable: False
2328
perl:
2429
externals:
2530
- spec: perl@5.38.2

.github/workflows/linux.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,20 +172,19 @@ jobs:
172172
run: |
173173
sudo apt-get update
174174
sudo apt-get remove openmpi* libopenmpi* *hdf5* || true
175-
sudo apt-get install g++ gfortran python3
175+
sudo apt-get install g++ gfortran libmpich-dev mpich python3
176176
sudo .github/workflows/dependencies/install_spack
177177
- name: Build
178178
env: {CC: gcc, CXX: g++, MPICH_CC: gcc, MPICH_CXX: g++, CXXFLAGS: -Werror}
179179
run: |
180180
cmake --version
181+
mpiexec --version
182+
mpicxx --version
181183
perl --version
182184
python --version
183185
eval $(spack env activate --sh .github/ci/spack-envs/gcc13_py312_mpich_h5_ad2/)
184186
spack install
185187
186-
mpiexec --version
187-
mpicxx --version
188-
189188
share/openPMD/download_samples.sh build
190189
cmake -S . -B build \
191190
-DopenPMD_USE_PYTHON=OFF \

0 commit comments

Comments
 (0)