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

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

Adding compiled files

File size: 3.9 KB
Line 
1.\"Copyright 2007-2008 Sun Microsystems, Inc.
2.\" Copyright (c) 1996 Thinking Machines Corporation
3.TH MPI_Unpublish_name 3 "Dec 08, 2009" "1.4" "Open MPI"
4
5.SH NAME
6.nf
7\fBMPI_Unpublish_name\fP \- Unpublishes a service name
8
9.SH SYNTAX
10.ft R
11
12.SH C Syntax
13.nf
14#include <mpi.h>
15int MPI_Unpublish_name(char *\fIservice_name\fP, MPI_Info \fIinfo\fP,
16        char *\fIport_name\fP)
17
18.SH Fortran Syntax
19.nf
20INCLUDE 'mpif.h'
21MPI_UNPUBLISH_NAME(\fISERVICE_NAME, INFO, PORT_NAME, IERROR\fP)
22        CHARACTER*(*)   \fISERVICE_NAME, PORT_NAME\fP
23        INTEGER         \fIINFO, IERROR\fP
24
25.SH C++ Syntax
26.nf
27#include <mpi.h>
28void MPI::Unpublish_name(const char* \fIservice_name\fP, const MPI::Info& \fIinfo\fP,
29        char* \fIport_name\fP)
30
31.SH INPUT PARAMETERS
32.ft R
33.TP 1.4i
34service_name
35A service name (string).
36.TP 1.4i
37info
38Options to the name service functions (handle).
39.ft R
40.TP 1.4i
41port_name
42A port name (string).
43
44.SH OUTPUT PARAMETER
45.TP 1.4i
46IERROR
47Fortran only: Error status (integer).
48
49.SH DESCRIPTION
50.ft R
51This routine removes the pair (\fIservice_name, port_name\fP) so that
52applications may no longer retrieve \fIport_name\fP by calling
53MPI_Lookup_name. It is an error to unpublish a \fIservice_name\fP
54that was not published via MPI_Publish_name. Both the \fIservice_name\fP
55and \fIport_name\fP arguments to MPI_Unpublish_name must be identical
56to the arguments to the previous call to MPI_Publish_name.
57
58.SH INFO ARGUMENTS
59The following keys for \fIinfo\fP are recognized:
60.sp
61.sp
62.nf
63Key                   Type      Description
64---                   ----      -----------
65
66ompi_global_scope     bool      If set to true, unpublish the name from
67                                the global scope.  Unpublish from the local
68                                scope otherwise.  See the NAME SCOPE
69                                section for more details.
70
71.fi
72
73.sp
74\fIbool\fP info keys are actually strings but are evaluated as
75follows: if the string value is a number, it is converted to an
76integer and cast to a boolean (meaning that zero integers are false
77and non-zero values are true).  If the string value is
78(case-insensitive) "yes" or "true", the boolean is true.  If the
79string value is (case-insensitive) "no" or "false", the boolean is
80false.  All other string values are unrecognized, and therefore false.
81.PP
82If no info key is provided, the function will first check to see if a
83global server has been specified and is available. If so, then the
84unpublish function will default to global scope first, followed by local. Otherwise,
85the data will default to unpublish with local scope.
86
87.SH NAME SCOPE
88Open MPI supports two name scopes: \fIglobal\fP and \fIlocal\fP. Local scope
89values are placed in a data store located on the mpirun of the calling
90process' job, while global scope values reside on a central server. Calls
91to MPI_Unpublish_name must correctly specify the scope to be used in
92finding the value to be removed. The function will return an error if
93the specified service name is not found on the indicated location.
94.sp
95For a more detailed description of scoping rules, please see the MPI_Publish_name
96man page.
97
98.SH ERRORS
99.ft R
100Almost all MPI routines return an error value; C routines as
101the value of the function and Fortran routines in the last argument. C++
102functions do not return errors. If the default error handler is set to
103MPI::ERRORS_THROW_EXCEPTIONS, then on error the C++ exception mechanism
104will be used to throw an MPI:Exception object.
105.sp
106Before the error value is returned, the current MPI error handler is
107called. By default, this error handler aborts the MPI job, except for
108I/O function errors. The error handler may be changed with
109MPI_Comm_set_errhandler; the predefined error handler MPI_ERRORS_RETURN
110may be used to cause error values to be returned. Note that MPI does not
111guarantee that an MPI program can continue past an error.
112.sp
113See the MPI man page for a full list of MPI error codes.
114
115.SH SEE ALSO
116.ft R
117.nf
118MPI_Publish_name
119MPI_Lookup_name
120MPI_Open_port
121
122
Note: See TracBrowser for help on using the repository browser.