LAPACK 3.12.0
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches

◆ xerbla()

subroutine xerbla ( character*(*)  srname,
integer  info 
)

XERBLA

Download XERBLA + dependencies [TGZ] [ZIP] [TXT]

Purpose:
 XERBLA  is an error handler for the LAPACK routines.
 It is called by an LAPACK routine if an input parameter has an
 invalid value.  A message is printed and execution stops.

 Installers may consider modifying the STOP statement in order to
 call system-specific exception-handling facilities.
Parameters
[in]SRNAME
          SRNAME is CHARACTER*(*)
          The name of the routine which called XERBLA.
[in]INFO
          INFO is INTEGER
          The position of the invalid parameter in the parameter list
          of the calling routine.
Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.

Definition at line 69 of file xerbla.f.

70*
71* -- LAPACK auxiliary routine --
72* -- LAPACK is a software package provided by Univ. of Tennessee, --
73* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
74*
75* .. Scalar Arguments ..
76 CHARACTER*(*) SRNAME
77 INTEGER INFO
78* ..
79*
80* =====================================================================
81*
82* .. Intrinsic Functions ..
83 INTRINSIC len_trim
84* ..
85* .. Executable Statements ..
86*
87 WRITE( *, fmt = 9999 )srname( 1:len_trim( srname ) ), info
88*
89 stop
90*
91 9999 FORMAT( ' ** On entry to ', a, ' parameter number ', i2, ' had ',
92 $ 'an illegal value' )
93*
94* End of XERBLA
95*