18.2.282. MPI_Message_fromint
MPI_Comm_fromint, MPI_Comm_toint, MPI_Errhandler_fromint, MPI_Errhandler_toint, MPI_File_fromint, MPI_File_toint, MPI_Group_fromint, MPI_Group_toint, MPI_Info_fromint, MPI_Info_toint, MPI_Message_fromint, MPI_Message_toint, MPI_Op_fromint, MPI_Op_toint, MPI_Request_fromint, MPI_Request_toint, MPI_Session_fromint, MPI_Session_toint, MPI_Type_fromint, MPI_Type_toint, MPI_Win_fromint, MPI_Win_toint — Translates a C integer to the appropriate C handle, or vice versa.
18.2.282.1. SYNTAX
18.2.282.1.1. C Syntax
MPI_Comm MPI_Comm_fromint(int comm)
int MPI_Comm_toint(MPI_Comm comm)
MPI_Errhandler MPI_Errhandler_fromint(int errhandler)
int MPI_Errhandler_toint(MPI_Errhandler errhandler)
MPI_File MPI_File_fromint(int file)
int MPI_File_toint(MPI_File file)
MPI_Group MPI_Group_fromint(int group)
int MPI_Group_toint(MPI_Group group)
MPI_Info MPI_Info_fromint(int info)
int MPI_Info_toint(MPI_Info info)
MPI_Message MPI_Message_fromint(int message)
int MPI_Message_toint(MPI_Message message)
MPI_Op MPI_Op_fromint(int op)
int MPI_Op_toint(MPI_Op op)
MPI_Request MPI_Request_fromint(int request)
int MPI_Request_toint(MPI_Request request)
MPI_Session MPI_Session_fromint(int session)
int MPI_Session_toint(MPI_Session session)
MPI_Datatype MPI_Type_fromint(int datatype)
int MPI_Type_toint(MPI_Datatype datatype)
MPI_Win MPI_Win_fromint(int win)
int MPI_Win_toint(MPI_Win win)
18.2.282.2. DESCRIPTION
The fromint function translates a C integer to the appropriate C handle. Only an integer obtained from a previous call to MPI_Comm_toint, etc. may be passed to this function. It is erroneous to pass to this function an integer associated with a handle that has been freed, disconnected, or aborted (or that was derived from a session that has been finalized).
18.2.282.3. NOTES
These functions are only available in C; they are not available in any of the Fortran MPI interfaces.
These functions do not return an error value.