1MPI_Type_f2c(3)                     LAM/MPI                    MPI_Type_f2c(3)
2
3
4

NAME

6       MPI_Type_f2c  -  Convert a datatype handle from its Fortran representa‐
7       tion to its C representation
8

SYNOPSIS

10       #include <mpi.h>
11       MPI_Datatype
12       MPI_Type_f2c(MPI_Fint f_handle)
13

INPUT PARAMETER

15       f_handle
16              - Fortran datatype handle
17
18

RETURN VALUE

20       datatype
21              - C datatype handle
22
23

NOTES FOR FORTRAN

25       All MPI routines in Fortran (except for MPI_WTIME and MPI_WTICK )  have
26       an  additional  argument ierr at the end of the argument list.  ierr is
27       an integer and has the same meaning as the return value of the  routine
28       in  C.   In Fortran, MPI routines are subroutines, and are invoked with
29       the call statement.
30
31       All MPI objects (e.g., MPI_Datatype , MPI_Comm ) are of type INTEGER in
32       Fortran.
33
34

ERRORS

36       This function does not return the normal MPI_SUCCESS integer value upon
37       success.  Instead, it returns a handle to the converted object.  If  an
38       error occurs, the appropriate NULL handle will be returned.
39
40

SEE ALSO

42       MPI_Type_c2f(3)
43
44

MORE INFORMATION

46       For more information, please see the official MPI Forum web site, which
47       contains the text of both the MPI-1 and MPI-2 standards.   These  docu‐
48       ments  contain  detailed  information  about each MPI function (most of
49       which is not duplicated in these man pages).
50
51       http://www.mpi-forum.org/
52

LOCATION

54       handles.c
55
56
57
58LAM/MPI 7.1.2                      2/23/2006                   MPI_Type_f2c(3)
Impressum