[97] | 1 | .\"Copyright 2006-2008 Sun Microsystems, Inc. |
---|
| 2 | .\" Copyright (c) 1996 Thinking Machines Corporation |
---|
| 3 | .TH MPI_File_write_all_end 3 "Dec 08, 2009" "1.4" "Open MPI" |
---|
| 4 | .SH NAME |
---|
| 5 | \fBMPI_File_write_all_end\fP \- Writes a file starting at the locations specified by individual file pointers; 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_all_end(MPI_File \fIfh\fP, void \fI*buf\fP, MPI_Status \fI*status\fP) |
---|
| 13 | |
---|
| 14 | Fortran Syntax |
---|
| 15 | INCLUDE 'mpif.h' |
---|
| 16 | MPI_FILE_WRITE_ALL_END(\fIFH\fP, \fIBUF\fP, \fISTATUS\fP,\fI IERROR\fP) |
---|
| 17 | <type> BUF(*) |
---|
| 18 | INTEGER FH, STATUS, IERROR |
---|
| 19 | |
---|
| 20 | .SH C++ Syntax |
---|
| 21 | .nf |
---|
| 22 | #include <mpi.h> |
---|
| 23 | void MPI::File::Write_all_end(const void* \fIbuf\fP, MPI::Status& \fIstatus\fP) |
---|
| 24 | |
---|
| 25 | void MPI::File::Write_all_end(const void* \fIbuf\fP) |
---|
| 26 | |
---|
| 27 | .SH INPUT/OUTPUT PARAMETER |
---|
| 28 | .ft R |
---|
| 29 | .TP 1i |
---|
| 30 | fh |
---|
| 31 | File handle (handle). |
---|
| 32 | |
---|
| 33 | .SH INPUT PARAMETER |
---|
| 34 | .ft R |
---|
| 35 | .TP 1i |
---|
| 36 | buf |
---|
| 37 | Initial address of buffer (choice). |
---|
| 38 | |
---|
| 39 | .SH OUTPUT PARAMETERS |
---|
| 40 | .ft R |
---|
| 41 | .TP 1i |
---|
| 42 | status |
---|
| 43 | Status object (status). |
---|
| 44 | .TP 1i |
---|
| 45 | IERROR |
---|
| 46 | Fortran only: Error status (integer). |
---|
| 47 | |
---|
| 48 | .SH DESCRIPTION |
---|
| 49 | .ft R |
---|
| 50 | MPI_File_write_all_end is the ending part of a split collective routine that stores the |
---|
| 51 | number of elements actually written into the file associated with |
---|
| 52 | .I fh |
---|
| 53 | from the user's buffer |
---|
| 54 | .I buf |
---|
| 55 | in |
---|
| 56 | .I status. |
---|
| 57 | MPI_File_write_all_end blocks until the operation initiated by MPI_File_write_all_begin completes. The data is written into those parts of the |
---|
| 58 | file specified by the current view. All other fields of |
---|
| 59 | .I status |
---|
| 60 | are undefined. |
---|
| 61 | |
---|
| 62 | .SH NOTES |
---|
| 63 | .ft R |
---|
| 64 | 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. |
---|
| 65 | |
---|
| 66 | .SH ERRORS |
---|
| 67 | 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. |
---|
| 68 | .sp |
---|
| 69 | Before the error value is returned, the current MPI error handler is |
---|
| 70 | 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. |
---|