Gathers individual values provided by each processor from the other group 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: 1.0.0.0 (1.0.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 array sent to processes in the other group.

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 from the other group with rank i.

See Also