source: proiecte/hpl/openmpi_compiled/share/man/man3/MPI_File_read_at_all.3 @ 97

Last change on this file since 97 was 97, checked in by (none), 14 years ago

Adding compiled files

File size: 3.2 KB
Line 
1.\"Copyright 2006-2008 Sun Microsystems, Inc.
2.\" Copyright (c) 1996 Thinking Machines Corporation
3.TH MPI_File_read_at_all 3 "Dec 08, 2009" "1.4" "Open MPI"
4.SH NAME
5\fBMPI_File_read_at_all\fP \- Reads a file at explicitly specified offsets (blocking, collective).
6
7.SH SYNTAX
8.ft R
9.nf
10C Syntax
11    #include <mpi.h>
12    int MPI_File_read_at_all(MPI_File \fIfh\fP, MPI_Offset \fIoffset\fP,
13        void \fI*buf\fP, int \fIcount\fP, MPI_Datatype \fIdatatype\fP,
14        MPI_Status \fI*status\fP)
15
16Fortran Syntax (see FORTRAN 77 NOTES)
17    INCLUDE 'mpif.h'
18    MPI_FILE_READ_AT_ALL(\fIFH\fP, \fI OFFSET\fP, \fI BUF\fP, \fICOUNT\fP,
19              \fI DATATYPE\fP, \fISTATUS\fP, \fI IERROR\fP)
20         <type> \fIBUF\fP(*)
21         INTEGER \fIFH, COUNT, DATATYPE, STATUS(MPI_STATUS_SIZE), IERROR\fP
22         INTEGER(KIND=MPI_OFFSET_KIND) \fIOFFSET\fP
23
24.SH C++ Syntax
25.nf
26#include <mpi.h>
27void MPI::File::Read_at_all(MPI::Offset \fIoffset\fP, void* \fIbuf\fP,
28        int \fIcount\fP, const MPI::Datatype& \fIdatatype\fP, MPI::Status& \fIstatus\fP)
29
30void MPI::File::Read_at_all(MPI::Offset \fIoffset\fP, void* \fIbuf\fP,
31        int \fIcount\fP, const MPI::Datatype& \fIdatatype\fP)
32
33.SH INPUT PARAMETERS
34.ft R
35.TP 1i
36fh
37File handle (handle).
38.TP 1i
39offset
40File offset (integer).
41.TP 1i
42count
43Number of elements in buffer (integer).
44.TP 1i
45datatype
46Data type of each buffer element (handle).
47
48.SH OUTPUT PARAMETERS
49.ft R
50.TP 1i
51buf
52Initial address of buffer (choice).
53.TP 1i
54status
55Status object (status).
56.TP 1i
57IERROR
58Fortran only: Error status (integer).
59
60.SH DESCRIPTION
61.ft R
62MPI_File_read_at_all is a collective routine that attempts to read from the file associated with
63.I fh
64(at the
65.I offset
66position) a total number of
67.I count
68data items having
69.I datatype
70type into the user's buffer
71.I buf.
72The
73.I offset
74is in etype units relative to the current view. That is, holes are not counted
75when locating an offset. The data is taken out of those parts of the
76file specified by the current view. MPI_File_read_at_all stores the
77number of
78.I datatype
79elements actually read in
80.I status.
81All other fields of
82.I status
83are undefined. It is erroneous to call this function if MPI_MODE_SEQUENTIAL mode was specified when the file was opened.
84
85.SH FORTRAN 77 NOTES
86.ft R
87The MPI standard prescribes portable Fortran syntax for
88the \fIOFFSET\fP argument only for Fortran 90. FORTRAN 77
89users may use the non-portable syntax
90.sp
91.nf
92     INTEGER*MPI_OFFSET_KIND \fIOFFSET\fP
93.fi
94.sp
95where MPI_OFFSET_KIND is a constant defined in mpif.h
96and gives the length of the declared integer in bytes.
97
98.SH ERRORS
99Almost all MPI routines return an error value; C routines as the value of the function and Fortran routines in the last argument. C++ functions do not return errors. If the default error handler is set to MPI::ERRORS_THROW_EXCEPTIONS, then on error the C++ exception mechanism will be used to throw an MPI:Exception object.
100.sp
101Before the error value is returned, the current MPI error handler is
102called. For MPI I/O function errors, the default error handler is set to MPI_ERRORS_RETURN. The error handler may be changed with MPI_File_set_errhandler; the predefined error handler MPI_ERRORS_ARE_FATAL may be used to make I/O errors fatal. Note that MPI does not guarantee that an MPI program can continue past an error. 
103
Note: See TracBrowser for help on using the repository browser.