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. | |
| 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. | |
| 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. | |
| 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. | |
| 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. | |
| 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. | |
| 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. | |
| 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. | |
| 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. | |
| 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
-
source source rank, or MPI_ANY_SOURCE tag tag value or MPI_ANY_TAG comm communicator flag true if operation has completed status status 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
-
buffer initial address of receive buffer count number of elements in receive buffer datatype datatype of each receive buffer element source rank of source tag message tag comm communicator request pointer 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
-
buffer initial address of send buffer count number of elements in send buffer datatype datatype of each send buffer element dest rank of destination tag message tag comm communicator request pointer 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
-
source source rank, or MPI_ANY_SOURCE tag tag value or MPI_ANY_TAG comm communicator status status 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
-
buffer initial address of receive buffer count number of elements in receive buffer datatype datatype of each receive buffer element source rank of source tag message tag comm communicator status status 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
-
buffer initial address of send buffer count number of elements in send buffer datatype datatype of each send buffer element dest rank of destination tag message tag comm communicator
- 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
-
buffer initial address of send buffer count number of elements in send buffer datatype datatype of each send buffer element dest rank of destination tag message tag comm communicator
- 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
-
sendbuf initial address of send buffer sendcount number of elements in send buffer sendtype type of elements in send buffer dest rank of destination sendtag send tag recvbuf initial address of receive buffer recvcount number of elements in receive buffer recvtype type of elements in receive buffer source rank of source recvtag receive tag comm communicator status status 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
-
buffer initial address of send buffer count number of elements in send buffer datatype datatype of each send buffer element dest rank of destination tag message tag comm communicator
- 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 | ||
| ) |