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