MPI_Sendrecv(3) (8/10/1994) MPI_Sendrecv(3)
NAME
MPI_Sendrecv - Sends and receives a message
INPUT PARAMETERS
sendbuf
- initial address of send buffer (choice)
sendcount
- number of elements in send buffer (integer)
sendtype
- type of elements in send buffer (handle)
dest - rank of destination (integer)
sendtag
- send tag (integer)
recvcount
- number of elements in receive buffer (integer)
recvtype
- type of elements in receive buffer (handle)
source
- rank of source (integer)
recvtag
- receive tag (integer)
comm - communicator (handle)
OUTPUT PARAMETERS
recvbuf
- initial address of receive buffer (choice)
status
- status object (Status). This refers to the receive
operation.
SYNOPSIS
#include "mpi.h"
int MPI_Sendrecv( sendbuf, sendcount, sendtype, dest, sendtag,
recvbuf, recvcount, recvtype, source, recvtag,
comm, status )
void *sendbuf;
int sendcount;
MPI_Datatype sendtype;
int dest, sendtag;
void *recvbuf;
int recvcount;
MPI_Datatype recvtype;
int source, recvtag;
MPI_Comm comm;
MPI_Status *status;
Page 1 (printed 3/8/95)
MPI_Sendrecv(3) (8/10/1994) MPI_Sendrecv(3)
LOCATION
sendrecv.c
Page 2 (printed 3/8/95)