Skip to content

Commit 4b3dac5

Browse files
committed
Merge pull request #1216 from artpol84/icgatherv_fix
Fix NBC iGatherv for inter-communicators.
2 parents 7cfd7d5 + 2d0919d commit 4b3dac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/coll/libnbc/nbc_igatherv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ int ompi_coll_libnbc_igatherv_inter (const void* sendbuf, int sendcount, MPI_Dat
118118
NBC_Handle *handle;
119119
ompi_coll_libnbc_module_t *libnbc_module = (ompi_coll_libnbc_module_t*) module;
120120

121-
rsize = ompi_comm_size (comm);
121+
rsize = ompi_comm_remote_size (comm);
122122

123123
if (MPI_ROOT == root) {
124124
res = ompi_datatype_type_extent(recvtype, &rcvext);

0 commit comments

Comments
 (0)