Gathers invididual values provided by each processor into an array of values in which the ith element of the array corresponds to the value provided by the processor with rank i. The resulting array of values is available to all of the processors.

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


public T[] Allgather<T>(
	T value
Visual Basic (Declaration)
Public Function Allgather(Of T) ( _
	value As T _
) As T()
Visual C++
generic<typename T>
array<T>^ Allgather(
	T value


Type: T
The value supplied by this processor, which will be placed into the element with index Rank in the returned array.

Type Parameters

Any serializable type.

Return Value

An array of values, where the ith value in the array is a copy of the value argument provided by the processor with rank i.

See Also