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

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

Adding compiled files

File size: 2.4 KB
Line 
1.\"Copyright 2006-2008 Sun Microsystems, Inc.
2.\" Copyright (c) 1996 Thinking Machines Corporation
3.TH MPI_File_get_byte_offset 3 "Dec 08, 2009" "1.4" "Open MPI"
4.SH NAME
5\fBMPI_File_get_byte_offset\fP \- Converts a view-relative offset into an absolute byte position.
6
7.SH SYNTAX
8.ft R
9.nf
10C Syntax
11    #include <mpi.h>
12    int MPI_File_get_byte_offset(MPI_File \fIfh\fP, MPI_Offset \fIoffset\fP,
13              MPI_Offset \fI*disp\fP)
14
15Fortran Syntax (see FORTRAN 77 NOTES)
16    INCLUDE 'mpif.h'
17    MPI_FILE_GET_BYTE_OFFSET(\fIFH\fP, \fIOFFSET\fP, \fIDISP\fP,\fI IERROR\fP)
18                INTEGER \fIFH, IERROR\fP
19                INTEGER(KIND=MPI_OFFSET_KIND) \fIOFFSET, DISP\fP
20
21.SH C++ Syntax
22.nf
23#include <mpi.h>
24MPI::Offset MPI::File::Get_byte_offset(const MPI::Offset \fIdisp\fP)
25        const
26
27.SH INPUT PARAMETERS
28.ft R
29.TP 1i
30fh   
31File handle (handle).
32.ft R
33.TP 1i
34offset
35Offset (integer).
36
37.SH OUTPUT PARAMETERS
38.ft R
39.TP 1i
40disp
41Absolute byte position of offset (integer).
42.TP 1i
43IERROR
44Fortran only: Error status (integer).
45
46.SH DESCRIPTION
47.ft R
48MPI_File_get_byte_offset converts an offset specified for the current view to its corresponding displacement value, or absolute byte position, from the beginning of the file. The absolute byte position of \fIoffset\fP relative to the current view of \fIfh\fP is returned in \fIdisp\fP.
49
50.SH FORTRAN 77 NOTES
51.ft R
52The MPI standard prescribes portable Fortran syntax for
53the \fIOFFSET\fP and \fIDISP\fP arguments only for Fortran 90. Sun FORTRAN 77
54users may use the non-portable syntax
55.sp
56.nf
57     INTEGER*MPI_OFFSET_KIND \fIOFFSET\fP
58or
59     INTEGER*MPI_OFFSET_KIND \fIDISP\fP
60.fi
61.sp
62where MPI_OFFSET_KIND is a constant defined in mpif.h
63and gives the length of the declared integer in bytes.
64
65.SH ERRORS
66Almost 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
68Before the error value is returned, the current MPI error handler is
69called. 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
71
Note: See TracBrowser for help on using the repository browser.