Table 18 lists the
bindings for communicator subroutines.
Table 18. Bindings for communicators
|
Subroutine name: C C++ FORTRAN |
Binding: C C++ FORTRAN |
|---|---|
| MPI_Attr_delete | int MPI_Attr_delete(MPI_Comm comm,int keyval); |
| (none) | (none) |
| MPI_ATTR_DELETE | MPI_ATTR_DELETE(INTEGER COMM,INTEGER KEYVAL,INTEGER IERROR) |
| MPI_Attr_get | int MPI_Attr_get(MPI_Comm comm,int keyval,void *attribute_val, int *flag); |
| (none) | (none) |
| MPI_ATTR_GET | MPI_ATTR_GET(INTEGER COMM,INTEGER KEYVAL,INTEGER ATTRIBUTE_VAL, LOGICAL FLAG,INTEGER IERROR) |
| MPI_Attr_put | int MPI_Attr_put(MPI_Comm comm,int keyval,void* attribute_val); |
| (none) | (none) |
| MPI_ATTR_PUT | MPI_ATTR_PUT(INTEGER COMM,INTEGER KEYVAL,INTEGER ATTRIBUTE_VAL, INTEGER IERROR) |
| (none) | (none) |
| MPI::Comm::Clone | MPI::Cartcomm&
MPI::Cartcomm::Clone() const;
MPI::Graphcomm& MPI::Graphcomm::Clone() const; MPI::Intercomm& MPI::Intercomm::Clone() const; MPI::Intracomm& MPI::Intracomm::Clone() const; |
| (none) | (none) |
| MPI_Comm_compare | int MPI_Comm_compare(MPI_Comm comm1,MPI_Comm comm2,int *result); |
| MPI::Comm::Compare | int MPI::Comm::Compare(const MPI::Comm& comm1, const MPI::Comm& comm2); |
| MPI_COMM_COMPARE | MPI_COMM_COMPARE(INTEGER COMM1,INTEGER COMM2,INTEGER RESULT,INTEGER IERROR) |
| MPI_Comm_create | int MPI_Comm_create(MPI_Comm comm_in, MPI_Group group, MPI_Comm *comm_out); |
| MPI::Intercomm::Create
MPI::Intracomm::Create | MPI::Intercomm
MPI::Intercomm::Create(const
MPI::Group& group) const;
MPI::Intracomm MPI::Intracomm::Create(const MPI::Group& group) const; |
| MPI_COMM_CREATE | MPI_COMM_CREATE(INTEGER COMM_IN, INTEGER GROUP, INTEGER COMM_OUT,INTEGER IERROR) |
| MPI_Comm_create_errhandler | int MPI_Comm_create_errhandler (MPI_Comm_errhandler_fn *function, MPI_Errhandler *errhandler); |
| MPI::Comm::Create_errhandler | static MPI::Errhandler MPI::Comm::Create_errhandler(MPI::Comm::Errhandler_fn* function); |
| MPI_COMM_CREATE_ERRHANDLER | MPI_COMM_CREATE_ERRHANDLER(EXTERNAL FUNCTION, INTEGER ERRHANDLER, INTEGER IERROR) |
| MPI_Comm_create_keyval | int MPI_Comm_create_keyval (MPI_Comm_copy_attr_function *comm_copy_attr_fn, MPI_Comm_delete_attr_function *comm_delete_attr_fn, int *comm_keyval, void *extra_state); |
| MPI::Comm::Create_keyval | int MPI::Comm::Create_keyval(MPI::Comm::Copy_attr_function* comm_copy_attr_fn, MPI::Comm::Delete_attr_function* comm_delete_attr_fn, void* extra_state); |
| MPI_COMM_CREATE_KEYVAL | MPI_COMM_CREATE_KEYVAL(EXTERNAL COMM_COPY_ATTR_FN, EXTERNAL COMM_DELETE_ATTR_FN, INTEGER COMM_KEYVAL, INTEGER EXTRA_STATE, INTEGER IERROR) |
| MPI_Comm_delete_attr | int MPI_Comm_delete_attr (MPI_Comm comm, int comm_keyval); |
| MPI::Comm::Delete_attr | void MPI::Comm::Delete_attr(int comm_keyval); |
| MPI_COMM_DELETE_ATTR | MPI_COMM_DELETE_ATTR(INTEGER COMM, INTEGER COMM_KEYVAL, INTEGER IERROR) |
| MPI_Comm_dup | int MPI_Comm_dup(MPI_Comm comm,MPI_Comm *newcomm); |
| MPI::Cartcomm::Dup
MPI::Graphcomm::Dup MPI::Intercomm::Dup MPI::Intracomm::Dup | MPI::Cartcomm MPI::Cartcomm::Dup()
const;
MPI::Graphcomm MPI::Graphcomm::Dup() const; MPI::Intercomm MPI::Intercomm::Dup() const; MPI::Intracomm MPI::Intracomm::Dup() const; |
| MPI_COMM_DUP | MPI_COMM_DUP(INTEGER COMM,INTEGER NEWCOMM,INTEGER IERROR) |
| MPI_Comm_free | int MPI_Comm_free(MPI_Comm *comm); |
| MPI::Comm::Free | void MPI::Comm::Free(void); |
| MPI_COMM_FREE | MPI_COMM_FREE(INTEGER COMM,INTEGER IERROR) |
| MPI_Comm_free_keyval | int MPI_Comm_free_keyval (int *comm_keyval); |
| MPI::Comm::Free_keyval | void MPI::Comm::Free_keyval(int& comm_keyval); |
| MPI_COMM_FREE_KEYVAL | MPI_COMM_FREE_KEYVAL(INTEGER COMM_KEYVAL, INTEGER IERROR) |
| MPI_Comm_get_attr | int MPI_Comm_get_attr (MPI_Comm comm, int comm_keyval, void *attribute_val, int *flag); |
| MPI::Comm::Get_attr | bool MPI::Comm::Get_attr(int comm_keyval, void* attribute_val) const; |
| MPI_COMM_GET_ATTR | MPI_COMM_GET_ATTR(INTEGER COMM, INTEGER COMM_KEYVAL, INTEGER ATTRIBUTE_VAL, LOGICAL FLAG, INTEGER IERROR) |
| MPI_Comm_get_errhandler | int MPI_Comm_get_errhandler (MPI_Comm comm, MPI_Errhandler *errhandler); |
| MPI::Comm::Get_errhandler | MPI::Errhandler MPI::Comm::Get_errhandler() const; |
| MPI_COMM_GET_ERRHANDLER | MPI_COMM_GET_ERRHANDLER(INTEGER COMM, INTEGER ERRHANDLER, INTEGER IERROR) |
| MPI_Comm_rank | int MPI_Comm_rank(MPI_Comm comm,int *rank); |
| MPI::Comm::Get_rank | int MPI::Comm::Get_rank() const; |
| MPI_COMM_RANK | MPI_COMM_RANK(INTEGER COMM,INTEGER RANK,INTEGER IERROR) |
| MPI_Comm_remote_group | int MPI_Comm_remote_group(MPI_Comm comm,MPI_group *group); |
| MPI::Intercomm::Get_remote_group | MPI::Group MPI::Intercomm::Get_remote_group() const; |
| MPI_COMM_REMOTE_GROUP | MPI_COMM_REMOTE_GROUP(INTEGER COMM,MPI_GROUP GROUP,INTEGER IERROR) |
| MPI_Comm_remote_size | int MPI_Comm_remote_size(MPI_Comm comm,int *size); |
| MPI::Intercomm::Get_remote_size | int MPI::Intercomm::Get_remote_size() const; |
| MPI_COMM_REMOTE_SIZE | MPI_COMM_REMOTE_SIZE(INTEGER COMM,INTEGER SIZE,INTEGER IERROR) |
| MPI_Comm_set_attr | int MPI_Comm_set_attr (MPI_Comm comm, int comm_keyval, void *attribute_val); |
| MPI::Comm::Set_attr | void MPI::Comm::Set_attr(int comm_keyval, const void* attribute_val) const; |
| MPI_COMM_SET_ATTR | MPI_COMM_SET_ATTR(INTEGER COMM, INTEGER COMM_KEYVAL, INTEGER ATTRIBUTE_VAL, INTEGER IERROR) |
| MPI_Comm_set_errhandler | int MPI_Comm_set_errhandler (MPI_Comm comm, MPI_Errhandler *errhandler); |
| MPI::Comm::Set_errhandler | void MPI::Comm::Set_errhandler(const MPI::Errhandler& errhandler); |
| MPI_COMM_SET_ERRHANDLER | MPI_COMM_SET_ERRHANDLER(INTEGER COMM, INTEGER ERRHANDLER, INTEGER IERROR) |
| MPI_Comm_size | int MPI_Comm_size(MPI_Comm comm,int *size); |
| MPI::Comm::Get_size | int MPI::Comm::Get_size() const; |
| MPI_COMM_SIZE | MPI_COMM_SIZE(INTEGER COMM,INTEGER SIZE,INTEGER IERROR) |
| MPI_Comm_split | int MPI_Comm_split(MPI_Comm comm_in, int color, int key, MPI_Comm *comm_out); |
| MPI::Intercomm::Split
MPI::Intracomm::Split | MPI::Intercomm
MPI::Intercomm::Split(int color, int key)
const;
MPI::Intracomm MPI::Intracomm::Split(int color, int key) const; |
| MPI_COMM_SPLIT | MPI_COMM_SPLIT(INTEGER COMM_IN, INTEGER COLOR, INTEGER KEY, INTEGER COMM_OUT, INTEGER IERROR) |
| MPI_Comm_test_inter | int MPI_Comm_test_inter(MPI_Comm comm,int *flag); |
| MPI::Comm::Is_inter | bool MPI::Comm::Is_inter() const; |
| MPI_COMM_TEST_INTER | MPI_COMM_TEST_INTER(INTEGER COMM,LOGICAL FLAG,INTEGER IERROR) |
| MPI_Intercomm_create | int MPI_Intercomm_create(MPI_Comm local_comm,int local_leader, MPI_Comm peer_comm,int remote_leader,int tag,MPI_Comm *newintercom); |
| MPI::Intracomm::Create_intercomm | MPI::Intercomm MPI::Intracomm::Create_intercomm(int local_leader, const MPI::Comm& peer_comm, int remote_leader, int tag) const; |
| MPI_INTERCOMM_CREATE | MPI_INTERCOMM_CREATE(INTEGER LOCAL_COMM,INTEGER LOCAL_LEADER, INTEGER PEER_COMM,INTEGER REMOTE_LEADER,INTEGER TAG, INTEGER NEWINTERCOM,INTEGER IERROR) |
| MPI_Intercomm_merge | int MPI_Intercomm_merge(MPI_Comm intercomm,int high, MPI_Comm *newintracomm); |
| MPI::Intercomm::Merge | MPI::Intracomm MPI::Intercomm::Merge(bool high); |
| MPI_INTERCOMM_MERGE | MPI_INTERCOMM_MERGE(INTEGER INTERCOMM,INTEGER HIGH, INTEGER NEWINTRACOMM,INTEGER IERROR) |
| MPI_Keyval_create | int MPI_Keyval_create(MPI_Copy_function *copy_fn, MPI_Delete_function *delete_fn,int *keyval, void* extra_state); |
| (none) | (none) |
| MPI_KEYVAL_CREATE | MPI_KEYVAL_CREATE(EXTERNAL COPY_FN,EXTERNAL DELETE_FN, INTEGER KEYVAL,INTEGER EXTRA_STATE,INTEGER IERROR) |
| MPI_Keyval_free | int MPI_Keyval_free(int *keyval); |
| (none) | (none) |
| MPI_KEYVAL_FREE | MPI_KEYVAL_FREE(INTEGER KEYVAL,INTEGER IERROR) |