1
1
openmpi/oshmem/mca/scoll/basic
Yossi Itigin ad4b33336d oshmem/scoll: fix shmem_collect32/64 for zero-size length
Fixes scoll_basic failures with shmem_verifier, caused by recent changes
in handling of zero-size collectives.

- Check for zero-size length only for fixed size collect (shmem_fcollect),
  but not for variable-size collect (shmem_collect)
- Add 'nlong_type' parameter to internal broadcast function, to indicate
  whether the 'nlong' parameter is valid on non-root PEs, since it's
  used by shmem_collect algorithm. Before this change, some components
  assumed it's true (scoll_mpi) while others assumed it's false
  (scoll_basic).
- In scoll_basic, if nlong_type==false, do not exit if nlong==0, since
  this parameter may not be the same on all PEs.
- In scoll_mpi, fallback to scoll_basic if nlong_type==false, since MPI
  requires the 'count' argument of MPI_Bcast to be valid on all ranks.

(Picked from master 939162e)

Signed-off-by: Yossi Itigin <yosefe@mellanox.com>
2019-01-02 12:15:01 +02:00
..
Makefile.am mca: Dynamic components link against project lib 2017-08-24 11:56:16 -04:00
scoll_basic_alltoall.c OSHMEM/COLL: optimization on zero-length ops 2018-11-27 14:26:52 +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 oshmem/scoll: fix shmem_collect32/64 for zero-size length 2019-01-02 12:15:01 +02:00
scoll_basic_collect.c oshmem/scoll: fix shmem_collect32/64 for zero-size length 2019-01-02 12:15:01 +02: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 oshmem/scoll: fix shmem_collect32/64 for zero-size length 2019-01-02 12:15:01 +02:00
scoll_basic.h oshmem/scoll: fix shmem_collect32/64 for zero-size length 2019-01-02 12:15:01 +02:00