1MPI_File_open(3) MPI-2 MPI_File_open(3)
2
3
4
6 MPI_File_open - Opens a file
7
9 #include "mpi.h"
10 int MPI_File_open(MPI_Comm comm, char *filename, int amode,
11 MPI_Info info, MPI_File *fh)
12
14 comm - communicator (handle)
15 filename
16 - name of file to open (string)
17 amode - file access mode (integer)
18 info - info object (handle)
19
20
22 fh - file handle (handle)
23
24
26 All MPI routines in Fortran (except for 'MPI_WTIME' and 'MPI_WTICK')
27 have an additional argument 'ierr' at the end of the argument list.
28 the routine in C. In Fortran, MPI routines are subroutines and are
29 invoked with the 'call' statement.
30
31 All MPI objects (e.g., 'MPI_Datatype', 'MPI_Comm', 'MPI_File') are of
32 type 'INTEGER' in Fortran.
33
34
35
36 3/4/1999 MPI_File_open(3)