Skip to content

Commit 6a174d6

Browse files
committed
Reactivate MPICH runner (gcc13_py312_mpich_h5_ad2) (#1739)
* Revert "CI: Disable MPICH for now" This reverts commit de9e7ad. * We shall try installin MPICH from Spack for now Ubuntu package broken https://bugs.launchpad.net/ubuntu/+source/mpich/+bug/2072338 * Take out version checks * Revert "Take out version checks" This reverts commit b22e4b3. * Revert "We shall try installin MPICH from Spack for now" This reverts commit 33b847f. * Alternative approach: self-compiled MPICH * Move MPICH installation to separate file
1 parent b800efd commit 6a174d6

3 files changed

Lines changed: 25 additions & 6 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ spack:
2222
variants: +mpi
2323
mpich:
2424
externals:
25-
- spec: mpich@4.2.0
26-
prefix: /usr
25+
- spec: mpich@4.2.1
26+
prefix: /usr/local
2727
buildable: False
2828
perl:
2929
externals:
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/usr/bin/env bash
2+
#
3+
4+
set -eu -o pipefail
5+
6+
mpich_ver="4.3.0"
7+
8+
cd /opt
9+
wget https://www.mpich.org/static/downloads/${mpich_ver}/mpich-${mpich_ver}.tar.gz
10+
tar -xzf mpich-${mpich_ver}.tar.gz
11+
cd mpich-${mpich_ver}
12+
./configure --prefix=/usr/local
13+
make -j 4
14+
make -j 4 install
15+
cd ..
16+
rm -rf mpich-${mpich_ver} mpich-${mpich_ver}.tar.gz

.github/workflows/linux.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,7 @@ jobs:
165165
# ADIOS2 v2.10
166166
gcc13_py312_mpich_h5_ad2:
167167
runs-on: ubuntu-24.04
168-
# disabled because of unclear runtime issues
169-
if: 0
170-
#if: github.event.pull_request.draft == false
168+
if: github.event.pull_request.draft == false
171169
steps:
172170
- uses: actions/checkout@v4
173171
- name: Spack Cache
@@ -177,8 +175,13 @@ jobs:
177175
run: |
178176
sudo apt-get update
179177
sudo apt-get remove openmpi* libopenmpi* *hdf5* || true
180-
sudo apt-get install g++ gfortran libmpich-dev mpich python3
178+
sudo apt-get install g++ gfortran python3
181179
sudo .github/workflows/dependencies/install_spack
180+
181+
# Need to build this manually due to broken MPICH package in Ubuntu 24.04
182+
# https://bugs.launchpad.net/ubuntu/+source/mpich/+bug/2072338
183+
sudo .github/workflows/dependencies/install_mpich
184+
182185
- name: Build
183186
env: {CC: gcc, CXX: g++, MPICH_CC: gcc, MPICH_CXX: g++, CXXFLAGS: -Werror}
184187
run: |

0 commit comments

Comments
 (0)