Skip to content

Commit 9d65946

Browse files
committed
Merge pull request #1210 from artpol84/icbarrier_fix
Fix NBC iBarrier for inter-communicators.
2 parents 4b3dac5 + fc17dec commit 9d65946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/coll/libnbc/nbc_ibarrier.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ int ompi_coll_libnbc_ibarrier_inter(struct ompi_communicator_t *comm, ompi_reque
177177
}
178178

179179
/* inform remote peers that all local peers have entered the barrier */
180-
for (int peer = 0 ; peer < rsize ; ++peer) {
180+
for (int peer = 1; peer < rsize ; ++peer) {
181181
res = NBC_Sched_send (0, true, 1, MPI_BYTE, peer, schedule, false);
182182
if (OPAL_UNLIKELY(OMPI_SUCCESS != res)) {
183183
NBC_Return_handle (handle);

0 commit comments

Comments
 (0)