2
SUBROUTINE XERBLA (SRNAME, INFO)
3
C***BEGIN PROLOGUE XERBLA
5
C***PURPOSE Error handler for the Level 2 and Level 3 BLAS Routines.
8
C***TYPE ALL (XERBLA-A)
9
C***KEYWORDS ERROR MESSAGE
10
C***AUTHOR Dongarra, J. J., (ANL)
16
C It is called by Level 2 and 3 BLAS routines if an input parameter
22
C SRNAME - CHARACTER*6.
23
C On entry, SRNAME specifies the name of the routine which
27
C On entry, INFO specifies the position of the invalid
28
C parameter in the parameter-list of the calling routine.
31
C***ROUTINES CALLED XERMSG
32
C***REVISION HISTORY (YYMMDD)
34
C 910610 Routine rewritten to serve as an interface between the
35
C Level 2 and Level 3 BLAS routines and the SLATEC error
36
C handler XERMSG. (BKS)
37
C***END PROLOGUE XERBLA
39
C .. Scalar Arguments ..
44
C***FIRST EXECUTABLE STATEMENT XERBLA
46
WRITE (XERN1, '(I2)') INFO
47
CALL XERMSG ('SLATEC', SRNAME, 'On entry to '//SRNAME//
48
$ ' parameter number '//XERN1//' had an illegal value',