Gather the values provided by each process into an array containing the contributions of all of the processes. This operation is equivalent to a MPI_Gather(IntPtr, Int32, Int32, IntPtr, Int32, Int32, Int32, Int32) to an arbitrary root followed by an MPI_Bcast(IntPtr, Int32, Int32, Int32, Int32) from that root. See Allgather<(Of <(T>)>)(T)

Namespace:  MPI
Assembly:  MPI (in MPI.dll)
Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static int MPI_Allgather(
	IntPtr sendbuf,
	int sendcount,
	int sendtype,
	IntPtr recvbuf,
	int recvcount,
	int recvtype,
	int comm
)
Visual Basic (Declaration)
Public Shared Function MPI_Allgather ( _
	sendbuf As IntPtr, _
	sendcount As Integer, _
	sendtype As Integer, _
	recvbuf As IntPtr, _
	recvcount As Integer, _
	recvtype As Integer, _
	comm As Integer _
) As Integer
Visual C++
public:
static int MPI_Allgather(
	IntPtr sendbuf, 
	int sendcount, 
	int sendtype, 
	IntPtr recvbuf, 
	int recvcount, 
	int recvtype, 
	int comm
)

Parameters

sendbuf
Type: System..::.IntPtr
Buffer containing the values that will be sent from this process.
sendcount
Type: System..::.Int32
The number of elements to send.
sendtype
Type: System..::.Int32
The datatype describing the send buffer.
recvbuf
Type: System..::.IntPtr
Buffer that will contain all of the values contributed by every process.
recvcount
Type: System..::.Int32
The number of elements to receive from each process.
recvtype
Type: System..::.Int32
The type of data that will be stored in the receive buffer.
comm
Type: System..::.Int32
The communicator over which data will be gathered.

See Also