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

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

Adding compiled files

File size: 2.3 KB
Line 
1.\"Copyright 2006-2008 Sun Microsystems, Inc.
2.\" Copyright (c) 1996 Thinking Machines Corporation
3.TH MPI_Info_get_valuelen 3 "Dec 08, 2009" "1.4" "Open MPI"
4.SH NAME
5\fBMPI_Info_get_valuelen\fP \- Retrieves the length of the key value associated with an info object.
6
7.SH SYNTAX
8.ft R
9.SH C Syntax
10.nf
11#include <mpi.h>
12int MPI_Info_get_valuelen(MPI_Info \fIinfo\fP, char \fI*key\fP,
13        int \fI*valuelen\fP, int \fI*flag\fP)
14
15.SH Fortran Syntax
16.nf
17INCLUDE 'mpif.h'
18MPI_INFO_GET_VALUELEN(\fIINFO, KEY, VALUELEN, FLAG, IERROR\fP)
19        INTEGER         \fIINFO, VALUELEN, IERROR\fP
20        LOGICAL         \fIFLAG\fP
21        CHARACTER*(*)   \fIKEY\fP
22
23.SH C++ Syntax
24.nf
25#include <mpi.h>
26bool MPI::Info::Get_valuelen(const char* \fIkey\fP, int& \fIvaluelen\fP)
27        const
28
29.SH INPUT PARAMETERS
30.ft R
31.TP 1i
32info
33Info object (handle).
34.ft R
35.TP 1i
36key
37Key (string).
38
39.SH OUTPUT PARAMETERS
40.ft R
41.TP 1i
42valuelen
43Length of value arg (integer).
44.ft R
45.TP 1i
46flag
47Returns true if key defined, false if not (boolean).
48.ft R
49.TP 1i
50IERROR
51Fortran only: Error status (integer).
52
53.SH DESCRIPTION
54.ft R
55MPI_Info_get_valuelen retrieves the length of the \fIvalue\fP associated with \fIkey\fP. If \fIkey\fP is defined, \fIvaluelen\fP is set to the length of its associated value and \fIflag\fP is set to true. If \fIkey\fP is not defined, \fIvaluelen\fP is not touched and \fIflag\fP is set to false. The length returned in C or C++ does not include the end-of-string character.
56.sp
57If \fIkey\fP is larger than MPI_MAX_INFO_KEY, the call is erroneous.
58
59.SH ERRORS
60Almost 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.
61.sp
62Before the error value is returned, the current MPI error handler is
63called. By default, this error handler aborts the MPI job, except for I/O function errors. The error handler may be changed with MPI_Comm_set_errhandler; the predefined error handler MPI_ERRORS_RETURN may be used to cause error values to be returned. Note that MPI does not guarantee that an MPI program can continue past an error. 
64
65.SH SEE ALSO
66.ft r
67MPI_Info_get
68.br
69MPI_Info_get_nkeys
70.br
71MPI_Info_get_nthkey
72.br
73
Note: See TracBrowser for help on using the repository browser.