IBM Books

MPI Subroutine Reference

MPI_Comm_c2f

Purpose

Translates a C communicator handle into a FORTRAN handle to the same communicator.

C synopsis

#include <mpi.h>
MPI_Fint MPI_Comm_c2f(MPI_Comm comm);

Parameters

comm
is the communicator (handle) (IN)

Description

This function does not have C++ or FORTRAN bindings. MPI_Comm_c2f translates a C communicator handle into a FORTRAN handle to the same communicator; it maps a null handle into a null handle and a non-valid handle into a non-valid handle. The converted handle is returned as the function's value. There is no error detection or return code.

Errors

None.

Related information

MPI_Comm_f2c


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]