Skip to content

Commit 24431bb

Browse files
committed
Use OpenMPI instead of MPICH on Ubuntu in CI
The mpi4py/setup-mpi action applies a hotfix for a broken MPICH package on Ubuntu 24.04 (Launchpad #2072338) by downloading a patch via curl. This curl step intermittently fails with a connection reset, breaking otherwise-unrelated CI runs. Switching to OpenMPI avoids the hotfix path entirely and is consistent with the openmpi packages already installed by the Linux system dependencies step.
1 parent e0742a6 commit 24431bb

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/full-test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v6
2323
- uses: mpi4py/setup-mpi@v1
24+
if: startsWith(matrix.os, 'ubuntu')
25+
with:
26+
mpi: openmpi
27+
- uses: mpi4py/setup-mpi@v1
28+
if: startsWith(matrix.os, 'windows')
2429
- name: Set up Python ${{ matrix.python-version }}
2530
uses: actions/setup-python@v6
2631
with:

0 commit comments

Comments
 (0)