[97] | 1 | .\"Copyright 2006-2008 Sun Microsystems, Inc. |
---|
| 2 | .\" Copyright (c) 1996 Thinking Machines Corporation |
---|
| 3 | .TH MPI_File_write_at_all_end 3 "Dec 08, 2009" "1.4" "Open MPI" |
---|
| 4 | .SH NAME |
---|
| 5 | \fBMPI_File_write_at_all_end\fP \- Writes a file at explicitly specified offsets; 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_at_all_end(MPI_File \fIfh\fP, void *buf, |
---|
| 13 | MPI_Status *status) |
---|
| 14 | |
---|
| 15 | Fortran Syntax |
---|
| 16 | INCLUDE 'mpif.h' |
---|
| 17 | MPI_FILE_WRITE_AT_ALL_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_at_all_end(const void* \fIbuf\fP, MPI::Status& \fIstatus\fP) |
---|
| 25 | |
---|
| 26 | void MPI::File::Write_at_all_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_at_all_end is the ending part of a split collective routine that stores the |
---|
| 52 | number of elements actually written into the file associated with |
---|
| 53 | .I fh |
---|
| 54 | in |
---|
| 55 | .I status. |
---|
| 56 | The data is written into those parts of the |
---|
| 57 | file specified by the current view. All other fields of |
---|
| 58 | .I status |
---|
| 59 | are undefined. |
---|
| 60 | |
---|
| 61 | .SH NOTES |
---|
| 62 | .ft R |
---|
| 63 | 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. |
---|
| 64 | |
---|
| 65 | .SH ERRORS |
---|
| 66 | 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. |
---|
| 67 | .sp |
---|
| 68 | Before the error value is returned, the current MPI error handler is |
---|
| 69 | 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. |
---|
| 70 | |
---|