Skip to content

Commit cc70d26

Browse files
committed
switch to openmpi in ci
1 parent fd210b6 commit cc70d26

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/cmake.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ on:
1212
jobs:
1313
buildTestAnalyze:
1414
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
15-
# The reason to use ubuntu-22.04: https://bugs.launchpad.net/ubuntu/+source/mpich/+bug/2072338
16-
runs-on: ubuntu-22.04
15+
# A known bug using MPICH ubuntu-24.04: https://bugs.launchpad.net/ubuntu/+source/mpich/+bug/2072338
16+
runs-on: ubuntu-24.04
1717
strategy:
1818
matrix:
1919
compiler:
@@ -41,7 +41,7 @@ jobs:
4141
- name: Install mpi
4242
run: |
4343
sudo apt-get update -yq
44-
sudo apt-get install -yq mpich libmpich-dev
44+
sudo apt-get install -yq openmpi-bin libopenmpi-dev
4545
4646
- name: ADIOS2 Create Build Environment
4747
run: /usr/bin/cmake -E make_directory ${{runner.workspace}}/build-adios2
@@ -147,6 +147,7 @@ jobs:
147147
run: /usr/bin/cmake $GITHUB_WORKSPACE/redev
148148
-DCMAKE_CXX_COMPILER=mpicxx
149149
-DCMAKE_C_COMPILER=mpicc
150+
-DMPIEXEC_PREFLAGS="--oversubscribe"
150151
-DCMAKE_BUILD_TYPE=${{matrix.build_type}}
151152
-DADIOS2_DIR=${{runner.workspace}}/build-adios2/install/lib/cmake/adios2/
152153
-DADIOS2_HAVE_SST=ON

0 commit comments

Comments
 (0)