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

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

Adding compiled files

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