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

◆ xerbla()

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

Definition at line 2901 of file sblat3.f.

2902*
2903* This is a special version of XERBLA to be used only as part of
2904* the test program for testing error exits from the Level 3 BLAS
2905* routines.
2906*
2907* XERBLA is an error handler for the Level 3 BLAS routines.
2908*
2909* It is called by the Level 3 BLAS routines if an input parameter is
2910* invalid.
2911*
2912* Auxiliary routine for test program for Level 3 Blas.
2913*
2914* -- Written on 8-February-1989.
2915* Jack Dongarra, Argonne National Laboratory.
2916* Iain Duff, AERE Harwell.
2917* Jeremy Du Croz, Numerical Algorithms Group Ltd.
2918* Sven Hammarling, Numerical Algorithms Group Ltd.
2919*
2920* .. Scalar Arguments ..
2921 INTEGER INFO
2922 CHARACTER*(*) SRNAME
2923* .. Scalars in Common ..
2924 INTEGER INFOT, NOUT
2925 LOGICAL LERR, OK
2926 CHARACTER*7 SRNAMT
2927* .. Common blocks ..
2928 COMMON /infoc/infot, nout, ok, lerr
2929 COMMON /srnamc/srnamt
2930* .. Executable Statements ..
2931 lerr = .true.
2932 IF( info.NE.infot )THEN
2933 IF( infot.NE.0 )THEN
2934 WRITE( nout, fmt = 9999 )info, infot
2935 ELSE
2936 WRITE( nout, fmt = 9997 )info
2937 END IF
2938 ok = .false.
2939 END IF
2940 IF( srname .NE. srname ) THEN
2941 WRITE( nout, fmt = 9998 )srname, srnamt
2942 ok = .false.
2943 END IF
2944 RETURN
2945*
2946 9999 FORMAT( ' ******* XERBLA WAS CALLED WITH INFO = ', i6, ' INSTEAD',
2947 $ ' OF ', i2, ' *******' )
2948 9998 FORMAT( ' ******* XERBLA WAS CALLED WITH SRNAME = ', a7, ' INSTE',
2949 $ 'AD OF ', a7, ' *******' )
2950 9997 FORMAT( ' ******* XERBLA WAS CALLED WITH INFO = ', i6,
2951 $ ' *******' )
2952*
2953* End of XERBLA
2954*