MPI_Scan

--- Computes the scan (partial reductions) of data on a collection of processes

Input Parameters

sendbuf
starting address of send buffer (choice)
count
number of elements in input buffer (integer)
datatype
data type of elements of input buffer (handle)
op
operation (handle)
comm
communicator (handle)

Output Parameter

recvbuf
starting address of receive buffer (choice)

Synopsis


#include "mpi.h"
int MPI_Scan ( sendbuf, recvbuf, count, datatype, op, comm )
void             *sendbuf;
void             *recvbuf;
int               count;
MPI_Datatype      datatype;
MPI_Op            op;
MPI_Comm          comm;

Location: scan.c