Since some of the C++ bindings have slightly different names than their C and Fortran counterparts, this section maps each language neutral MPI-/ name to its corresponding C++ binding.
For brevity, the ``MPI::'' prefix is assumed for all C++ class names.
Where MPI-/ names have been deprecated, the none
keyword is used in
the ``Member name'' column to indicate that this function is supported
with a new name (see Annex A).
Where non-void values are listed in the ``Return value'' column, the given name is that of the corresponding parameter in the language neutral specification.
MPI-/ Function | C++ class | Member name | Return value |
MPI_ ABORT | Comm | Abort | void |
MPI_ ADDRESS | ![]() ![]() |
||
MPI_ ALLGATHERV | Intracomm | Allgatherv | void |
MPI_ ALLGATHER | Intracomm | Allgather | void |
MPI_ ALLREDUCE | Intracomm | Allreduce | void |
MPI_ ALLTOALLV | Intracomm | Alltoallv | void |
MPI_ ALLTOALL | Intracomm | Alltoall | void |
MPI_ ATTR_DELETE | ![]() ![]() |
||
MPI_ ATTR_GET | ![]() ![]() |
||
MPI_ ATTR_PUT | ![]() ![]() |
||
MPI_ BARRIER | Intracomm | Barrier | void |
MPI_ BCAST | Intracomm | Bcast | void |
MPI_ BSEND_INIT | Comm | Bsend_init | Prequest request |
MPI_ BSEND | Comm | Bsend | void |
MPI_ BUFFER_ATTACH | Attach_buffer | void | |
MPI_ BUFFER_DETACH | Detach_buffer | void* buffer | |
MPI_ CANCEL | Request | Cancel | void |
MPI_ CARTDIM_GET | Cartcomm | Get_dim | int ndims |
MPI_ CART_COORDS | Cartcomm | Get_coords | void |
MPI_ CART_CREATE | Intracomm | Create_cart | Cartcomm newcomm |
MPI_ CART_GET | Cartcomm | Get_topo | void |
MPI_ CART_MAP | Cartcomm | Map | int newrank |
MPI_ CART_RANK | Cartcomm | Get_rank | int rank |
MPI_ CART_SHIFT | Cartcomm | Shift | void |
MPI_ CART_SUB | Cartcomm | Sub | Cartcomm newcomm |
MPI_ COMM_COMPARE | Comm | static Compare | int result |
MPI_ COMM_CREATE | Intracomm | Create | Intracomm newcomm |
MPI_ COMM_DUP | Intracomm | Dup | Intracomm newcomm |
Cartcomm | Dup | Cartcomm newcomm | |
Graphcomm | Dup | Graphcomm newcomm | |
Intercomm | Dup | Intercomm newcomm | |
Comm | Clone | Comm& newcomm | |
Intracomm | Clone | Intracomm& newcomm | |
Cartcomm | Clone | Cartcomm& newcomm | |
Graphcomm | Clone | Graphcomm& newcomm | |
Intercomm | Clone | Intercomm& newcomm | |
MPI_ COMM_FREE | Comm | Free | void |
MPI_ COMM_GROUP | Comm | Get_group | Group group |
MPI_ COMM_RANK | Comm | Get_rank | int rank |
MPI_ COMM_REMOTE_GROUP | Intercomm | Get_remote_group | Group group |
MPI_ COMM_REMOTE_SIZE | Intercomm | Get_remote_size | int size |
MPI_ COMM_SIZE | Comm | Get_size | int size |
MPI_ COMM_SPLIT | Intracomm | Split | Intracomm newcomm |
MPI_ COMM_TEST_INTER | Comm | Is_inter | bool flag |
MPI_ DIMS_CREATE | Compute_dims | void |
MPI-/ Function | C++ class | Member name | Return value |
MPI_ ERRHANDLER_CREATE | ![]() ![]() |
||
MPI_ ERRHANDLER_FREE | Errhandler | Free | void |
MPI_ ERRHANDLER_GET | ![]() ![]() |
||
MPI_ ERRHANDLER_SET | ![]() ![]() |
||
MPI_ ERROR_CLASS | Get_error_class | int errorclass | |
MPI_ ERROR_STRING | Get_error_string | void | |
MPI_ FINALIZE | Finalize | void | |
MPI_ GATHERV | Intracomm | Gatherv | void |
MPI_ GATHER | Intracomm | Gather | void |
MPI_ GET_COUNT | Status | Get_count | int count |
MPI_ GET_ELEMENTS | Status | Get_elements | int count |
MPI_ GET_PROCESSOR_NAME | Get_processor_name | void | |
MPI_ GRAPHDIMS_GET | Graphcomm | Get_dims | void |
MPI_ GRAPH_CREATE | Intracomm | Create_graph | Graphcomm newcomm |
MPI_ GRAPH_GET | Graphcomm | Get_topo | void |
MPI_ GRAPH_MAP | Graphcomm | Map | int newrank |
MPI_ GRAPH_NEIGHBORS_COUNT | Graphcomm | Get_neighbors_count | int nneighbors |
MPI_ GRAPH_NEIGHBORS | Graphcomm | Get_neighbors | void |
MPI_ GROUP_COMPARE | Group | static Compare | int result |
MPI_ GROUP_DIFFERENCE | Group | static Difference | Group newgroup |
MPI_ GROUP_EXCL | Group | Excl | Group newgroup |
MPI_ GROUP_FREE | Group | Free | void |
MPI_ GROUP_INCL | Group | Incl | Group newgroup |
MPI_ GROUP_INTERSECTION | Group | static Intersect | Group newgroup |
MPI_ GROUP_RANGE_EXCL | Group | Range_excl | Group newgroup |
MPI_ GROUP_RANGE_INCL | Group | Range_incl | Group newgroup |
MPI_ GROUP_RANK | Group | Get_rank | int rank |
MPI_ GROUP_SIZE | Group | Get_size | int size |
MPI_ GROUP_TRANSLATE_RANKS | Group | static Translate_ranks | void |
MPI_ GROUP_UNION | Group | static Union | Group newgroup |
MPI_ IBSEND | Comm | Ibsend | Request request |
MPI_ INITIALIZED | Is_initialized | bool flag | |
MPI_ INIT | Init | void | |
MPI_ INTERCOMM_CREATE | Intracomm | Create_intercomm | Intercomm newcomm |
MPI_ INTERCOMM_MERGE | Intercomm | Merge | Intracomm newcomm |
MPI_ IPROBE | Comm | Iprobe | bool flag |
MPI_ IRECV | Comm | Irecv | Request request |
MPI_ IRSEND | Comm | Irsend | Request request |
MPI_ ISEND | Comm | Isend | Request request |
MPI_ ISSEND | Comm | Issend | Request request |
MPI_ KEYVAL_CREATE | ![]() ![]() |
||
MPI_ KEYVAL_FREE | ![]() ![]() |
||
MPI_ OP_CREATE | Op | Init | void |
MPI_ OP_FREE | Op | Free | void |
MPI_ PACK_SIZE | Datatype | Pack_size | int size |
MPI_ PACK | Datatype | Pack | void |
MPI-/ Function | C++ class | Member name | Return value |
MPI_ PCONTROL | Pcontrol | void | |
MPI_ PROBE | Comm | Probe | void |
MPI_ RECV_INIT | Comm | Recv_init | Prequest request |
MPI_ RECV | Comm | Recv | void |
MPI_ REDUCE_SCATTER | Intracomm | Reduce_scatter | void |
MPI_ REDUCE | Intracomm | Reduce | void |
MPI_ REQUEST_FREE | Request | Free | void |
MPI_ RSEND_INIT | Comm | Rsend_init | Prequest request |
MPI_ RSEND | Comm | Rsend | void |
MPI_ SCAN | Intracomm | Scan | void |
MPI_ SCATTERV | Intracomm | Scatterv | void |
MPI_ SCATTER | Intracomm | Scatter | void |
MPI_ SENDRECV_REPLACE | Comm | Sendrecv_replace | void |
MPI_ SENDRECV | Comm | Sendrecv | void |
MPI_ SEND_INIT | Comm | Send_init | Prequest request |
MPI_ SEND | Comm | Send | void |
MPI_ SSEND_INIT | Comm | Ssend_init | Prequest request |
MPI_ SSEND | Comm | Ssend | void |
MPI_ STARTALL | Prequest | static Startall | void |
MPI_ START | Prequest | Start | void |
MPI_ TESTALL | Request | static Testall | bool flag |
MPI_ TESTANY | Request | static Testany | bool flag |
MPI_ TESTSOME | Request | static Testsome | int outcount |
MPI_ TEST_CANCELLED | Status | Is_cancelled | bool flag |
MPI_ TEST | Request | Test | bool flag |
MPI_ TOPO_TEST | Comm | Get_topo | int status |
MPI_ TYPE_COMMIT | Datatype | Commit | void |
MPI_ TYPE_CONTIGUOUS | Datatype | Create_contiguous | Datatype |
MPI_ TYPE_EXTENT | ![]() ![]() |
||
MPI_ TYPE_FREE | Datatype | Free | void |
MPI_ TYPE_HINDEXED | ![]() ![]() |
||
MPI_ TYPE_HVECTOR | ![]() ![]() |
||
MPI_ TYPE_INDEXED | Datatype | Create_indexed | Datatype |
MPI_ TYPE_LB | ![]() ![]() |
||
MPI_ TYPE_SIZE | Datatype | Get_size | int |
MPI_ TYPE_STRUCT | ![]() ![]() |
||
MPI_ TYPE_UB | ![]() ![]() |
||
MPI_ TYPE_VECTOR | Datatype | Create_vector | Datatype |
MPI_ UNPACK | Datatype | Unpack | void |
MPI_ WAITALL | Request | static Waitall | void |
MPI_ WAITANY | Request | static Waitany | int index |
MPI_ WAITSOME | Request | static Waitsome | int outcount |
MPI_ WAIT | Request | Wait | void |
MPI_ WTICK | Wtick | double wtick | |
MPI_ WTIME | Wtime | double wtime |
MPI-Standard for MARMOT