File: node101.html

package info (click to toggle)
scalapack-doc 1.5-11
  • links: PTS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 10,336 kB
  • ctags: 4,931
  • sloc: makefile: 47; sh: 18
file content (111 lines) | stat: -rw-r--r-- 5,816 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<!--Converted with LaTeX2HTML 96.1-h (September 30, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds -->
<HTML>
<HEAD>
<TITLE>Error Handling and the Diagnostic Argument INFO</TITLE>
<META NAME="description" CONTENT="Error Handling and the Diagnostic Argument INFO">
<META NAME="keywords" CONTENT="slug">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<LINK REL=STYLESHEET HREF="slug.css">
</HEAD>
<BODY LANG="EN" >
 <A NAME="tex2html3448" HREF="node102.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="http://www.netlib.org/utk/icons/next_motif.gif"></A> <A NAME="tex2html3446" HREF="node92.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="http://www.netlib.org/utk/icons/up_motif.gif"></A> <A NAME="tex2html3440" HREF="node100.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="http://www.netlib.org/utk/icons/previous_motif.gif"></A> <A NAME="tex2html3450" HREF="node1.html"><IMG WIDTH=65 HEIGHT=24 ALIGN=BOTTOM ALT="contents" SRC="http://www.netlib.org/utk/icons/contents_motif.gif"></A> <A NAME="tex2html3451" HREF="node190.html"><IMG WIDTH=43 HEIGHT=24 ALIGN=BOTTOM ALT="index" SRC="http://www.netlib.org/utk/icons/index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME="tex2html3449" HREF="node102.html">Alignment Restrictions</A>
<B>Up:</B> <A NAME="tex2html3447" HREF="node92.html">Design and Documentation of </A>
<B> Previous:</B> <A NAME="tex2html3441" HREF="node100.html">LWORK  WORK(1)</A>
<BR> <P>
<H2><A NAME="SECTION04466000000000000000">Error Handling and the Diagnostic Argument INFO</A></H2>
 <A NAME="subsecinfo">&#160;</A>
<P>
All<A NAME="3504">&#160;</A>
driver and computational routines<A NAME="3505">&#160;</A>
have a diagnostic argument INFO<A NAME="3506">&#160;</A><A NAME="3507">&#160;</A>
that indicates the success or 
failure of the computation. It is
recommended that the user always 
check the value of INFO on exit
from calling a ScaLAPACK routine.
The value of INFO is defined as follows:
<P>
<UL>
<LI> INFO = 0: successful exit
<LI> INFO &lt; 0: illegal value of one or more arguments -- no computation
       performed
<LI> INFO &gt; 0: failure in the course of
       computation<A NAME="3509">&#160;</A>
</UL>
<P>
The value of (INFO&lt;0)<A NAME="3511">&#160;</A>
is calculated as follows: if the error is detected
in the <I>j</I>th entry of a descriptor array, which is
the <I>i</I>th argument in the parameter list, the
number passed to the error-handling routine
<TT>PXERBLA()</TT><A NAME="3513">&#160;</A><A NAME="3514">&#160;</A>
has been arbitrarily chosen to be <IMG WIDTH=102 HEIGHT=26 ALIGN=MIDDLE ALT="tex2html_wrap_inline16134" SRC="img361.gif">.
This allows the user to distinguish an error
on a descriptor entry from an error on a scalar
argument.
<P>
The standard version of <TT>PXERBLA()</TT> only
issues an error message and does not halt 
execution of the program.  The main reason
for this behavior is that some ``errors''
are deemed recoverable and we wanted to 
allow the user the flexibility to continue
program execution if certain values were
corrected.  If user wish to change this
behavior and additionally halt execution
of the program, they may add a call to
<TT>BLACS_ABORT()</TT> to their version of
<TT>PXERBLA()</TT>.
<P>
If an input error (INFO&lt;0) is detected
at a high-level routine (ScaLAPACK driver
or computational routine), it is possible 
for the user to recover from such an error
and proceed with the computation. An error
message is printed by <TT>PXERBLA()</TT>, a
RETURN is issued, and the program execution
continues.  However, if an error is detected
in a low-level ScaLAPACK routine, this error
is considered unrecoverable, a message is
printed by <TT>PXERBLA()</TT>, and program
execution is terminated by a call to 
<TT>BLACS_ABORT()</TT><A NAME="3521">&#160;</A>.
<P>
Likewise, if an error is detected at a
low-level routine, such as a PBLAS or 
BLACS routine, this error is deemed fatal.
An error message is printed, and the
program execution is terminated by the
specific error-handling routine.
<P>
All ScaLAPACK driver and computational
routines perform global and local input
error-checking.  In general, no input
error-checking is performed on the 
auxiliary routines. The exception to
this rule is for the auxiliary routines
which are Level 2 versions of
computational routines (e.g., PxGETF2,
PxGEQR2, PxORMR2, PxORM2R, etc.).
For efficiency purposes, these 
specialized low-level routines
perform only a local validity
check of their argument list.
If an error is detected in at 
least one process of the current
context, the program execution 
is stopped.
<P>
<HR><A NAME="tex2html3448" HREF="node102.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="http://www.netlib.org/utk/icons/next_motif.gif"></A> <A NAME="tex2html3446" HREF="node92.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="http://www.netlib.org/utk/icons/up_motif.gif"></A> <A NAME="tex2html3440" HREF="node100.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="http://www.netlib.org/utk/icons/previous_motif.gif"></A> <A NAME="tex2html3450" HREF="node1.html"><IMG WIDTH=65 HEIGHT=24 ALIGN=BOTTOM ALT="contents" SRC="http://www.netlib.org/utk/icons/contents_motif.gif"></A> <A NAME="tex2html3451" HREF="node190.html"><IMG WIDTH=43 HEIGHT=24 ALIGN=BOTTOM ALT="index" SRC="http://www.netlib.org/utk/icons/index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME="tex2html3449" HREF="node102.html">Alignment Restrictions</A>
<B>Up:</B> <A NAME="tex2html3447" HREF="node92.html">Design and Documentation of </A>
<B> Previous:</B> <A NAME="tex2html3441" HREF="node100.html">LWORK  WORK(1)</A>
<P><ADDRESS>
<I>Susan Blackford <BR>
Tue May 13 09:21:01 EDT 1997</I>
</ADDRESS>
</BODY>
</HTML>