1 | .\"Copyright 2006-2008 Sun Microsystems, Inc. |
---|
2 | .\" Copyright (c) 1996 Thinking Machines Corporation |
---|
3 | .TH MPI_File_write_ordered_end 3 "Dec 08, 2009" "1.4" "Open MPI" |
---|
4 | .SH NAME |
---|
5 | \fBMPI_File_write_ordered_end\fP \- Writes a file at a location specified by a shared file pointer; ending part of a split collective routine (blocking). |
---|
6 | |
---|
7 | .SH SYNTAX |
---|
8 | .ft R |
---|
9 | .nf |
---|
10 | C Syntax |
---|
11 | #include <mpi.h> |
---|
12 | int MPI_File_write_ordered_end(MPI_File \fIfh\fP, void \fI*buf\fP, |
---|
13 | MPI_Status \fI*status\fP) |
---|
14 | |
---|
15 | Fortran Syntax |
---|
16 | INCLUDE 'mpif.h' |
---|
17 | MPI_FILE_WRITE_ORDERED_END(\fIFH\fP, \fIBUF\fP, \fISTATUS\fP,\fI IERROR\fP) |
---|
18 | <type> BUF(*) |
---|
19 | INTEGER FH, STATUS(MPI_STATUS_SIZE), IERROR |
---|
20 | |
---|
21 | .SH C++ Syntax |
---|
22 | .nf |
---|
23 | #include <mpi.h> |
---|
24 | void MPI::File::Write_ordered_end(const void* \fIbuf\fP, MPI::Status& \fIstatus\fP) |
---|
25 | |
---|
26 | void MPI::File::Write_ordered_end(const void* \fIbuf\fP) |
---|
27 | |
---|
28 | .SH INPUT/OUTPUT PARAMETER |
---|
29 | .ft R |
---|
30 | .TP 1i |
---|
31 | fh |
---|
32 | File handle (handle). |
---|
33 | |
---|
34 | .SH INPUT PARAMETER |
---|
35 | .ft R |
---|
36 | .TP 1i |
---|
37 | buf |
---|
38 | Initial address of buffer (choice). |
---|
39 | |
---|
40 | .SH OUTPUT PARAMETERS |
---|
41 | .ft R |
---|
42 | .TP 1i |
---|
43 | status |
---|
44 | Status object (status). |
---|
45 | .TP 1i |
---|
46 | IERROR |
---|
47 | Fortran only: Error status (integer). |
---|
48 | |
---|
49 | .SH DESCRIPTION |
---|
50 | .ft R |
---|
51 | MPI_File_write_ordered_end is the ending part of a split collective routine that must |
---|
52 | be called by all processes in the communicator group associated with |
---|
53 | the file handle |
---|
54 | .I fh. |
---|
55 | MPI_File_write_ordered_end returns the number of elements written into the file associated with |
---|
56 | .I fh |
---|
57 | in |
---|
58 | .I status. |
---|
59 | |
---|
60 | .SH NOTES |
---|
61 | .ft R |
---|
62 | All 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. |
---|
63 | |
---|
64 | .SH ERRORS |
---|
65 | Almost 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. |
---|
66 | .sp |
---|
67 | Before the error value is returned, the current MPI error handler is |
---|
68 | called. 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. |
---|
69 | |
---|