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

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

Adding compiled files

File size: 2.8 KB
Line 
1.\"Copyright 2006-2008 Sun Microsystems, Inc.
2.\" Copyright (c) 1996 Thinking Machines Corporation
3.TH MPI_File_read_ordered_begin 3 "Dec 08, 2009" "1.4" "Open MPI"
4.SH NAME
5\fBMPI_File_read_ordered_begin\fP \- Reads a file at a location specified by a shared file pointer; beginning part of a split collective routine (nonblocking).
6
7.SH SYNTAX
8.ft R
9.nf
10C Syntax
11    #include <mpi.h>
12    int MPI_File_read_ordered_begin(MPI_File \fIfh\fP, void \fI*buf\fP,
13              int \fIcount\fP, MPI_Datatype \fIdatatype\fP)
14
15Fortran Syntax
16    INCLUDE 'mpif.h'
17    MPI_FILE_READ_ORDERED_BEGIN(\fIFH\fP, \fIBUF\fP, \fICOUNT\fP, \fIDATATYPE\fP,\fI IERROR\fP)
18                <type>          BUF(*)
19                INTEGER         FH, COUNT, DATATYPE, IERROR
20
21.SH C++ Syntax
22.nf
23#include <mpi.h>
24void MPI::File::Read_ordered_begin(void* \fIbuf\fP, int \fIcount\fP,
25        const MPI::Datatype& \fIdatatype\fP)
26
27.SH INPUT/OUTPUT PARAMETER
28.ft R
29.TP 1i
30fh   
31File handle (handle).
32
33.SH INPUT PARAMETERS
34.ft R
35.TP 1i
36count
37Number of elements in buffer (integer).
38.ft R
39.TP 1i
40datatype
41Data type of each buffer element (handle).
42
43.SH OUTPUT PARAMETERS
44.ft R
45.TP 1i
46buf
47Initial address of buffer (choice).
48.TP 1i
49IERROR
50Fortran only: Error status (integer).
51
52.SH DESCRIPTION
53.ft R
54MPI_File_read_ordered_begin is the beginning part of a split collective, nonblocking routine that must be
55called by all processes in the communicator group associated with the
56file handle
57.I fh.
58Each process may pass different argument values for the
59.I datatype
60and
61.I count
62arguments. Each process attempts to read, from the file associated with
63.I fh,
64a total number of
65.I count
66data items having
67.I datatype
68type into the user's buffer
69.I buf.
70For each process, the location in the file at which data is read is the position at which the shared file pointer would be after all processes whose ranks within the group are less than that of this process had read their data.
71
72.SH NOTES
73.ft R
74All the nonblocking collective routines for data access are "split" into two routines, each with _begin or _end as a suffix. These split collective routines are subject to the semantic rules described in Section 9.4.5 of the MPI-2 standard.
75
76.SH ERRORS
77Almost 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.
78.sp
79Before the error value is returned, the current MPI error handler is
80called. 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. 
81
Note: See TracBrowser for help on using the repository browser.