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

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

Adding compiled files

File size: 1.6 KB
Line 
1.\"Copyright 2006-2008 Sun Microsystems, Inc.
2.\" Copyright (c) 1996 Thinking Machines Corporation
3.TH MPI_Is_thread_main 3 "Dec 08, 2009" "1.4" "Open MPI"
4
5.SH NAME
6\fBMPI_Is_thread_main\fP \- Determines if thread called MPI_Init
7
8.SH SYNTAX
9.ft R
10.SH C Syntax
11.nf
12#include <mpi.h>
13int MPI_Is_thread_main(int *\fIflag\fP)
14
15.SH Fortran Syntax
16.nf
17INCLUDE 'mpif.h'
18MPI_IS_THREAD_MAIN(\fIFLAG, IERROR\fP)
19        LOGICAL \fIFLAG\fP
20        INTEGER \fIIERROR\fP
21
22.SH C++ Syntax
23.nf
24#include <mpi.h>
25bool MPI::Is_thread_main()
26
27.SH OUTPUT PARAMETERS
28.TP 1i
29flag
30True if calling thread is main thread (boolean).
31.ft R
32.TP 1i
33IERROR
34Fortran only: Error status (integer).
35
36.SH DESCRIPTION
37.ft R
38MPI_Is_thread_main is called by a thread to find out whether the
39caller is the main thread (that is, the thread that called MPI_Init or
40MPI_Init_thread).
41
42.SH ERRORS
43.ft R
44Almost all MPI routines return an error value; C routines as
45the value of the function and Fortran routines in the last argument. C++
46functions do not return errors. If the default error handler is set to
47MPI::ERRORS_THROW_EXCEPTIONS, then on error the C++ exception mechanism
48will be used to throw an MPI:Exception object.
49.sp
50Before the error value is returned, the current MPI error handler is
51called. By default, this error handler aborts the MPI job, except for
52I/O function errors. The error handler may be changed with
53MPI_Comm_set_errhandler; the predefined error handler MPI_ERRORS_RETURN
54may be used to cause error values to be returned. Note that MPI does not
55guarantee that an MPI program can continue past an error.
56.sp
57See the MPI man page for a full list of MPI error codes.
58
59.SH SEE ALSO
60.ft R
61.nf
62MPI_Init
63MPI_Init_thread
64
Note: See TracBrowser for help on using the repository browser.