NewMadeleine

Documentation

nm_mpi_p2p.h File Reference

declarations for MPI point to point operations More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Functions: Point-to-point communications
int MPI_Send (const void *buffer, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm)
 Performs a standard-mode, blocking send. More...
 
int MPI_Send_c (const void *buffer, MPI_Count count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm)
 
int MPI_Isend (const void *buffer, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request)
 Posts a standard-mode, non blocking send. More...
 
int MPI_Isend_c (const void *buffer, MPI_Count count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request)
 
int MPI_Issend (const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request)
 
int MPI_Issend_c (const void *buf, MPI_Count count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request)
 
int MPI_Rsend (const void *buffer, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm)
 Performs a ready-mode, blocking send. More...
 
int MPI_Rsend_c (const void *buffer, MPI_Count count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm)
 
int MPI_Ssend (const void *buffer, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm)
 Performs a synchronous-mode, blocking send. More...
 
int MPI_Ssend_c (const void *buffer, MPI_Count count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm)
 
int MPI_Bsend (const void *buffer, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm)
 
int MPI_Bsend_c (const void *buffer, MPI_Count count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm)
 
int MPI_Irsend (const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request)
 
int MPI_Irsend_c (const void *buf, MPI_Count count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request)
 
int MPI_Recv (void *buffer, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Status *status)
 Performs a standard-mode, blocking receive. More...
 
int MPI_Recv_c (void *buffer, MPI_Count count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Status *status)
 
int MPI_Irecv (void *buffer, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Request *request)
 Posts a nonblocking receive. More...
 
int MPI_Irecv_c (void *buffer, MPI_Count count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Request *request)
 
int MPI_Sendrecv (const void *sendbuf, int sendcount, MPI_Datatype sendtype, int dest, int sendtag, void *recvbuf, int recvcount, MPI_Datatype recvtype, int source, int recvtag, MPI_Comm comm, MPI_Status *status)
 Executes a blocking send and receive operation. More...
 
int MPI_Sendrecv_c (const void *sendbuf, MPI_Count sendcount, MPI_Datatype sendtype, int dest, int sendtag, void *recvbuf, MPI_Count recvcount, MPI_Datatype recvtype, int source, int recvtag, MPI_Comm comm, MPI_Status *status)
 
int MPI_Sendrecv_replace (void *buf, int count, MPI_Datatype datatype, int dest, int sendtag, int source, int recvtag, MPI_Comm comm, MPI_Status *status)
 
int MPI_Sendrecv_replace_c (void *buf, MPI_Count count, MPI_Datatype datatype, int dest, int sendtag, int source, int recvtag, MPI_Comm comm, MPI_Status *status)
 
int MPI_Iprobe (int source, int tag, MPI_Comm comm, int *flag, MPI_Status *status)
 Nonblocking operation that returns flag = true if there is a message that can be received and that matches the message envelope specified by source, tag and comm. More...
 
int MPI_Probe (int source, int tag, MPI_Comm comm, MPI_Status *status)
 Blocks and returns only after a message that matches the message envelope specified by source, tag and comm can be received. More...
 
int MPI_Improbe (int source, int tag, MPI_Comm comm, int *flag, MPI_Message *message, MPI_Status *status)
 
int MPI_Mprobe (int source, int tag, MPI_Comm comm, MPI_Message *message, MPI_Status *status)
 
int MPI_Mrecv (void *buf, int count, MPI_Datatype datatype, MPI_Message *message, MPI_Status *status)
 
int MPI_Mrecv_c (void *buf, MPI_Count count, MPI_Datatype datatype, MPI_Message *message, MPI_Status *status)
 
int MPI_Imrecv (void *buf, int count, MPI_Datatype datatype, MPI_Message *message, MPI_Request *request)
 
int MPI_Imrecv_c (void *buf, MPI_Count count, MPI_Datatype datatype, MPI_Message *message, MPI_Request *request)
 
int MPI_Psend_init (const void *buf, int partitions, MPI_Count count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Info info, MPI_Request *request)
 
int MPI_Precv_init (void *buf, int partitions, MPI_Count count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Info info, MPI_Request *request)
 
int MPI_Pready (int partition, MPI_Request request)
 
int MPI_Pready_range (int partition_low, int partition_high, MPI_Request request)
 
int MPI_Pready_list (int length, const int array_of_partitions[], MPI_Request request)
 
int MPI_Parrived (MPI_Request request, int partition, int *flag)
 

Detailed Description

declarations for MPI point to point operations

Definition in file nm_mpi_p2p.h.

Function Documentation

◆ MPI_Bsend()

int MPI_Bsend ( const void *  buffer,
int  count,
MPI_Datatype  datatype,
int  dest,
int  tag,
MPI_Comm  comm 
)

◆ MPI_Bsend_c()

int MPI_Bsend_c ( const void *  buffer,
MPI_Count  count,
MPI_Datatype  datatype,
int  dest,
int  tag,
MPI_Comm  comm 
)

◆ MPI_Improbe()

int MPI_Improbe ( int  source,
int  tag,
MPI_Comm  comm,
int *  flag,
MPI_Message message,
MPI_Status status 
)

◆ MPI_Imrecv()

int MPI_Imrecv ( void *  buf,
int  count,
MPI_Datatype  datatype,
MPI_Message message,
MPI_Request request 
)

◆ MPI_Imrecv_c()

int MPI_Imrecv_c ( void *  buf,
MPI_Count  count,
MPI_Datatype  datatype,
MPI_Message message,
MPI_Request request 
)

◆ MPI_Iprobe()

int MPI_Iprobe ( int  source,
int  tag,
MPI_Comm  comm,
int *  flag,
MPI_Status status 
)

Nonblocking operation that returns flag = true if there is a message that can be received and that matches the message envelope specified by source, tag and comm.

Parameters
sourcesource rank, or MPI_ANY_SOURCE
tagtag value or MPI_ANY_TAG
commcommunicator
flagtrue if operation has completed
statusstatus object
Returns
MPI status

◆ MPI_Irecv()

int MPI_Irecv ( void *  buffer,
int  count,
MPI_Datatype  datatype,
int  source,
int  tag,
MPI_Comm  comm,
MPI_Request request 
)

Posts a nonblocking receive.

Parameters
bufferinitial address of receive buffer
countnumber of elements in receive buffer
datatypedatatype of each receive buffer element
sourcerank of source
tagmessage tag
commcommunicator
requestpointer to request
Returns
MPI status

◆ MPI_Irecv_c()

int MPI_Irecv_c ( void *  buffer,
MPI_Count  count,
MPI_Datatype  datatype,
int  source,
int  tag,
MPI_Comm  comm,
MPI_Request request 
)

◆ MPI_Irsend()

int MPI_Irsend ( const void *  buf,
int  count,
MPI_Datatype  datatype,
int  dest,
int  tag,
MPI_Comm  comm,
MPI_Request request 
)

◆ MPI_Irsend_c()

int MPI_Irsend_c ( const void *  buf,
MPI_Count  count,
MPI_Datatype  datatype,
int  dest,
int  tag,
MPI_Comm  comm,
MPI_Request request 
)

◆ MPI_Isend()

int MPI_Isend ( const void *  buffer,
int  count,
MPI_Datatype  datatype,
int  dest,
int  tag,
MPI_Comm  comm,
MPI_Request request 
)

Posts a standard-mode, non blocking send.

Parameters
bufferinitial address of send buffer
countnumber of elements in send buffer
datatypedatatype of each send buffer element
destrank of destination
tagmessage tag
commcommunicator
requestpointer to request
Returns
MPI status

◆ MPI_Isend_c()

int MPI_Isend_c ( const void *  buffer,
MPI_Count  count,
MPI_Datatype  datatype,
int  dest,
int  tag,
MPI_Comm  comm,
MPI_Request request 
)

◆ MPI_Issend()

int MPI_Issend ( const void *  buf,
int  count,
MPI_Datatype  datatype,
int  dest,
int  tag,
MPI_Comm  comm,
MPI_Request request 
)

◆ MPI_Issend_c()

int MPI_Issend_c ( const void *  buf,
MPI_Count  count,
MPI_Datatype  datatype,
int  dest,
int  tag,
MPI_Comm  comm,
MPI_Request request 
)

◆ MPI_Mprobe()

int MPI_Mprobe ( int  source,
int  tag,
MPI_Comm  comm,
MPI_Message message,
MPI_Status status 
)

◆ MPI_Mrecv()

int MPI_Mrecv ( void *  buf,
int  count,
MPI_Datatype  datatype,
MPI_Message message,
MPI_Status status 
)

◆ MPI_Mrecv_c()

int MPI_Mrecv_c ( void *  buf,
MPI_Count  count,
MPI_Datatype  datatype,
MPI_Message message,
MPI_Status status 
)

◆ MPI_Parrived()

int MPI_Parrived ( MPI_Request  request,
int  partition,
int *  flag 
)

◆ MPI_Pready()

int MPI_Pready ( int  partition,
MPI_Request  request 
)

◆ MPI_Pready_list()

int MPI_Pready_list ( int  length,
const int  array_of_partitions[],
MPI_Request  request 
)

◆ MPI_Pready_range()

int MPI_Pready_range ( int  partition_low,
int  partition_high,
MPI_Request  request 
)

◆ MPI_Precv_init()

int MPI_Precv_init ( void *  buf,
int  partitions,
MPI_Count  count,
MPI_Datatype  datatype,
int  source,
int  tag,
MPI_Comm  comm,
MPI_Info  info,
MPI_Request request 
)

◆ MPI_Probe()

int MPI_Probe ( int  source,
int  tag,
MPI_Comm  comm,
MPI_Status status 
)

Blocks and returns only after a message that matches the message envelope specified by source, tag and comm can be received.

Parameters
sourcesource rank, or MPI_ANY_SOURCE
tagtag value or MPI_ANY_TAG
commcommunicator
statusstatus object
Returns
MPI status

◆ MPI_Psend_init()

int MPI_Psend_init ( const void *  buf,
int  partitions,
MPI_Count  count,
MPI_Datatype  datatype,
int  dest,
int  tag,
MPI_Comm  comm,
MPI_Info  info,
MPI_Request request 
)

◆ MPI_Recv()

int MPI_Recv ( void *  buffer,
int  count,
MPI_Datatype  datatype,
int  source,
int  tag,
MPI_Comm  comm,
MPI_Status status 
)

Performs a standard-mode, blocking receive.

Parameters
bufferinitial address of receive buffer
countnumber of elements in receive buffer
datatypedatatype of each receive buffer element
sourcerank of source
tagmessage tag
commcommunicator
statusstatus object
Returns
MPI status

◆ MPI_Recv_c()

int MPI_Recv_c ( void *  buffer,
MPI_Count  count,
MPI_Datatype  datatype,
int  source,
int  tag,
MPI_Comm  comm,
MPI_Status status 
)

◆ MPI_Rsend()

int MPI_Rsend ( const void *  buffer,
int  count,
MPI_Datatype  datatype,
int  dest,
int  tag,
MPI_Comm  comm 
)

Performs a ready-mode, blocking send.

Parameters
bufferinitial address of send buffer
countnumber of elements in send buffer
datatypedatatype of each send buffer element
destrank of destination
tagmessage tag
commcommunicator
Returns
MPI status

◆ MPI_Rsend_c()

int MPI_Rsend_c ( const void *  buffer,
MPI_Count  count,
MPI_Datatype  datatype,
int  dest,
int  tag,
MPI_Comm  comm 
)

◆ MPI_Send()

int MPI_Send ( const void *  buffer,
int  count,
MPI_Datatype  datatype,
int  dest,
int  tag,
MPI_Comm  comm 
)

Performs a standard-mode, blocking send.

Parameters
bufferinitial address of send buffer
countnumber of elements in send buffer
datatypedatatype of each send buffer element
destrank of destination
tagmessage tag
commcommunicator
Returns
MPI status

◆ MPI_Send_c()

int MPI_Send_c ( const void *  buffer,
MPI_Count  count,
MPI_Datatype  datatype,
int  dest,
int  tag,
MPI_Comm  comm 
)

◆ MPI_Sendrecv()

int MPI_Sendrecv ( const void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
int  dest,
int  sendtag,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
int  source,
int  recvtag,
MPI_Comm  comm,
MPI_Status status 
)

Executes a blocking send and receive operation.

Parameters
sendbufinitial address of send buffer
sendcountnumber of elements in send buffer
sendtypetype of elements in send buffer
destrank of destination
sendtagsend tag
recvbufinitial address of receive buffer
recvcountnumber of elements in receive buffer
recvtypetype of elements in receive buffer
sourcerank of source
recvtagreceive tag
commcommunicator
statusstatus object
Returns
MPI status

◆ MPI_Sendrecv_c()

int MPI_Sendrecv_c ( const void *  sendbuf,
MPI_Count  sendcount,
MPI_Datatype  sendtype,
int  dest,
int  sendtag,
void *  recvbuf,
MPI_Count  recvcount,
MPI_Datatype  recvtype,
int  source,
int  recvtag,
MPI_Comm  comm,
MPI_Status status 
)

◆ MPI_Sendrecv_replace()

int MPI_Sendrecv_replace ( void *  buf,
int  count,
MPI_Datatype  datatype,
int  dest,
int  sendtag,
int  source,
int  recvtag,
MPI_Comm  comm,
MPI_Status status 
)

◆ MPI_Sendrecv_replace_c()

int MPI_Sendrecv_replace_c ( void *  buf,
MPI_Count  count,
MPI_Datatype  datatype,
int  dest,
int  sendtag,
int  source,
int  recvtag,
MPI_Comm  comm,
MPI_Status status 
)

◆ MPI_Ssend()

int MPI_Ssend ( const void *  buffer,
int  count,
MPI_Datatype  datatype,
int  dest,
int  tag,
MPI_Comm  comm 
)

Performs a synchronous-mode, blocking send.

Parameters
bufferinitial address of send buffer
countnumber of elements in send buffer
datatypedatatype of each send buffer element
destrank of destination
tagmessage tag
commcommunicator
Returns
MPI status

◆ MPI_Ssend_c()

int MPI_Ssend_c ( const void *  buffer,
MPI_Count  count,
MPI_Datatype  datatype,
int  dest,
int  tag,
MPI_Comm  comm 
)