MPI_Reduce_scatter_block − Combines values and scatters the results in equal-sized blocks.
#include
<mpi.h>
int MPI_Reduce_scatter_block(void *sendbuf, void
*recvbuf, int recvcount,
MPI_Datatype datatype, MPI_Op op, MPI_Comm comm) |
INCLUDE
’mpif.h’
MPI_REDUCE_SCATTER_BLOCK(SENDBUF, RECVBUF, RECVCOUNT,
DATATYPE, OP,
COMM, IERROR) |
||||
<type> |
SENDBUF(*), RECVBUF(*) |
|||
INTEGER |
RECVCOUNT, DATATYPE, OP, COMM, IERROR |
#include
<mpi.h>
void MPI::Comm::Reduce_scatter_block(const void* sendbuf,
void* recvbuf,
int recvcount, const MPI::Datatype& datatype, |
|
const MPI::Op& op) const |
sendbuf |
Starting address of send buffer (choice). |
|||
recvcount |
Element count per block (integer). |
|||
datatype |
Datatype of elements of input buffer (handle). |
|||
op |
Operation (handle). |
|||
comm |
Communicator (handle). |
recvbuf |
Starting address of receive buffer (choice). |
|||
IERROR |
Fortran only: Error status (integer). |