MPI_Sendrecv_replace
--- Sends and receives using a single buffer
Input Parameters
- count
- number of elements in send and receive buffer (integer)
- datatype
- type of elements in send and receive buffer (handle)
- dest
- rank of destination (integer)
- sendtag
- send message tag (integer)
- source
- rank of source (integer)
- recvtag
- receive message tag (integer)
- comm
- communicator (handle)
Output Parameters
- buf
- initial address of send and receive buffer (choice)
- status
- status object (Status)
Synopsis
#include "mpi.h"
int MPI_Sendrecv_replace( buf, count, datatype, dest, sendtag,
source, recvtag, comm, status )
void *buf;
int count, dest, sendtag, source, recvtag;
MPI_Datatype datatype;
MPI_Comm comm;
MPI_Status *status;
Location: sendrecv_rep.c