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

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

Adding compiled files

File size: 3.1 KB
Line 
1.\"Copyright 2006-2008 Sun Microsystems, Inc.
2.\" Copyright (c) 1996 Thinking Machines Corporation
3.TH MPI_File_iread_at 3 "Dec 08, 2009" "1.4" "Open MPI"
4.SH NAME
5\fBMPI_File_iread_at\fP \- Reads a file at an explicitly specified offset (nonblocking, noncollective).
6
7.SH SYNTAX
8.ft R
9.nf
10C Syntax
11    #include <mpi.h>
12    int MPI_File_iread_at(MPI_File \fIfh\fP, MPI_Offset \fIoffset\fP,
13              void \fI*buf\fP, int \fIcount\fP, MPI_Datatype \fIdatatype\fP,
14              MPI_Request \fI*request\fP)
15
16Fortran Syntax (see FORTRAN 77 NOTES)
17    INCLUDE 'mpif.h'
18    MPI_FILE_IREAD_AT(\fIFH\fP, \fIOFFSET\fP, \fIBUF\fP, \fICOUNT\fP, \fIDATATYPE\fP, \fIREQUEST\fP, \fIIERROR\fP)
19                <type> \fIBUF\fP(*)
20                INTEGER \fIFH, COUNT, DATATYPE, REQUEST, IERROR\fP
21                INTEGER(KIND=MPI_OFFSET_KIND) \fIOFFSET\fP
22
23.SH C++ Syntax
24.nf
25#include <mpi.h>
26MPI::Request MPI::File::Iread_at(MPI::Offset \fIoffset\fP, void* \fIbuf\fP,
27        int \fIcount\fP, const MPI::Datatype& \fIdatatype\fP)
28
29.SH INPUT PARAMETERS
30.ft R
31.TP 1i
32fh
33File handle (handle).
34.ft R
35.TP 1i
36offset
37File offset (integer).
38.ft R
39.TP 1i
40count
41Number of elements in the buffer (integer).
42.ft R
43.TP 1i
44datatype
45Data type of each buffer element (handle).
46
47.SH OUTPUT PARAMETERS
48.ft R
49.TP 1i
50buf
51Initial address of the buffer (choice).
52.ft R
53.TP 1i
54request
55Request object (handle).
56.TP 1i
57IERROR
58Fortran only: Error status (integer).
59
60.SH DESCRIPTION
61.ft R
62MPI_File_iread_at is the nonblocking version of MPI_File_read_at.
63
64MPI_File_iread_at is a nonblocking routine that attempts to read from the file associated with
65.I fh
66at the
67.I offset
68position a total number of
69.I count
70data items having
71.I datatype
72type into the user's buffer
73.I buf.
74The
75.I offset
76is in etype units relative to the current view. That is, holes are not counted
77when locating an offset. The data is taken out of those parts of the
78file specified by the current view. MPI_File_iread_at stores the
79number of
80.I datatype
81elements actually read in
82.I status.
83All other fields of
84.I status
85are undefined.
86
87.SH FORTRAN 77 NOTES
88.ft R
89The MPI standard prescribes portable Fortran syntax for
90the \fIOFFSET\fP argument only for Fortran 90.  Sun FORTRAN 77
91users may use the non-portable syntax
92.sp
93.nf
94     INTEGER*MPI_OFFSET_KIND \fIOFFSET\fP
95.fi
96.sp
97where MPI_OFFSET_KIND is a constant defined in mpif.h
98and gives the length of the declared integer in bytes.
99
100.SH ERRORS
101Almost 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.
102.sp
103Before the error value is returned, the current MPI error handler is
104called. 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. 
105
Note: See TracBrowser for help on using the repository browser.