HP MLIB User's Guide Vol. 2 7th Ed.

Chapter 13 Sparse Linear Equations 893
Numeric factorization and condition number estimation DSLECO
ier = 501 Error in dynamic storage allocation
during factorization.
ier = 502 Error in dynamic storage allocation
during factorization.
ier = 503 Exactly zero pivot encountered during
factorization; matrix is singular.
Example Factor the matrix input to the package and estimate its condition number. Use
a pivot tolerance of 0.1.
INTEGER*4 INRTIA(3),IER
REAL*8 RCOND,GLOBAL(150)
CALL DSLECO (0.1D0,RCOND,INRTIA,GLOBAL,IER)
IF ( IER .NE. 0 ) THEN
handle error condition
ENDIF