Skip to content
Snippets Groups Projects
Select Git revision
  • f533ad13aa68481fe87471d25a2bedff48bf0827
  • master default protected
2 results

testWAV.wav

user avatar
Gilles Gouaillardet authored
Because MPI_Sendrecv_replace() uses PMPI_Sendrecv() with MPI_PACKED
under the hood, the data to be exchanged size = MPI_Type_size(datatype) * count
must fit in a signed integer.
Otherwise, PMPI_Sendrecv()
 - fails with an error message if (int)size < 0
 - silently truncate the data if (int)size >= 0

Refs. open-mpi/ompi#8862

Thanks Jakub Benda for reporting this issue and suggesting a fix.

Signed-off-by: default avatarGilles Gouaillardet <gilles@rist.or.jp>
6a11873e
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.