source: proiecte/hpl/openmpi_compiled/share/man/man3/MPI_Comm_free_keyval.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
3.TH MPI_Comm_free_keyval 3 "Dec 08, 2009" "1.4" "Open MPI"
4.SH NAME
5\fBMPI_Comm_free_keyval\fP \- Frees attribute key for communicator cache attribute.
6
7.SH SYNTAX
8.ft R
9.SH C Syntax
10.nf
11#include <mpi.h>
12int MPI_Comm_free_keyval(int *\fIcomm_keyval\fP)
13
14.SH Fortran Syntax
15.nf
16INCLUDE 'mpif.h'
17MPI_COMM_FREE_KEYVAL(\fICOMM_KEYVAL, IERROR\fP)
18        INTEGER \fICOMM_KEYVAL, IERROR \fP
19
20.SH C++ Syntax
21.nf
22#include <mpi.h>
23static void MPI::Comm::Free_keyval(int& \fIcomm_keyval\fP)
24
25.SH INPUT/OUTPUT PARAMETER
26.ft R
27.TP 1i
28comm_keyval
29
30.SH OUTPUT PARAMETER
31.ft R
32.TP 1i
33IERROR
34Fortran only: Error status (integer).
35
36
37.SH DESCRIPTION
38.ft R
39MPI_Comm_free_keyval frees an extant attribute key. This function sets the value of \fIkeyval\fP 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_Comm_delete_attr that free one attribute instance, or by calls to MPI_Comm_free that free all attribute instances associated with the freed communicator.
40.sp
41This call is identical to the call MPI_Keyval_free but is needed to match the  communicator-specific creation function introduced in the MPI-2 standard. The use of MPI_Keyval_free is deprecated.
42
43
44.SH NOTES
45.ft R
46Key values are global (they can be used with any and all communicators).
47
48.SH ERRORS
49Almost 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.
50.sp
51Before the error value is returned, the current MPI error handler is
52called. 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. 
53
Note: See TracBrowser for help on using the repository browser.