int MPI_Reduce(void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int target, MPI_Comm comm)
Operation | Meaning | Datatypes |
MPI_MAX | Maximum | C integers and floating point |
MPI_MIN | Minimum | C integers and floating point |
MPI_SUM | Sum | C integers and floating point |
MPI_PROD | Product | C integers and floating point |
MPI_LAND | Logical AND | C integers |
MPI_BAND | Bit-wise AND | C integers and byte |
MPI_LOR | Logical OR | C integers |
MPI_BOR | Bit-wise OR | C integers and byte |
MPI_LXOR | Logical XOR | C integers |
MPI_BXOR | Bit-wise XOR | C integers and byte |
MPI_MAXLOC | max-min value-location | Data-pairs |
MPI_MINLOC | min-min value-location | Data-pairs |
Cem Ozdogan 2010-12-27