MPI_Allgather
--- Gathers data from all tasks and distribute it to all
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 received from any process (integer)
- recvtype
- data type of receive buffer elements (handle)
- comm
- communicator (handle)
Output Parameter
- recvbuf
- address of receive buffer (choice)
Synopsis
#include "mpi.h"
int MPI_Allgather ( sendbuf, sendcount, sendtype,
recvbuf, recvcount, recvtype, comm )
void *sendbuf;
int sendcount;
MPI_Datatype sendtype;
void *recvbuf;
int recvcount;
MPI_Datatype recvtype;
MPI_Comm comm;
Location: allgather.c