Skip to content

Commit d27ce4e

Browse files
committed
gha/mpi4py: Re-enable multi proc runs
1 parent 980eb50 commit d27ce4e

File tree

1 file changed

+21
-20
lines changed

1 file changed

+21
-20
lines changed

.github/workflows/ompi_mpi4py.yaml

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: GitHub Action CI
1+
name: GitHub Action CI - mpi4py
22

33
on: [pull_request]
44

@@ -29,7 +29,6 @@ jobs:
2929
run: ./configure
3030
--disable-dependency-tracking
3131
--disable-sphinx
32-
--disable-man-pages
3332
--disable-mpi-fortran
3433
--disable-oshmem
3534
--enable-debug
@@ -90,26 +89,28 @@ jobs:
9089
- name: Test mpi4py (singleton)
9190
run: python test/main.py -v
9291
if: ${{ true }}
92+
9393
- name: Test mpi4py (np=1)
9494
run: mpiexec -n 1 python test/main.py -v
95-
#
96-
# unfortunately these multi-rank tests aren't reliable enough to
97-
# run in github actions right now.
98-
#
99-
# - name: Test mpi4py (np=2)
100-
# run: mpiexec -n 2 python test/main.py -v -f
101-
# - name: Test mpi4py (np=3)
102-
# run: mpiexec -n 3 python test/main.py -v -f
103-
# if: ${{ true }}
104-
# timeout-minutes: 20
105-
# - name: Test mpi4py (np=4)
106-
# run: mpiexec -n 4 python test/main.py -v -f
107-
# if: ${{ true }}
108-
# timeout-minutes: 20
109-
# - name: Test mpi4py (np=5)
110-
# run: mpiexec -n 5 python test/main.py -v -f
111-
# if: ${{ true }}
112-
# timeout-minutes: 20
95+
96+
- name: Test mpi4py (np=2)
97+
run: mpiexec -n 2 python test/main.py -v -f
98+
99+
- name: Test mpi4py (np=3)
100+
run: mpiexec -n 3 python test/main.py -v -f
101+
if: ${{ true }}
102+
timeout-minutes: 20
103+
104+
- name: Test mpi4py (np=4)
105+
run: mpiexec -n 4 python test/main.py -v -f
106+
if: ${{ true }}
107+
timeout-minutes: 20
108+
109+
- name: Test mpi4py (np=5)
110+
run: mpiexec -n 5 python test/main.py -v -f
111+
if: ${{ true }}
112+
timeout-minutes: 20
113+
113114
- name: Test mpi4py.run
114115
run: python demo/test-run/test_run.py -v
115116
if: ${{ true }}

0 commit comments

Comments
 (0)