MPI_Gather(3) (9/29/1994) MPI_Gather(3)
NAME
MPI_Gather - Gathers together values from a group of
processes
INPUT PARAMETERS
sendbuf
- starting address of send buffer (choice)
sendcount
- number of elements in send buffer (integer)
sendtype
- data type of send buffer elements (handle)
recvcount
- number of elements for any single receive (integer,
significant only at root)
recvtype
- data type of recv buffer elements (significant only
at root) (handle)
root - rank of receiving process (integer)
comm - communicator (handle)
OUTPUT PARAMETER
recvbuf
- address of receive buffer (choice, significant only
at root)
SYNOPSIS
#include "mpi.h"
int MPI_Gather ( sendbuf, sendcnt, sendtype, recvbuf, recvcount, recvtype,
root, comm )
void *sendbuf;
int sendcnt;
MPI_Datatype sendtype;
void *recvbuf;
int recvcount;
MPI_Datatype recvtype;
int root;
MPI_Comm comm;
LOCATION
gather.c
Page 1 (printed 3/8/95)