source: proiecte/hpl/openmpi_compiled/share/man/man3/MPI_Keyval_free.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_Keyval_free 3 "Dec 08, 2009" "1.4" "Open MPI"
4.SH NAME
5\fBMPI_Keyval_free\fP \- Frees attribute key for communicator cache attribute -- use of this routine is deprecated.
6
7.SH SYNTAX
8.ft R
9.SH C Syntax
10.nf
11#include <mpi.h>
12int MPI_Keyval_free(int *\fIkeyval\fP)
13
14.SH Fortran Syntax
15.nf
16INCLUDE 'mpif.h'
17MPI_KEYVAL_FREE(\fIKEYVAL, IERROR\fP)
18        INTEGER \fIKEYVAL, IERROR\fP
19
20
21.SH INPUT PARAMETER
22.ft R
23.TP 1i
24keyval
25Frees the integer key value (integer).
26
27.SH OUTPUT PARAMETER
28.ft R
29.TP 1i
30IERROR
31Fortran only: Error status (integer).
32
33.SH DESCRIPTION
34.ft R
35Note that use of this routine is \fIdeprecated\fP as of MPI-2. Please use MPI_Comm_free_keyval instead.
36.sp
37This deprecated routine is not available in C++.
38.sp
39Frees an extant attribute key. This function sets the value of keyval to  MPI_KEYVAL_INVALID. Note that it is not erroneous to free an attribute key that is in use, because the actual free does not transpire until after all references (in other communicators on the process) to the key have been freed. These references need to be explictly freed by the program, either via calls to MPI_Attr_delete that free one attribute instance, or by calls to MPI_Comm_free that free all attribute instances associated with the freed communicator.
40
41.SH NOTE
42.ft R
43Key values are global (they can be used with any and all communicators).
44
45.SH ERRORS
46Almost 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.
47.sp
48Before the error value is returned, the current MPI error handler is
49called. 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. 
50
51.SH SEE ALSO
52MPI_Keyval_create
53.br
54
55
56
57
58
Note: See TracBrowser for help on using the repository browser.