1
1
openmpi/oshmem
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
..
include OSHMEM/API/C11: fixed API macro 2018-08-23 09:36:52 +03:00
info oshmem: Fix scan coverity issues 2015-12-02 12:49:19 +02:00
mca SCOLL/BASIC: Fix invalid pSync pointer passed to barrier func 2018-10-31 12:22:19 +02:00
op SHMEM/ATOMIC: refactoring of module API 2018-07-04 14:40:14 +03:00
proc oshmem: refactor group cache 2018-02-22 11:48:06 +02:00
request Fix the OSHMEM request padding. 2017-06-01 18:30:02 -04:00
runtime Miscellaneous compiler warning stomps. 2018-09-21 14:35:51 -05:00
shmem shmem/lock: progress communications while waiting for shmem_lock 2018-09-27 11:42:34 +03:00
tools Miscellaneous compiler warnings fixes 2018-03-23 11:45:30 -07:00
util OSHMEM: fixes verbosity log level cal 2016-11-06 11:56:42 +02:00
Makefile.am build: Custom libmpi(_FOO) name option in configure 2016-09-29 21:47:24 -05:00