MPI_Accumulate

int MPI_Accumulate(void *, int, MPI_Datatype, int, MPI_Aint, int, MPI_Datatype,  MPI_Op, MPI_Win);
Accumulates, according to the specified reduction operation, the contents of the origin buffer to the specified target buffer.