Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions .github/ci/spack-envs/gcc13_py312_mpich_h5_ad2/spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ spack:
variants: +mpi
mpich:
externals:
- spec: [email protected].0
prefix: /usr
- spec: [email protected].1
prefix: /usr/local
buildable: False
perl:
externals:
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/dependencies/install_mpich
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
#

set -eu -o pipefail

mpich_ver="4.3.0"

cd /opt
wget https://www.mpich.org/static/downloads/${mpich_ver}/mpich-${mpich_ver}.tar.gz
tar -xzf mpich-${mpich_ver}.tar.gz
cd mpich-${mpich_ver}
./configure --prefix=/usr/local
make -j 4
make -j 4 install
cd ..
rm -rf mpich-${mpich_ver} mpich-${mpich_ver}.tar.gz
11 changes: 7 additions & 4 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,7 @@ jobs:
# ADIOS2 v2.10
gcc13_py312_mpich_h5_ad2:
runs-on: ubuntu-24.04
# disabled because of unclear runtime issues
if: 0
#if: github.event.pull_request.draft == false
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v4
- name: Spack Cache
Expand All @@ -174,8 +172,13 @@ jobs:
run: |
sudo apt-get update
sudo apt-get remove openmpi* libopenmpi* *hdf5* || true
sudo apt-get install g++ gfortran libmpich-dev mpich python3
sudo apt-get install g++ gfortran python3
sudo .github/workflows/dependencies/install_spack

# Need to build this manually due to broken MPICH package in Ubuntu 24.04
# https://bugs.launchpad.net/ubuntu/+source/mpich/+bug/2072338
sudo .github/workflows/dependencies/install_mpich

- name: Build
env: {CC: gcc, CXX: g++, MPICH_CC: gcc, MPICH_CXX: g++, CXXFLAGS: -Werror}
run: |
Expand Down
Loading