Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Commit 2ae10a5

Browse files
committed
coll/base: fix ompi_coll_base_allgatherv_intra_basic_default() with MPI_IN_PLACE
(cherry picked from commit open-mpi/ompi@a0a999e)
1 parent 0beee26 commit 2ae10a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ompi/mca/coll/base/coll_base_allgatherv.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,7 @@ ompi_coll_base_allgatherv_intra_basic_default(const void *sbuf, int scount,
625625
for (i = 0; i < rank; ++i) {
626626
send_buf += ((ptrdiff_t)rcounts[i] * extent);
627627
}
628+
scount = rcounts[rank];
628629
} else {
629630
send_buf = (char*)sbuf;
630631
send_type = sdtype;

0 commit comments

Comments
 (0)