[This is preliminary documentation and is subject to change.]
Scatters data from one process (the "root" process) to all of the processes in a communicator,
with different parts of the data going to different processes.
See Scatter<(Of <(T>)>)(array<T>[]()[], Int32).
Namespace:
MPIAssembly: MPI (in MPI.dll)
Version: 0.8.0.0 (0.8.0.0)
Syntax
| C# |
|---|
public static int MPI_Scatter( IntPtr sendbuf, int sendcount, int sendtype, IntPtr recvbuf, int recvcount, int rectype, int root, int comm ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function MPI_Scatter ( _ sendbuf As IntPtr, _ sendcount As Integer, _ sendtype As Integer, _ recvbuf As IntPtr, _ recvcount As Integer, _ rectype As Integer, _ root As Integer, _ comm As Integer _ ) As Integer |
| Visual C++ |
|---|
public: static int MPI_Scatter( IntPtr sendbuf, int sendcount, int sendtype, IntPtr recvbuf, int recvcount, int rectype, int root, int comm ) |
Parameters
- sendbuf
- Type: System..::.IntPtr
Buffer containing the data to be sent. Only significant at the root process.
- sendcount
- Type: System..::.Int32
The number of elements to send to each process. Only significant at the root process.
- sendtype
- Type: System..::.Int32
The type of data in sendbuf. Only significant at the root process.
- recvbuf
- Type: System..::.IntPtr
A buffer that will receive the calling process's part of the data.
- recvcount
- Type: System..::.Int32
The number of elements to receive.
- rectype
- Type: System..::.Int32
The type of data to receive.
- root
- Type: System..::.Int32
The rank of the "root" process, which supplies the data.
- comm
- Type: System..::.Int32
The communicator over which the data will be scattered.