1
1
openmpi/oshmem/mca/scoll/basic
Yossi Itigin 8a329a797c SCOLL/BASIC: Fix invalid pSync pointer passed to barrier func
mca_scoll_basic_alltoall() passed (pSync + 1) to barrier function, but
the value of _SHMEM_ALLTOALL_SYNC_SIZE is 1, which made the barrier
function use an invalid memory location. In particular, this location
was not initialized to _SHMEM_SYNC_VALUE, which broke the barrier
algorithm and it did not complete: One PE could read 0 from its peer and
assume the peer already started the barrier, and then write 1 to the
peer. Then, the peer entered the barrier and overwrote the 1 with 0, and
then it waited forever to see '1' in its pSync.

Found with shmem_verifier test suite.

(picked from master 6754bf1)

Signed-off-by: Yossi Itigin <yosefe@mellanox.com>
2018-10-31 12:22:19 +02:00
..
Makefile.am mca: Dynamic components link against project lib 2017-08-24 11:56:16 -04:00
scoll_basic_alltoall.c SCOLL/BASIC: Fix invalid pSync pointer passed to barrier func 2018-10-31 12:22:19 +02:00
scoll_basic_barrier.c OMPI/OSHMEM: add new functionality of OpenSHMEM v1.4. 2018-07-16 12:55:25 -07:00
scoll_basic_broadcast.c OMPI/OSHMEM: add new functionality of OpenSHMEM v1.4. 2018-07-16 12:55:25 -07:00
scoll_basic_collect.c OMPI/OSHMEM: add new functionality of OpenSHMEM v1.4. 2018-07-16 12:55:25 -07:00
scoll_basic_component.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
scoll_basic_module.c oshmem: Align OSHMEM API with spec v1.3 (Add scoll/alltoall interface) 2016-03-21 10:43:31 +02:00
scoll_basic_reduce.c OMPI/OSHMEM: add new functionality of OpenSHMEM v1.4. 2018-07-16 12:55:25 -07:00
scoll_basic.h oshmem: Align OSHMEM API with spec v1.3 (update scoll/basic) 2016-03-21 11:46:01 +02:00