LAPACK 3.12.1
LAPACK: Linear Algebra PACKage
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages

◆ xerbla()

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

Definition at line 3649 of file zblat3.f.

3650*
3651* This is a special version of XERBLA to be used only as part of
3652* the test program for testing error exits from the Level 3 BLAS
3653* routines.
3654*
3655* XERBLA is an error handler for the Level 3 BLAS routines.
3656*
3657* It is called by the Level 3 BLAS routines if an input parameter is
3658* invalid.
3659*
3660* Auxiliary routine for test program for Level 3 Blas.
3661*
3662* -- Written on 8-February-1989.
3663* Jack Dongarra, Argonne National Laboratory.
3664* Iain Duff, AERE Harwell.
3665* Jeremy Du Croz, Numerical Algorithms Group Ltd.
3666* Sven Hammarling, Numerical Algorithms Group Ltd.
3667*
3668* .. Scalar Arguments ..
3669 INTEGER INFO
3670 CHARACTER*(*) SRNAME
3671* .. Scalars in Common ..
3672 INTEGER INFOT, NOUT
3673 LOGICAL LERR, OK
3674 CHARACTER*7 SRNAMT
3675* .. Common blocks ..
3676 COMMON /infoc/infot, nout, ok, lerr
3677 COMMON /srnamc/srnamt
3678* .. Executable Statements ..
3679 lerr = .true.
3680 IF( info.NE.infot )THEN
3681 IF( infot.NE.0 )THEN
3682 WRITE( nout, fmt = 9999 )info, infot
3683 ELSE
3684 WRITE( nout, fmt = 9997 )info
3685 END IF
3686 ok = .false.
3687 END IF
3688 IF( srname.NE.srnamt )THEN
3689 WRITE( nout, fmt = 9998 )srname, srnamt
3690 ok = .false.
3691 END IF
3692 RETURN
3693*
3694 9999 FORMAT( ' ******* XERBLA WAS CALLED WITH INFO = ', i6, ' INSTEAD',
3695 $ ' OF ', i2, ' *******' )
3696 9998 FORMAT( ' ******* XERBLA WAS CALLED WITH SRNAME = ', a6, ' INSTE',
3697 $ 'AD OF ', a6, ' *******' )
3698 9997 FORMAT( ' ******* XERBLA WAS CALLED WITH INFO = ', i6,
3699 $ ' *******' )
3700*
3701* End of XERBLA
3702*