Skip to content

Commit 0a02491

Browse files
committed
Fix the access to the rcount array.
Somehow this has been missed during the MPI_Count upgrade of the collective API. Signed-off-by: George Bosilca <gbosilca@nvidia.com>
1 parent 1b7215a commit 0a02491

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/coll/base/coll_base_alltoallv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ mca_coll_base_alltoallv_intra_basic_inplace(const void *rbuf, ompi_count_array_t
9292
if( OPAL_UNLIKELY(opal_local_arch != ompi_proc->super.proc_convertor->master->remote_arch)) {
9393
packed_size = opal_datatype_compute_remote_size(&rdtype->super,
9494
ompi_proc->super.proc_convertor->master->remote_sizes);
95-
packed_size *= rcounts[right];
95+
packed_size *= ompi_count_array_get(rcounts, right);
9696
max_size = packed_size > max_size ? packed_size : max_size;
9797
}
9898
}

0 commit comments

Comments
 (0)