MPICCommToFortranComm

Converts a MPI_Comm represented in C to one appropriate to pass to a Fortran routine.

Synopsis

int MPICCommToFortranComm(MPI_Comm comm,int *fcomm)
Not collective

Input Parameter

cobj -the C MPI_Comm

Output Parameter

fobj -the Fortran MPI_Comm

Notes

MPICCommToFortranComm() 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

MPIFortranCommToCComm()

Location: src/fortran/custom/zoptions.c
System Index
Table of Contents