Non-blocking receive of a single value. This routine will initiate a request to receive
data and then return immediately. The data may be received in the background. To test for
or force the completion of the communication, then access the received data, use the
returned ReceiveRequest object.
Namespace:
MPIAssembly: MPI (in MPI.dll)
Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public ReceiveRequest ImmediateReceive<T>( int source, int tag ) |
| Visual Basic (Declaration) |
|---|
Public Function ImmediateReceive(Of T) ( _ source As Integer, _ tag As Integer _ ) As ReceiveRequest |
| Visual C++ |
|---|
public: generic<typename T> ReceiveRequest^ ImmediateReceive( int source, int tag ) |
Parameters
- source
- Type: System..::.Int32
Rank of the source process to receive data from. Alternatively, use anySource to receive a message from any other process.
- tag
- Type: System..::.Int32
The tag that identifies the message to be received. Alternatively, use anyTag to receive a message with any tag.
Type Parameters
- T
- Any serializable type.