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

Scatter

void Intracomm.scatter(Object sendbuf, int sendoffset,
                       int sendcount, Datatype sendtype,
                       Object recvbuf, int recvoffset,
                       int recvcount, Datatype recvtype,
                       int root)
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
root rank of sending process



Inverse of the operation gather. Java binding of the MPI operation MPI_SCATTER.

void Intracomm.scatterv(Object sendbuf, int sendoffset,
                        int [] sendcounts, int [] displs,
                        Datatype sendtype,
                        Object recvbuf, int recvoffset,
                        int recvcount, Datatype recvtype,
                        int root)
sendbuf send buffer array
sendoffset initial offset in send buffer
sendcounts number of items sent to each process
displs displacements from which to take outgoing data
sendtype datatype of each item in send buffer
recvbuf receive buffer array
recvoffset initial offset in receive buffer
recvcount number of elements in receive buffer
recvtype datatype of receive buffer items
root rank of sending process



Inverse of the operation gatherv. Java binding of the MPI operation MPI_SCATTERV.


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