NAME
MPI_Comm_f2c - Convert a FORTRAN MPI communicator into a C MPI communicator SYNOPSIS
#include <mpi.h>
MPI_Comm MPI_Comm_f2c(MPI_Fint comm );
#include <pmpi.h>
MPI_Comm PMPI_Comm_f2c(MPI_Fint comm );
INPUT PARAMETER
comm - communicator handle from FORTRAN (handle)
RETURN VALUE
C communicator handle (handle)
DESCRIPTION
The MPI_Comm_f2c() function is used to convert a FORTRAN integer-sized communicator handle comm , into a C MPI_Comm handle. This function will never raise an error.
Since this function is compiled inline for performance reasons, a profiler will not be able to hook it. (In this MPI implementation, the C and FORTRAN handles are identical for this type of handle.) PMPI_Comm_f2c() is the profiling version of this function.
SEE ALSO
MPI_Comm_c2f (3)
|