Simultaneously send and receive a message from another process within the communicator.

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

Syntax

C#
public static int MPI_Sendrecv(
	IntPtr sendbuf,
	int sendcount,
	int senddatatype,
	int dest,
	int sendtag,
	IntPtr recvbuf,
	int recvcount,
	int recvdatatype,
	int source,
	int recvtag,
	int comm,
	out Unsafe..::.MPI_Status status
)
Visual Basic (Declaration)
Public Shared Function MPI_Sendrecv ( _
	sendbuf As IntPtr, _
	sendcount As Integer, _
	senddatatype As Integer, _
	dest As Integer, _
	sendtag As Integer, _
	recvbuf As IntPtr, _
	recvcount As Integer, _
	recvdatatype As Integer, _
	source As Integer, _
	recvtag As Integer, _
	comm As Integer, _
	<OutAttribute> ByRef status As Unsafe..::.MPI_Status _
) As Integer
Visual C++
public:
static int MPI_Sendrecv(
	IntPtr sendbuf, 
	int sendcount, 
	int senddatatype, 
	int dest, 
	int sendtag, 
	IntPtr recvbuf, 
	int recvcount, 
	int recvdatatype, 
	int source, 
	int recvtag, 
	int comm, 
	[OutAttribute] Unsafe..::.MPI_Status% status
)

Parameters

sendbuf
Type: System..::.IntPtr
sendcount
Type: System..::.Int32
senddatatype
Type: System..::.Int32
dest
Type: System..::.Int32
sendtag
Type: System..::.Int32
recvbuf
Type: System..::.IntPtr
recvcount
Type: System..::.Int32
recvdatatype
Type: System..::.Int32
source
Type: System..::.Int32
recvtag
Type: System..::.Int32
comm
Type: System..::.Int32
status
Type: MPI..::.Unsafe..::.MPI_Status %

See Also