1
1
openmpi/oshmem/shmem
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
..
c oshmem/scoll: fix shmem_collect32/64 for zero-size length 2019-01-02 12:15:01 +02:00
fortran oshmem/scoll: fix shmem_collect32/64 for zero-size length 2019-01-02 12:15:01 +02:00
man/man3 OSHMEM: v1.3: adds shmem_fetch and shmem_set AMOs 2016-09-25 12:03:42 +03:00
help-shmem-api.txt oshmem: Move help file for oshmem api one level up to 2015-08-25 12:52:34 +03:00
Makefile.am oshmem: Do not install help files in case oshmem is off 2015-09-10 15:49:45 +03:00
shmem_api_logger.h oshmem: __FUNCTION__ -> __func__ fixes 2015-08-05 05:39:38 -07:00
shmem_lock.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00