MPIFortranCommToCComm
Converts a MPI_Comm represented int Fortran (as an integer) to a MPI_Comm in C.
Synopsis
int MPIFortranCommToCComm(int fcomm,MPI_Comm *comm)
Not
collective
Input Parameter
fcomm -the Fortran MPI_Comm (an integer)
Output Parameter
comm -the C MPI_Comm
Notes
MPIFortranCommToCComm() must be called in a C/C++ routine.
MPI 1 does not provide a standard for mapping
betweenFortran and C MPI communicators; this routine handles
themapping correctly on all machines.
Keywords
Fortran, C, MPI_Comm, convert, interlanguage
See Also
MPICCommToFortranComm()
Location: src/fortran/custom/zoptions.c
System Index
Table of Contents