MPI_Allgatherv

--- Gathers data from all tasks and deliver 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)
recvcounts
integer array (of length group size) containing the number of elements that are received from each process
displs
integer array (of length group size). Entry i specifies the displacement (relative to recvbuf ) at which to place the incoming data from process i
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_Allgatherv ( sendbuf, sendcount,  sendtype, 
                     recvbuf, recvcounts, displs,   recvtype, comm )
void             *sendbuf;
int               sendcount;
MPI_Datatype      sendtype;
void             *recvbuf;
int              *recvcounts;
int              *displs;
MPI_Datatype      recvtype;
MPI_Comm          comm;

Location: allgatherv.c