Skip to content

Commit dac0a06

Browse files
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 f5d2a82 commit dac0a06

File tree

3 files changed

+25
-6
lines changed

3 files changed

+25
-6
lines changed

.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
@@ -162,9 +162,7 @@ jobs:
162162
# ADIOS2 v2.10
163163
gcc13_py312_mpich_h5_ad2:
164164
runs-on: ubuntu-24.04
165-
# disabled because of unclear runtime issues
166-
if: 0
167-
#if: github.event.pull_request.draft == false
165+
if: github.event.pull_request.draft == false
168166
steps:
169167
- uses: actions/checkout@v4
170168
- name: Spack Cache
@@ -174,8 +172,13 @@ jobs:
174172
run: |
175173
sudo apt-get update
176174
sudo apt-get remove openmpi* libopenmpi* *hdf5* || true
177-
sudo apt-get install g++ gfortran libmpich-dev mpich python3
175+
sudo apt-get install g++ gfortran python3
178176
sudo .github/workflows/dependencies/install_spack
177+
178+
# Need to build this manually due to broken MPICH package in Ubuntu 24.04
179+
# https://bugs.launchpad.net/ubuntu/+source/mpich/+bug/2072338
180+
sudo .github/workflows/dependencies/install_mpich
181+
179182
- name: Build
180183
env: {CC: gcc, CXX: g++, MPICH_CC: gcc, MPICH_CXX: g++, CXXFLAGS: -Werror}
181184
run: |

0 commit comments

Comments
 (0)