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

◆ xerbla()

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

Definition at line 3637 of file cblat3.f.

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