IBM Books

MPI Subroutine Reference

MPI_Type_f2c

Purpose

Returns a C handle to a datatype.

C synopsis

#include <mpi.h>
MPI_Type MPI_Type_f2c(MPI_Fint datatype);

Parameters

datatype
is the datatype (handle) (IN)

Description

This function does not have C++ or FORTRAN bindings. MPI_Type_f2c returns a C handle to a datatype. If datatype is a valid FORTRAN handle to a datatype, MPI_Type_f2c returns a valid C handle to that same datatype. If datatype is set to the FORTRAN value MPI_DATATYPE_NULL, MPI_Type_f2c returns the equivalent null C handle. If datatype is not a valid FORTRAN handle, MPI_Type_f2c returns a non-valid C handle. The converted handle is returned as the function's value. There is no error detection or return code.

Errors

None.

Related information

MPI_Type_c2f


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