Skip to content

Commit 965564a

Browse files
committed
Fix wrong use of size in osc/sm
Signed-off-by: Joseph Schuchart <[email protected]>
1 parent 862846b commit 965564a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ompi/mca/osc/sm/osc_sm_component.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,8 @@ component_select(struct ompi_win_t *win, void **base, size_t size, ptrdiff_t dis
287287
opal_output_verbose(MCA_BASE_VERBOSE_DEBUG, ompi_osc_base_framework.framework_output,
288288
"allocating window using contiguous strategy");
289289
}
290+
291+
total = size;
290292
ret = module->comm->c_coll->coll_allgather(&total, 1, MPI_UNSIGNED_LONG,
291293
rbuf, 1, MPI_UNSIGNED_LONG,
292294
module->comm,

0 commit comments

Comments
 (0)