source: proiecte/hpl/openmpi_compiled/share/man/man3/MPI_File_write_at_all_begin.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_write_at_all_begin 3 "Dec 08, 2009" "1.4" "Open MPI"
4.SH NAME
5\fBMPI_File_write_at_all_begin\fP \- Writes a file at explicitly specified offsets; 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_write_at_all_begin(MPI_File \fIfh\fP, MPI_Offset \fIoffset\fP,
13              void \fI*buf\fP, int \fIcount\fP, MPI_Datatype \fIdatatype\fP)
14
15Fortran Syntax (see FORTRAN 77 NOTES)
16    INCLUDE 'mpif.h'
17    MPI_FILE_WRITE_AT_ALL_BEGIN(\fIFH\fP, \fIOFFSET\fP, \fIBUF\fP, \fICOUNT\fP, \fIDATATYPE\fP,\fI IERROR\fP)
18                <TYPE> \fIBUF\fP(*)
19                INTEGER \fIFH, COUNT, DATATYPE, IERROR\fP
20                INTEGER(KIND=MPI_OFFSET_KIND) \fIOFFSET\fP
21
22.SH C++ Syntax
23.nf
24#include <mpi.h>
25void MPI::File::Write_at_all_begin(MPI::Offset \fIoffset\fP,
26        const void* \fIbuf\fP, int \fIcount\fP,
27        const MPI::Datatype& \fIdatatype\fP)
28
29.SH INPUT/OUTPUT PARAMETER
30.ft R
31.TP 1i
32fh   
33File handle (handle).
34
35.SH INPUT PARAMETERS
36.ft R
37.TP 1i
38offset
39File offset (handle).
40.ft R
41.TP 1i
42buf
43Initial address of buffer (choice).
44.ft R
45.TP 1i
46count
47Number of elements in buffer (integer).
48.ft R
49.TP 1i
50datatype
51Data type of each buffer element (handle).
52
53.SH OUTPUT PARAMETER
54.ft R
55.TP 1i
56IERROR
57Fortran only: Error status (integer).
58
59.SH DESCRIPTION
60.ft R
61MPI_File_write_at_all_begin is the beginning part of a split collective, that is, a nonblocking routine that attempts to write into the file associated with
62.I fh
63(at the
64.I offset
65position) a total number of
66.I count
67data items having
68.I datatype
69type from the user's buffer
70.I buf.
71The offset is in etype units relative to the current view. That is, holes are not counted
72when locating an offset. The data is written into those parts of the
73file specified by the current view.
74
75.SH FORTRAN 77 NOTES
76.ft R
77The MPI standard prescribes portable Fortran syntax for
78the \fIOFFSET\fP argument only for Fortran 90.  FORTRAN 77
79users may use the non-portable syntax
80.sp
81.nf
82     INTEGER*MPI_OFFSET_KIND \fIOFFSET\fP
83.fi
84.sp
85where MPI_OFFSET_KIND is a constant defined in mpif.h
86and gives the length of the declared integer in bytes.
87
88.SH NOTES
89.ft R
90All 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.
91
92.SH ERRORS
93Almost 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.
94.sp
95Before the error value is returned, the current MPI error handler is
96called. 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. 
97
Note: See TracBrowser for help on using the repository browser.