LAPACK 3.12.1
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 67 of file xerbla.f.

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