Error Handling and the Diagnostic Argument INFO

next up previous contents index
Next: Determining the Block Up: Design and Documentation Previous: Work Arrays

Error Handling and the Diagnostic Argument INFO


All  documented routines  have a diagnostic argument INFO  that indicates the success or failure of the computation, as follows:

All driver and auxiliary routines check that input arguments such as N or LDA or option arguments of type character have permitted values. If an illegal value of the i-th argument is detected, the routine sets INFO = -i, and then calls an error-handling routine XERBLA.   

The standard version of XERBLA issues an error message and halts execution,   so that no LAPACK routine would ever return to the calling program with INFO < 0. However, this might occur if a non-standard version of XERBLA is used.

Tue Nov 29 14:03:33 EST 1994