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)
Java binding of the MPI operation MPI_SCATTER. 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 incoming message will be copied.

void Intracomm.Scatterv(Object sendbuf, int sendoffset,
                        int [] sendcount, int [] displs,
                        Datatype sendtype,
                        Object recvbuf, int recvoffset,
                        int recvcount, Datatype recvtype, int root)
Java binding of the MPI operation MPI_SCATTERV. Arguments other than displs as for Scatter.



Bryan Carpenter 2002-07-12