MPI_Reduce_scatter(3) (9/13/1994) MPI_Reduce_scatter(3)
NAME
MPI_Reduce_scatter - Combines values and scatters the
results
INPUT PARAMETERS
sendbuf
- starting address of send buffer (choice)
recvcounts
- integer array specifying the number of elements in
result distributed to each process. Array must be
identical on all calling processes.
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_Reduce_scatter ( sendbuf, recvbuf, recvcnts, datatype, op, comm )
void *sendbuf;
void *recvbuf;
int *recvcnts;
MPI_Datatype datatype;
MPI_Op op;
MPI_Comm comm;
LOCATION
red_scat.c
Page 1 (printed 3/8/95)