1MPI_Status_c2f(3) LAM/MPI MPI_Status_c2f(3)
2
3
4
6 MPI_Status_c2f - Convert a status from its C representation to its
7 Fortran representation
8
10 #include <mpi.h>
11 int
12 MPI_Status_c2f(MPI_Status *c_status, MPI_Fint *f_status)
13
15 c_status
16 - C status
17
18
20 f_status
21 - Fortran status
22
23
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
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
42 MPI_Status_c2f(3)
43
44
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
54 handles.c
55
56
57
58LAM/MPI 7.1.2 2/23/2006 MPI_Status_c2f(3)