next up previous contents
Next: All-to-All Scatter/Gather Up: Collective Communication Previous: Scatter   Contents

Gather-to-all

void Intracomm.allgather(Object sendbuf, int sendoffset,
                         int sendcount, Datatype sendtype,
                         Object recvbuf, int recvoffset,
                         int recvcount, Datatype recvtype)
sendbuf send buffer array
sendoffset initial offset in send buffer
sendcount number of items sent to each process
sendtype datatype of send buffer items
recvbuf receive buffer array
recvoffset initial offset in receive buffer
recvcount number of items in receive buffer
recvtype datatype of receive buffer items



Similar to gather, but all processes receive the result. Java binding of the MPI operation MPI_ALLGATHER.

void Intracomm.allgatherv(Object sendbuf, int sendoffset,
                          int sendcount, Datatype sendtype,
                          Object recvbuf, int recvoffset,
                          int [] recvcounts, int [] displs,
                          Datatype recvtype)
sendbuf send buffer array
sendoffset initial offset in send buffer
sendcount number of items to send
sendtype datatype of each item in send buffer
recvbuf receive buffer array
recvoffset initial offset in receive buffer
recvcounts number of elements received from each process
displs displacements at which to place incoming data
recvtype datatype of each item in receive buffer



Similar to gatherv, but all processes receive the result. Java binding of the MPI operation MPI_GATHERV.


next up previous contents
Next: All-to-All Scatter/Gather Up: Collective Communication Previous: Scatter   Contents
Bryan Carpenter 2002-07-12