File: node151.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 (62 lines) | stat: -rw-r--r-- 3,927 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
<!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>Invalid Arguments and PXERBLA</TITLE>
<META NAME="description" CONTENT="Invalid Arguments and PXERBLA">
<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="tex2html4105" HREF="node152.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="http://www.netlib.org/utk/icons/next_motif.gif"></A> <A NAME="tex2html4103" HREF="node150.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="http://www.netlib.org/utk/icons/up_motif.gif"></A> <A NAME="tex2html4097" HREF="node150.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="http://www.netlib.org/utk/icons/previous_motif.gif"></A> <A NAME="tex2html4107" 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="tex2html4108" 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="tex2html4106" HREF="node152.html">Computational Failures and INFO </A>
<B>Up:</B> <A NAME="tex2html4104" HREF="node150.html">Failures Detected by ScaLAPACK </A>
<B> Previous:</B> <A NAME="tex2html4098" HREF="node150.html">Failures Detected by ScaLAPACK </A>
<BR> <P>
<H2><A NAME="SECTION04751000000000000000">Invalid Arguments and PXERBLA</A></H2>
<P>
<A NAME="6295">&#160;</A><A NAME="6296">&#160;</A><A NAME="6297">&#160;</A>
If an illegal value is supplied for one of the input arguments to
a ScaLAPACK routine, it will call the error handler PXERBLA to write
a message to the standard output unit of the form:
<PRE> ** On entry to PSGESV  parameter number  4 had an illegal value</PRE>
This particular message could be caused by passing to PSGESV<A NAME="6298">&#160;</A> a value of NRHS
that was less than zero, for example.
The arguments are checked in order, beginning with the first.
As mentioned in Chapter&nbsp;<A HREF="node68.html#chap2dbsd">4</A>, if an error is
detected in the <IMG WIDTH=20 HEIGHT=32 ALIGN=MIDDLE ALT="tex2html_wrap_inline19432" SRC="img736.gif"> entry of a descriptor array,
which is the <IMG WIDTH=17 HEIGHT=15 ALIGN=BOTTOM ALT="tex2html_wrap_inline19434" SRC="img737.gif"> argument in the parameter list, the
number passed to <TT>PXERBLA</TT> has been arbitrarily
chosen to be 100*<I>i</I>+<I>j</I>. This allows the user to
distinguish an error on a descriptor entry from an
error on a scalar argument.
Invalid arguments are often caused by the kind of error listed in 
section&nbsp;<A HREF="node149.html#seccommonerrors">7.3</A>.
<P>
In the model implementation of PXERBLA<A NAME="6304">&#160;</A> that is supplied
with ScaLAPACK, the only action that is performed is the printing of
an error message to standard output.  Program execution is <EM>not</EM> terminated.
For the ScaLAPACK driver and computational routines, a RETURN statement is
issued following the call to PXERBLA.  Control returns to the higher-level
calling routine, and it is left to the user to determine how the program
should proceed.
However, in the specialized low-level ScaLAPACK routines (auxiliary routines
that are Level 2 equivalents of computational routines), the call to
<TT>PXERBLA()</TT> is immediately followed by a call to
<TT>BLACS_ABORT()</TT><A NAME="6308">&#160;</A> to
terminate program execution since recovery from an error at this level in the
computation is not possible.
<P>
It is always good practice to check for a nonzero value of INFO
on return from a ScaLAPACK routine.
<A NAME="6309">&#160;</A>
<P>
<BR> <HR>
<P><ADDRESS>
<I>Susan Blackford <BR>
Tue May 13 09:21:01 EDT 1997</I>
</ADDRESS>
</BODY>
</HTML>