Scroll to navigation

MPI_REQUEST_TOINT(3) Open MPI MPI_REQUEST_TOINT(3)

NAME

MPI_Request_toint - UNKNOWN

MPI_Comm_fromint <#mpi-comm-fromint>, MPI_Comm_toint <#mpi-comm-toint>, MPI_Errhandler_fromint <#mpi-errhandler-fromint>, MPI_Errhandler_toint <#mpi-errhandler-toint>, MPI_File_fromint <#mpi-file-fromint>, MPI_File_toint <#mpi-file-toint>, MPI_Group_fromint <#mpi-group-fromint>, MPI_Group_toint <#mpi-group-toint>, MPI_Info_fromint <#mpi-info-fromint>, MPI_Info_toint <#mpi-info-toint>, MPI_Message_fromint <#mpi-message-fromint>, MPI_Message_toint <#mpi-message-toint>, MPI_Op_fromint <#mpi-op-fromint>, MPI_Op_toint <#mpi-op-toint>, MPI_Request_fromint <#mpi-request-fromint>, MPI_Request_toint, MPI_Session_fromint <#mpi-session-fromint>, MPI_Session_toint <#mpi-session-toint>, MPI_Type_fromint <#mpi-type-fromint>, MPI_Type_toint <#mpi-type-toint>, MPI_Win_fromint <#mpi-win-fromint>, MPI_Win_toint <#mpi-win-toint> — Translates a C integer to the appropriate C handle, or vice versa.

SYNTAX

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)


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 <#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).

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.

Author

The Open MPI community

Copyright

2003-2026, The Open MPI Community

October 13, 2026