Collective operation in which every process in one group sends data to every process of the other group. Alltoall differs from Allgather<(Of <(T>)>)(T) in that a given process can send different data to all of the other processes, rather than contributing the same piece of data to all processes.

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

Syntax

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

Parameters

values
Type: array< T >[]()[]
The array of values that will be sent to each process in the other group. The ith value in this array will be sent to the process with rank i.

Type Parameters

T
Any serializable type.

Return Value

An array of values received from all of the processes in the other group. The jth value in this array will be the value sent to the calling process from the process with rank j.

See Also