next up previous contents
Next: Global Reduction Operations Up: Collective Communication Previous: Gather-to-all   Contents

All-to-All Scatter/Gather

void Intracomm.Alltoall(Object sendbuf, int sendoffset,
                        int sendcount, Datatype sendtype,
                        Object recvbuf, int recvoffset,
                        int [] recvcount, Datatype recvtype)
Java binding of the MPI operation MPI_ALLTOALL. The value sendoffset is a subscript in sendbuf, defining the position of the first item of the data to be scattered. The value recvoffset is a subscript in recvbuf, defining the position into which the first item of the gathered data will be copied.

void Intracomm.Alltoallv(Object sendbuf, int sendoffset,
                         int [] sendcount, int [] sdispls,
                         Datatype sendtype,
                         Object recvbuf, int recvoffset,
                         int [] recvcount, int [] rdispls,
                         Datatype recvtype)
Java binding of the MPI operation MPI_ALLTOALLV. Arguments other than sdispls, rdispls as for Alltoall.



Bryan Carpenter 2002-07-12