MPI_Allreduce(3) (7/26/1994) MPI_Allreduce(3)
NAME
MPI_Allreduce - Combines values from all processes and
distribute the result back to all processes
INPUT PARAMETERS
sendbuf
- starting address of send buffer (choice)
count
- number of elements in send buffer (integer)
datatype
- data type of elements of send buffer (handle)
op - operation (handle)
comm - communicator (handle)
OUTPUT PARAMETER
recvbuf
- starting address of receive buffer (choice)
SYNOPSIS
#include "mpi.h"
int MPI_Allreduce ( sendbuf, recvbuf, count, datatype, op, comm )
void *sendbuf;
void *recvbuf;
int count;
MPI_Datatype datatype;
MPI_Op op;
MPI_Comm comm;
LOCATION
allreduce.c
Page 1 (printed 3/8/95)