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

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)
Version: 0.5.0.0 (0.5.0.0)

Syntax

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

Parameters

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

T
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