[This is preliminary documentation and is subject to change.]

Gather the values provided by each process into an array containing the contributions of all of the processes. This operation differs from MPI_Allgather(IntPtr, Int32, Int32, IntPtr, Int32, Int32, Int32) in that it permits different processes to provide a different number of elements to be gathered. See Allgather<(Of <(T>)>)(T)

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

Syntax

C#
public static int MPI_Allgatherv(
	IntPtr sendbuf,
	int sendcount,
	int sendtype,
	IntPtr recvbuf,
	int[] recvcounts,
	int[] displs,
	int recvtype,
	int comm
)
Visual Basic (Declaration)
Public Shared Function MPI_Allgatherv ( _
	sendbuf As IntPtr, _
	sendcount As Integer, _
	sendtype As Integer, _
	recvbuf As IntPtr, _
	recvcounts As Integer(), _
	displs As Integer(), _
	recvtype As Integer, _
	comm As Integer _
) As Integer
Visual C++
public:
static int MPI_Allgatherv(
	IntPtr sendbuf, 
	int sendcount, 
	int sendtype, 
	IntPtr recvbuf, 
	array<int>^ recvcounts, 
	array<int>^ displs, 
	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.
recvcounts
Type: array< System..::.Int32 >[]()[]
An array whose ith element is the number of elements to be received from the process with rank i.
displs
Type: array< System..::.Int32 >[]()[]
An array whose ith element is the offset (in recbuf) at which the data from process i should be placed.
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