source: proiecte/hpl/openmpi_compiled/share/man/man3/MPI_File_write_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.3 KB
Line 
1.\"Copyright 2006-2008 Sun Microsystems, Inc.
2.\" Copyright (c) 1996 Thinking Machines Corporation
3.TH MPI_File_write_at_all 3 "Dec 08, 2009" "1.4" "Open MPI"
4.SH NAME
5\fBMPI_File_write_at_all\fP \- Writes 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_write_at_all(MPI_File \fIfh\fP, MPI_Offset \fIoffset\fP, void \fI*buf\fP,
13              int \fIcount\fP, MPI_Datatype \fIdatatype\fP, MPI_Status \fI*status\fP)
14
15Fortran Syntax (see FORTRAN 77 NOTES)
16    INCLUDE 'mpif.h'
17    MPI_FILE_WRITE_AT_ALL(\fIFH\fP, \fI OFFSET\fP, \fI BUF\fP, \fICOUNT\fP,
18              \fI DATATYPE\fP, \fISTATUS\fP, \fI IERROR\fP)
19         <type> \fIBUF\fP(*)
20         INTEGER \fIFH, COUNT, DATATYPE, STATUS(MPI_STATUS_SIZE), IERROR\fP
21         INTEGER(KIND=MPI_OFFSET_KIND) \fIOFFSET\fP
22
23.SH C++ Syntax
24.nf
25#include <mpi.h>
26void MPI::File::Write_at_all(MPI::Offset \fIoffset\fP, const void* \fIbuf\fP,
27        int \fIcount\fP, const MPI::Datatype& \fIdatatype\fP,
28        MPI::Status& \fIstatus\fP)
29
30void MPI::File::Write_at_all(MPI::Offset \fIoffset\fP, const 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
42buf
43Initial address of buffer (choice).
44.TP 1i
45count
46Number of elements in buffer (integer).
47.TP 1i
48datatype
49Data type of each buffer element (handle).
50
51.SH OUTPUT PARAMETERS
52.ft R
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_write_at_all is a collective routine that attempts to write into 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 from the user's buffer
71.I buf.
72The offset is in etype units relative to the current view. That is, holes are not counted
73when locating an offset. The data is written into those parts of the
74file specified by the current view. MPI_File_write_at_all stores the
75number of
76.I datatype
77elements actually written in
78.I status.
79All other fields of
80.I status
81are undefined.
82.sp
83It 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.