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
|
<!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>Computational Failures and INFO > 0</TITLE>
<META NAME="description" CONTENT="Computational Failures and INFO > 0">
<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="tex2html4115" HREF="node153.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="http://www.netlib.org/utk/icons/next_motif.gif"></A> <A NAME="tex2html4113" 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="tex2html4109" HREF="node151.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="http://www.netlib.org/utk/icons/previous_motif.gif"></A> <A NAME="tex2html4117" 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="tex2html4118" 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="tex2html4116" HREF="node153.html">Wrong Results</A>
<B>Up:</B> <A NAME="tex2html4114" HREF="node150.html">Failures Detected by ScaLAPACK </A>
<B> Previous:</B> <A NAME="tex2html4110" HREF="node151.html">Invalid Arguments and PXERBLA</A>
<BR> <P>
<H2><A NAME="SECTION04752000000000000000">Computational Failures and INFO > 0</A></H2>
<P>
<A NAME="6311"> </A><A NAME="6312"> </A>
A positive value of INFO on return from a ScaLAPACK routine indicates a
failure in the course of the algorithm. Common causes are
<UL>
<LI> a matrix is singular (to working precision),
<LI> a symmetric matrix is not positive definite, or
<LI> an iterative algorithm for computing eigenvalues or eigenvectors
fails to converge in the permitted number of iterations.
</UL>
For example, if PSGESVX<A NAME="6315"> </A> is called to solve a system of
equations with a coefficient matrix<A NAME="6316"> </A> that is
approximately singular,
it may detect exact singularity at the <I>i</I>th stage of the <I>LU</I>
factorization, in which case it returns INFO = <I>i</I>;
or (more probably) it may compute an estimate of the reciprocal condition number
that is less than relative machine precision, in which case it returns INFO = <I>n</I>+1.
Again, the documentation in Part <A HREF="node187.html#partroutines">ii</A> should be consulted for a
description of the error.
<P>
When a failure with INFO > 0 occurs, control is <EM>always</EM> returned
to the calling program; <TT>PXERBLA()</TT> is <EM>not</EM> called, and no error
message is written.
Thus, it is always good practice to check for
a nonzero value of INFO on return from a ScaLAPACK routine.
<P>
A failure with INFO > 0 may indicate any of the following:
<P>
<UL>
<LI> An inappropriate routine was used:.
For example, if a routine fails because a symmetric matrix turns out not to be
positive definite, consider using a routine for symmetric indefinite matrices.
<LI> A single-precision routine was used when double precision was needed.
For example, if PSGESVX<A NAME="6322"> </A> reports approximate singularity
(as illustrated above), the corresponding double precision routine PDGESVX
may be able to solve the problem (but nevertheless the problem is
ill-conditioned).
<LI> A programming error occurred in generating the data supplied
to a routine. For example, even though theoretically a matrix should be
well-conditioned and positive-definite, a programming error in generating
the matrix could easily destroy either of those properties.
<LI> A programming error occurred in calling the routine, of the kind
listed in section <A HREF="node149.html#seccommonerrors">7.3</A>.
<P>
</UL><HR><A NAME="tex2html4115" HREF="node153.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="http://www.netlib.org/utk/icons/next_motif.gif"></A> <A NAME="tex2html4113" 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="tex2html4109" HREF="node151.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="http://www.netlib.org/utk/icons/previous_motif.gif"></A> <A NAME="tex2html4117" 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="tex2html4118" 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="tex2html4116" HREF="node153.html">Wrong Results</A>
<B>Up:</B> <A NAME="tex2html4114" HREF="node150.html">Failures Detected by ScaLAPACK </A>
<B> Previous:</B> <A NAME="tex2html4110" HREF="node151.html">Invalid Arguments and PXERBLA</A>
<P><ADDRESS>
<I>Susan Blackford <BR>
Tue May 13 09:21:01 EDT 1997</I>
</ADDRESS>
</BODY>
</HTML>
|