Skip to content

Commit 8197ce9

Browse files
authored
Merge pull request #12302 from hppritcha/github_action_mpi4py_no_multi
github act/mpi4py disable multi proc runs
2 parents e53e700 + f14a738 commit 8197ce9

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

.github/workflows/ompi_mpi4py.yaml

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -92,20 +92,24 @@ jobs:
9292
if: ${{ true }}
9393
- name: Test mpi4py (np=1)
9494
run: mpiexec -n 1 python test/main.py -v
95-
- name: Test mpi4py (np=2)
96-
run: mpiexec -n 2 python test/main.py -v -f
97-
- name: Test mpi4py (np=3)
98-
run: mpiexec -n 3 python test/main.py -v -f
99-
if: ${{ true }}
100-
timeout-minutes: 20
101-
- name: Test mpi4py (np=4)
102-
run: mpiexec -n 4 python test/main.py -v -f
103-
if: ${{ true }}
104-
timeout-minutes: 20
105-
- name: Test mpi4py (np=5)
106-
run: mpiexec -n 5 python test/main.py -v -f
107-
if: ${{ true }}
108-
timeout-minutes: 20
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
109113
- name: Test mpi4py.run
110114
run: python demo/test-run/test_run.py -v
111115
if: ${{ true }}

0 commit comments

Comments
 (0)