Skip to content

Commit 7a0945c

Browse files
committed
ompi/oshmem: fix bug in shmem_alltoall in mca/scoll/basic.
cherry picked from af32c30 Signed-off-by: Xin Zhao <[email protected]>
1 parent ad4849c commit 7a0945c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oshmem/mca/scoll/basic/scoll_basic_alltoall.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ static int _algorithm_simple(struct oshmem_group_t *group,
9999
rc = MCA_SPML_CALL(put(
100100
(void *)((char *)target + j * tst * nelems * element_size),
101101
nelems * element_size,
102-
(void *)((char *)source + i * sst * nelems * element_size),
102+
(void *)((char *)source + k * sst * nelems * element_size),
103103
pe_cur));
104104
if (OSHMEM_SUCCESS != rc) {
105105
break;

0 commit comments

Comments
 (0)