[Mpi-forum] Datatypes for all-to-all collectives on intercomms

2019-04-30 Thread Michael Knobloch via mpi-forum
Hi all, when looking at the semantics of all-to-all collectives on intercomms I came to a point that isn't entirely clear from the standard: Am I'm allowed to use different datatypes for each communication direction, i.e. send MPI_INTEGERS from group A to group B and MPI_DOUBLES from B to A? The

Re: [Mpi-forum] Datatypes for all-to-all collectives on intercomms

2019-04-30 Thread HOLMES Daniel via mpi-forum
Hi Michael, Personally, I would read and summarise the current MPI text about this as these two restrictions: The type map described by {sendcount, sendtype} in A must be consistent with the type map described by {recvcount, recvtype} in B, e.g. {4, MPI_INTEGER} in A and {1, strided_4_integers

Re: [Mpi-forum] Datatypes for all-to-all collectives on intercomms

2019-04-30 Thread Michael Knobloch via mpi-forum
Dan, thanks, that was my understanding as well, as otherwise it would make little sense. Would it make sense to clarify that in the standard? -Michael On 30.04.19 12:33, HOLMES Daniel wrote: > Hi Michael, > > Personally, I would read and summarise the current MPI text about this > as these two