Skip to content

Commit f39f4e4

Browse files
committed
mpich: Throttle polling under high PPN
1 parent 0b34825 commit f39f4e4

File tree

6 files changed

+10
-16
lines changed

6 files changed

+10
-16
lines changed

.github/workflows/abi.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@ jobs:
220220

221221
- name: Test mpi4py (singleton)
222222
run: python test/main.py -v
223-
if: ${{ true }}
224223
- name: Test mpi4py (np=1)
225224
run: mpiexec -n 1 python test/main.py -v
226225
- name: Test mpi4py (np=2)
@@ -234,12 +233,14 @@ jobs:
234233
timeout-minutes: 10
235234
- name: Test mpi4py (np=5)
236235
run: mpiexec -n 5 python test/main.py -v -f
237-
if: ${{ !contains(matrix.mpi-git, 'mpich') }}
238236
timeout-minutes: 10
237+
env:
238+
MPIR_CVAR_POLLS_BEFORE_YIELD: 1
239+
MPIR_CVAR_CH4_PROGRESS_THROTTLE: true
240+
MPIR_CVAR_CH4_PROGRESS_THROTTLE_NO_PROGRESS_COUNT: 1
239241

240242
- name: Test mpi4py.futures (singleton)
241243
run: python demo/futures/test_futures.py -v
242-
if: ${{ true }}
243244
- name: Test mpi4py.futures (np=1)
244245
run: mpiexec -n 1 python demo/futures/test_futures.py -v
245246
- name: Test mpi4py.futures (np=2)

.github/workflows/impi.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ jobs:
105105

106106
- name: Test mpi4py (singleton)
107107
run: python test/main.py -v
108-
if: ${{ true }}
109108
- name: Test mpi4py (np=1)
110109
run: mpiexec -n 1 python test/main.py -v
111110
- name: Test mpi4py (np=2)
@@ -119,12 +118,11 @@ jobs:
119118
timeout-minutes: 10
120119
- name: Test mpi4py (np=5)
121120
run: mpiexec -n 5 python test/main.py -v -f
122-
if: ${{ false }}
123121
timeout-minutes: 10
122+
if: ${{ false }}
124123

125124
- name: Test mpi4py.futures (singleton)
126125
run: python demo/futures/test_futures.py -v
127-
if: ${{ true }}
128126
- name: Test mpi4py.futures (np=1)
129127
run: mpiexec -n 1 python demo/futures/test_futures.py -v
130128
- name: Test mpi4py.futures (np=2)

.github/workflows/mpich.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ jobs:
149149

150150
- name: Test mpi4py (singleton)
151151
run: python test/main.py -v
152-
if: ${{ true }}
153152
- name: Test mpi4py (np=1)
154153
run: mpiexec -n 1 python test/main.py -v
155154
- name: Test mpi4py (np=2)
@@ -163,12 +162,14 @@ jobs:
163162
timeout-minutes: 10
164163
- name: Test mpi4py (np=5)
165164
run: mpiexec -n 5 python test/main.py -v -f
166-
if: ${{ matrix.device == 'ch3:sock' }}
167165
timeout-minutes: 10
166+
env:
167+
MPIR_CVAR_POLLS_BEFORE_YIELD: 1
168+
MPIR_CVAR_CH4_PROGRESS_THROTTLE: true
169+
MPIR_CVAR_CH4_PROGRESS_THROTTLE_NO_PROGRESS_COUNT: 1
168170

169171
- name: Test mpi4py.futures (singleton)
170172
run: python demo/futures/test_futures.py -v
171-
if: ${{ true }}
172173
- name: Test mpi4py.futures (np=1)
173174
run: mpiexec -n 1 python demo/futures/test_futures.py -v
174175
- name: Test mpi4py.futures (np=2)

.github/workflows/msmpi.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ jobs:
100100

101101
- name: Test mpi4py (singleton)
102102
run: python test/main.py -v
103-
if: ${{ true }}
104103
- name: Test mpi4py (np=1)
105104
run: mpiexec -n 1 python test/main.py -v
106105
- name: Test mpi4py (np=2)
@@ -114,12 +113,10 @@ jobs:
114113
timeout-minutes: 10
115114
- name: Test mpi4py (np=5)
116115
run: mpiexec -n 5 python test/main.py -v -f
117-
if: ${{ true }}
118116
timeout-minutes: 10
119117

120118
- name: Test mpi4py.futures (singleton)
121119
run: python demo/futures/test_futures.py -v
122-
if: ${{ true }}
123120
- name: Test mpi4py.futures (np=1)
124121
run: mpiexec -n 1 python demo/futures/test_futures.py -v
125122
- name: Test mpi4py.futures (np=2)

.github/workflows/mvapich.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ jobs:
156156
timeout-minutes: 10
157157
- name: Test mpi4py (np=5)
158158
run: mpiexec -n 5 python test/main.py -v -f
159-
if: ${{ matrix.device == 'ch3:sock' }}
160159
timeout-minutes: 10
160+
if: ${{ matrix.device == 'ch3:sock' }}
161161

162162
- name: Test mpi4py.futures (singleton)
163163
run: python demo/futures/test_futures.py -v

.github/workflows/openmpi.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ jobs:
143143

144144
- name: Test mpi4py (singleton)
145145
run: python test/main.py -v
146-
if: ${{ true }}
147146
- name: Test mpi4py (np=1)
148147
run: mpiexec -n 1 python test/main.py -v
149148
- name: Test mpi4py (np=2)
@@ -157,12 +156,10 @@ jobs:
157156
timeout-minutes: 10
158157
- name: Test mpi4py (np=5)
159158
run: mpiexec -n 5 python test/main.py -v -f
160-
if: ${{ true }}
161159
timeout-minutes: 10
162160

163161
- name: Test mpi4py.futures (singleton)
164162
run: python demo/futures/test_futures.py -v
165-
if: ${{ true }}
166163
- name: Test mpi4py.futures (np=1)
167164
run: mpiexec -n 1 python demo/futures/test_futures.py -v
168165
- name: Test mpi4py.futures (np=2)

0 commit comments

Comments
 (0)