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

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

Adding compiled files

File size: 2.9 KB
Line 
1.\"Copyright 2006-2008 Sun Microsystems, Inc.
2.\" Copyright (c) 1996 Thinking Machines Corporation
3.TH MPI_File_write_ordered 3 "Dec 08, 2009" "1.4" "Open MPI"
4.SH NAME
5\fBMPI_File_write_ordered\fP \- Writes a file at a location specified by a shared file pointer (blocking, collective).
6
7.SH SYNTAX
8.ft R
9C Syntax
10.nf
11    #include <mpi.h>
12    int MPI_File_write_ordered(MPI_File \fIfh\fP, void \fI*buf\fP,
13                   int \fIcount\fP, MPI_Datatype \fIdatatype\fP,
14                   MPI_Status \fI*status\fP)
15
16Fortran Syntax
17    INCLUDE 'mpif.h'
18    MPI_FILE_WRITE_ORDERED(\fIFH\fP,\fI BUF\fP,\fI COUNT\fP,\fI DATATYPE\fP,
19                   \fISTATUS\fP,\fI IERROR\fP)
20              <type>      \fIBUF\fP(*)
21              INTEGER     \fIFH, COUNT, DATATYPE, STATUS(MPI_STATUS_SIZE), IERROR\fP
22
23.SH C++ Syntax
24.nf
25#include <mpi.h>
26void MPI::File::Write_ordered(const void* \fIbuf\fP, int \fIcount\fP,
27        const MPI::Datatype& \fIdatatype\fP, MPI::Status& \fIstatus\fP)
28
29void MPI::File::Write_ordered(const void* \fIbuf\fP, int \fIcount\fP,
30        const MPI::Datatype& \fIdatatype\fP)
31
32.SH INPUT PARAMETERS
33.ft R
34.TP 1i
35fh   
36File handle (handle).
37.TP 1i
38buf
39Initial address of buffer (choice).
40.TP 1i
41count
42Number of elements in buffer (integer).
43.TP 1i
44datatype
45Data type of each buffer element (handle).
46
47.SH OUTPUT PARAMETERS
48.ft R
49.TP 1i
50status
51Status object (Status).
52.TP 1i
53IERROR
54Fortran only: Error status (integer).
55
56.SH DESCRIPTION
57.ft R
58MPI_File_write_ordered is a collective routine. This routine must
59be called by all processes in the communicator group associated with
60the file handle
61.I fh.
62Each process may pass different argument values
63for the
64.I datatype
65and
66.I count
67arguments. Each process attempts to
68write, into the file associated with
69.I fh,
70a total number of
71.I count
72data items having datatype type contained in the user's buffer
73.I buf.
74For
75each process, the location in the file at which data is written is the
76position at which the shared file pointer would be after all processes
77whose ranks within the group are less than that of this process had
78written their data. MPI_File_write_ordered returns the number of
79.I datatype
80elements written in
81.I status.
82The shared file pointer is
83updated by the amounts of data requested by all processes of the
84group.
85
86.SH ERRORS
87Almost 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.
88.sp
89Before the error value is returned, the current MPI error handler is
90called. 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. 
91
Note: See TracBrowser for help on using the repository browser.