LAPACK 3.12.1
LAPACK: Linear Algebra PACKage
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
xerbla.f
Go to the documentation of this file.
1*> \brief \b XERBLA
2*
3* =========== DOCUMENTATION ===========
4*
5* Online html documentation available at
6* http://www.netlib.org/lapack/explore-html/
7*
8*> Download XERBLA + dependencies
9*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/xerbla.f">
10*> [TGZ]</a>
11*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/xerbla.f">
12*> [ZIP]</a>
13*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/xerbla.f">
14*> [TXT]</a>
15*
16* Definition:
17* ===========
18*
19* SUBROUTINE XERBLA( SRNAME, INFO )
20*
21* .. Scalar Arguments ..
22* CHARACTER*(*) SRNAME
23* INTEGER INFO
24* ..
25*
26*
27*> \par Purpose:
28* =============
29*>
30*> \verbatim
31*>
32*> XERBLA is an error handler for the LAPACK routines.
33*> It is called by an LAPACK routine if an input parameter has an
34*> invalid value. A message is printed and execution stops.
35*>
36*> Installers may consider modifying the STOP statement in order to
37*> call system-specific exception-handling facilities.
38*> \endverbatim
39*
40* Arguments:
41* ==========
42*
43*> \param[in] SRNAME
44*> \verbatim
45*> SRNAME is CHARACTER*(*)
46*> The name of the routine which called XERBLA.
47*> \endverbatim
48*>
49*> \param[in] INFO
50*> \verbatim
51*> INFO is INTEGER
52*> The position of the invalid parameter in the parameter list
53*> of the calling routine.
54*> \endverbatim
55*
56* Authors:
57* ========
58*
59*> \author Univ. of Tennessee
60*> \author Univ. of California Berkeley
61*> \author Univ. of Colorado Denver
62*> \author NAG Ltd.
63*
64*> \ingroup xerbla
65*
66* =====================================================================
67 SUBROUTINE xerbla( SRNAME, INFO )
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*
94 END
subroutine xerbla(srname, info)
Definition cblat2.f:3285