next up previous contents
Next: Scan Up: Collective Communication Previous: Global Reduction Operations   Contents

Reduce-Scatter

void Intracomm.Reduce_scatter(Object sendbuf, int sendoffset,
                              Object recvbuf, int recvoffset,
                              int [] recvcounts,
                              Datatype datatype, Op op)
sendbuf send buffer array
sendoffset initial offset in send buffer
recvbuf receive buffer array
recvoffset initial offset in receive buffer
recvcounts numbers of result elements distributed to each process
datatype data type of each item in send buffer
op reduce operation



Combine elements in input buffer of each process using the reduce operation, and scatter the combined values over the output buffers of the processes. Java binding of the MPI operation MPI_REDUCE_SCATTER.



Bryan Carpenter 2002-07-12