Cloned library LAPACK-3.11.0 with extra build files for internal package management.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

1357 lines
55 KiB

*> \brief \b ZERRST
*
* @precisions fortran z -> c
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE ZERRST( PATH, NUNIT )
*
* .. Scalar Arguments ..
* CHARACTER*3 PATH
* INTEGER NUNIT
* ..
*
*
*> \par Purpose:
* =============
*>
*> \verbatim
*>
*> ZERRST tests the error exits for ZHETRD, ZHETD2, ZUNGTR, CUNMTR, ZHPTRD,
*> ZUNGTR, ZUPMTR, ZSTEQR, CSTEIN, ZPTEQR, ZHBTRD,
*> ZHEEV, CHEEVX, CHEEVD, ZHBEV, CHBEVX, CHBEVD,
*> ZHPEV, CHPEVX, CHPEVD, and ZSTEDC.
*> ZHEEVD_2STAGE, ZHEEVR_2STAGE, ZHEEVX_2STAGE,
*> ZHEEV_2STAGE, ZHBEV_2STAGE, ZHBEVD_2STAGE,
*> ZHBEVX_2STAGE, ZHETRD_2STAGE
*> \endverbatim
*
* Arguments:
* ==========
*
*> \param[in] PATH
*> \verbatim
*> PATH is CHARACTER*3
*> The LAPACK path name for the routines to be tested.
*> \endverbatim
*>
*> \param[in] NUNIT
*> \verbatim
*> NUNIT is INTEGER
*> The unit number for output.
*> \endverbatim
*
* Authors:
* ========
*
*> \author Univ. of Tennessee
*> \author Univ. of California Berkeley
*> \author Univ. of Colorado Denver
*> \author NAG Ltd.
*
*> \ingroup complex16_eig
*
* =====================================================================
SUBROUTINE ZERRST( PATH, NUNIT )
*
* -- LAPACK test routine --
* -- LAPACK is a software package provided by Univ. of Tennessee, --
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
*
* .. Scalar Arguments ..
CHARACTER*3 PATH
INTEGER NUNIT
* ..
*
* =====================================================================
*
* .. Parameters ..
INTEGER NMAX, LIW, LW
PARAMETER ( NMAX = 3, LIW = 12*NMAX, LW = 20*NMAX )
* ..
* .. Local Scalars ..
CHARACTER*2 C2
INTEGER I, INFO, J, M, N, NT
* ..
* .. Local Arrays ..
INTEGER I1( NMAX ), I2( NMAX ), I3( NMAX ), IW( LIW )
DOUBLE PRECISION D( NMAX ), E( NMAX ), R( LW ), RW( LW ),
$ X( NMAX )
COMPLEX*16 A( NMAX, NMAX ), C( NMAX, NMAX ),
$ Q( NMAX, NMAX ), TAU( NMAX ), W( LW ),
$ Z( NMAX, NMAX )
* ..
* .. External Functions ..
LOGICAL LSAMEN
EXTERNAL LSAMEN
* ..
* .. External Subroutines ..
EXTERNAL CHKXER, ZHBEV, ZHBEVD, ZHBEVX, ZHBTRD, ZHEEV,
$ ZHEEVD, ZHEEVR, ZHEEVX, ZHETRD, ZHPEV, ZHPEVD,
$ ZHPEVX, ZHPTRD, ZPTEQR, ZSTEDC, ZSTEIN, ZSTEQR,
$ ZUNGTR, ZUNMTR, ZUPGTR, ZUPMTR, ZHETD2,
$ ZHEEVD_2STAGE, ZHEEVR_2STAGE, ZHEEVX_2STAGE,
$ ZHEEV_2STAGE, ZHBEV_2STAGE, ZHBEVD_2STAGE,
$ ZHBEVX_2STAGE, ZHETRD_2STAGE
* ..
* .. Scalars in Common ..
LOGICAL LERR, OK
CHARACTER*32 SRNAMT
INTEGER INFOT, NOUT
* ..
* .. Common blocks ..
COMMON / INFOC / INFOT, NOUT, OK, LERR
COMMON / SRNAMC / SRNAMT
* ..
* .. Intrinsic Functions ..
INTRINSIC DBLE
* ..
* .. Executable Statements ..
*
NOUT = NUNIT
WRITE( NOUT, FMT = * )
C2 = PATH( 2: 3 )
*
* Set the variables to innocuous values.
*
DO 20 J = 1, NMAX
DO 10 I = 1, NMAX
A( I, J ) = 1.D0 / DBLE( I+J )
10 CONTINUE
20 CONTINUE
DO 30 J = 1, NMAX
D( J ) = DBLE( J )
E( J ) = 0.0D0
I1( J ) = J
I2( J ) = J
TAU( J ) = 1.D0
30 CONTINUE
OK = .TRUE.
NT = 0
*
* Test error exits for the ST path.
*
IF( LSAMEN( 2, C2, 'ST' ) ) THEN
*
* ZHETRD
*
SRNAMT = 'ZHETRD'
INFOT = 1
CALL ZHETRD( '/', 0, A, 1, D, E, TAU, W, 1, INFO )
CALL CHKXER( 'ZHETRD', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZHETRD( 'U', -1, A, 1, D, E, TAU, W, 1, INFO )
CALL CHKXER( 'ZHETRD', INFOT, NOUT, LERR, OK )
INFOT = 4
CALL ZHETRD( 'U', 2, A, 1, D, E, TAU, W, 1, INFO )
CALL CHKXER( 'ZHETRD', INFOT, NOUT, LERR, OK )
INFOT = 9
CALL ZHETRD( 'U', 0, A, 1, D, E, TAU, W, 0, INFO )
CALL CHKXER( 'ZHETRD', INFOT, NOUT, LERR, OK )
NT = NT + 4
*
* ZHETD2
*
SRNAMT = 'ZHETD2'
INFOT = 1
CALL ZHETD2( '/', 0, A, 1, D, E, TAU, W, 1, INFO )
CALL CHKXER( 'ZHETD2', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZHETD2( 'U', -1, A, 1, D, E, TAU, W, 1, INFO )
CALL CHKXER( 'ZHETD2', INFOT, NOUT, LERR, OK )
INFOT = 4
CALL ZHETD2( 'U', 2, A, 1, D, E, TAU, W, 1, INFO )
CALL CHKXER( 'ZHETD2', INFOT, NOUT, LERR, OK )
NT = NT + 3
*
* ZHETRD_2STAGE
*
SRNAMT = 'ZHETRD_2STAGE'
INFOT = 1
CALL ZHETRD_2STAGE( '/', 'U', 0, A, 1, D, E, TAU,
$ C, 1, W, 1, INFO )
CALL CHKXER( 'ZHETRD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 1
CALL ZHETRD_2STAGE( 'H', 'U', 0, A, 1, D, E, TAU,
$ C, 1, W, 1, INFO )
CALL CHKXER( 'ZHETRD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZHETRD_2STAGE( 'N', '/', 0, A, 1, D, E, TAU,
$ C, 1, W, 1, INFO )
CALL CHKXER( 'ZHETRD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 3
CALL ZHETRD_2STAGE( 'N', 'U', -1, A, 1, D, E, TAU,
$ C, 1, W, 1, INFO )
CALL CHKXER( 'ZHETRD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 5
CALL ZHETRD_2STAGE( 'N', 'U', 2, A, 1, D, E, TAU,
$ C, 1, W, 1, INFO )
CALL CHKXER( 'ZHETRD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 10
CALL ZHETRD_2STAGE( 'N', 'U', 0, A, 1, D, E, TAU,
$ C, 0, W, 1, INFO )
CALL CHKXER( 'ZHETRD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 12
CALL ZHETRD_2STAGE( 'N', 'U', 0, A, 1, D, E, TAU,
$ C, 1, W, 0, INFO )
CALL CHKXER( 'ZHETRD_2STAGE', INFOT, NOUT, LERR, OK )
NT = NT + 7
*
* ZHETRD_HE2HB
*
SRNAMT = 'ZHETRD_HE2HB'
INFOT = 1
CALL ZHETRD_HE2HB( '/', 0, 0, A, 1, C, 1, TAU, W, 1, INFO )
CALL CHKXER( 'ZHETRD_HE2HB', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZHETRD_HE2HB( 'U', -1, 0, A, 1, C, 1, TAU, W, 1, INFO )
CALL CHKXER( 'ZHETRD_HE2HB', INFOT, NOUT, LERR, OK )
INFOT = 3
CALL ZHETRD_HE2HB( 'U', 0, -1, A, 1, C, 1, TAU, W, 1, INFO )
CALL CHKXER( 'ZHETRD_HE2HB', INFOT, NOUT, LERR, OK )
INFOT = 5
CALL ZHETRD_HE2HB( 'U', 2, 0, A, 1, C, 1, TAU, W, 1, INFO )
CALL CHKXER( 'ZHETRD_HE2HB', INFOT, NOUT, LERR, OK )
INFOT = 7
CALL ZHETRD_HE2HB( 'U', 0, 2, A, 1, C, 1, TAU, W, 1, INFO )
CALL CHKXER( 'ZHETRD_HE2HB', INFOT, NOUT, LERR, OK )
INFOT = 10
CALL ZHETRD_HE2HB( 'U', 0, 0, A, 1, C, 1, TAU, W, 0, INFO )
CALL CHKXER( 'ZHETRD_HE2HB', INFOT, NOUT, LERR, OK )
NT = NT + 6
*
* ZHETRD_HB2ST
*
SRNAMT = 'ZHETRD_HB2ST'
INFOT = 1
CALL ZHETRD_HB2ST( '/', 'N', 'U', 0, 0, A, 1, D, E,
$ C, 1, W, 1, INFO )
CALL CHKXER( 'ZHETRD_HB2ST', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZHETRD_HB2ST( 'Y', '/', 'U', 0, 0, A, 1, D, E,
$ C, 1, W, 1, INFO )
CALL CHKXER( 'ZHETRD_HB2ST', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZHETRD_HB2ST( 'Y', 'H', 'U', 0, 0, A, 1, D, E,
$ C, 1, W, 1, INFO )
CALL CHKXER( 'ZHETRD_HB2ST', INFOT, NOUT, LERR, OK )
INFOT = 3
CALL ZHETRD_HB2ST( 'Y', 'N', '/', 0, 0, A, 1, D, E,
$ C, 1, W, 1, INFO )
CALL CHKXER( 'ZHETRD_HB2ST', INFOT, NOUT, LERR, OK )
INFOT = 4
CALL ZHETRD_HB2ST( 'Y', 'N', 'U', -1, 0, A, 1, D, E,
$ C, 1, W, 1, INFO )
CALL CHKXER( 'ZHETRD_HB2ST', INFOT, NOUT, LERR, OK )
INFOT = 5
CALL ZHETRD_HB2ST( 'Y', 'N', 'U', 0, -1, A, 1, D, E,
$ C, 1, W, 1, INFO )
CALL CHKXER( 'ZHETRD_HB2ST', INFOT, NOUT, LERR, OK )
INFOT = 7
CALL ZHETRD_HB2ST( 'Y', 'N', 'U', 0, 1, A, 1, D, E,
$ C, 1, W, 1, INFO )
CALL CHKXER( 'ZHETRD_HB2ST', INFOT, NOUT, LERR, OK )
INFOT = 11
CALL ZHETRD_HB2ST( 'Y', 'N', 'U', 0, 0, A, 1, D, E,
$ C, 0, W, 1, INFO )
CALL CHKXER( 'ZHETRD_HB2ST', INFOT, NOUT, LERR, OK )
INFOT = 13
CALL ZHETRD_HB2ST( 'Y', 'N', 'U', 0, 0, A, 1, D, E,
$ C, 1, W, 0, INFO )
CALL CHKXER( 'ZHETRD_HB2ST', INFOT, NOUT, LERR, OK )
NT = NT + 9
*
* ZUNGTR
*
SRNAMT = 'ZUNGTR'
INFOT = 1
CALL ZUNGTR( '/', 0, A, 1, TAU, W, 1, INFO )
CALL CHKXER( 'ZUNGTR', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZUNGTR( 'U', -1, A, 1, TAU, W, 1, INFO )
CALL CHKXER( 'ZUNGTR', INFOT, NOUT, LERR, OK )
INFOT = 4
CALL ZUNGTR( 'U', 2, A, 1, TAU, W, 1, INFO )
CALL CHKXER( 'ZUNGTR', INFOT, NOUT, LERR, OK )
INFOT = 7
CALL ZUNGTR( 'U', 3, A, 3, TAU, W, 1, INFO )
CALL CHKXER( 'ZUNGTR', INFOT, NOUT, LERR, OK )
NT = NT + 4
*
* ZUNMTR
*
SRNAMT = 'ZUNMTR'
INFOT = 1
CALL ZUNMTR( '/', 'U', 'N', 0, 0, A, 1, TAU, C, 1, W, 1, INFO )
CALL CHKXER( 'ZUNMTR', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZUNMTR( 'L', '/', 'N', 0, 0, A, 1, TAU, C, 1, W, 1, INFO )
CALL CHKXER( 'ZUNMTR', INFOT, NOUT, LERR, OK )
INFOT = 3
CALL ZUNMTR( 'L', 'U', '/', 0, 0, A, 1, TAU, C, 1, W, 1, INFO )
CALL CHKXER( 'ZUNMTR', INFOT, NOUT, LERR, OK )
INFOT = 4
CALL ZUNMTR( 'L', 'U', 'N', -1, 0, A, 1, TAU, C, 1, W, 1,
$ INFO )
CALL CHKXER( 'ZUNMTR', INFOT, NOUT, LERR, OK )
INFOT = 5
CALL ZUNMTR( 'L', 'U', 'N', 0, -1, A, 1, TAU, C, 1, W, 1,
$ INFO )
CALL CHKXER( 'ZUNMTR', INFOT, NOUT, LERR, OK )
INFOT = 7
CALL ZUNMTR( 'L', 'U', 'N', 2, 0, A, 1, TAU, C, 2, W, 1, INFO )
CALL CHKXER( 'ZUNMTR', INFOT, NOUT, LERR, OK )
INFOT = 7
CALL ZUNMTR( 'R', 'U', 'N', 0, 2, A, 1, TAU, C, 1, W, 1, INFO )
CALL CHKXER( 'ZUNMTR', INFOT, NOUT, LERR, OK )
INFOT = 10
CALL ZUNMTR( 'L', 'U', 'N', 2, 0, A, 2, TAU, C, 1, W, 1, INFO )
CALL CHKXER( 'ZUNMTR', INFOT, NOUT, LERR, OK )
INFOT = 12
CALL ZUNMTR( 'L', 'U', 'N', 0, 2, A, 1, TAU, C, 1, W, 1, INFO )
CALL CHKXER( 'ZUNMTR', INFOT, NOUT, LERR, OK )
INFOT = 12
CALL ZUNMTR( 'R', 'U', 'N', 2, 0, A, 1, TAU, C, 2, W, 1, INFO )
CALL CHKXER( 'ZUNMTR', INFOT, NOUT, LERR, OK )
NT = NT + 10
*
* ZHPTRD
*
SRNAMT = 'ZHPTRD'
INFOT = 1
CALL ZHPTRD( '/', 0, A, D, E, TAU, INFO )
CALL CHKXER( 'ZHPTRD', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZHPTRD( 'U', -1, A, D, E, TAU, INFO )
CALL CHKXER( 'ZHPTRD', INFOT, NOUT, LERR, OK )
NT = NT + 2
*
* ZUPGTR
*
SRNAMT = 'ZUPGTR'
INFOT = 1
CALL ZUPGTR( '/', 0, A, TAU, Z, 1, W, INFO )
CALL CHKXER( 'ZUPGTR', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZUPGTR( 'U', -1, A, TAU, Z, 1, W, INFO )
CALL CHKXER( 'ZUPGTR', INFOT, NOUT, LERR, OK )
INFOT = 6
CALL ZUPGTR( 'U', 2, A, TAU, Z, 1, W, INFO )
CALL CHKXER( 'ZUPGTR', INFOT, NOUT, LERR, OK )
NT = NT + 3
*
* ZUPMTR
*
SRNAMT = 'ZUPMTR'
INFOT = 1
CALL ZUPMTR( '/', 'U', 'N', 0, 0, A, TAU, C, 1, W, INFO )
CALL CHKXER( 'ZUPMTR', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZUPMTR( 'L', '/', 'N', 0, 0, A, TAU, C, 1, W, INFO )
CALL CHKXER( 'ZUPMTR', INFOT, NOUT, LERR, OK )
INFOT = 3
CALL ZUPMTR( 'L', 'U', '/', 0, 0, A, TAU, C, 1, W, INFO )
CALL CHKXER( 'ZUPMTR', INFOT, NOUT, LERR, OK )
INFOT = 4
CALL ZUPMTR( 'L', 'U', 'N', -1, 0, A, TAU, C, 1, W, INFO )
CALL CHKXER( 'ZUPMTR', INFOT, NOUT, LERR, OK )
INFOT = 5
CALL ZUPMTR( 'L', 'U', 'N', 0, -1, A, TAU, C, 1, W, INFO )
CALL CHKXER( 'ZUPMTR', INFOT, NOUT, LERR, OK )
INFOT = 9
CALL ZUPMTR( 'L', 'U', 'N', 2, 0, A, TAU, C, 1, W, INFO )
CALL CHKXER( 'ZUPMTR', INFOT, NOUT, LERR, OK )
NT = NT + 6
*
* ZPTEQR
*
SRNAMT = 'ZPTEQR'
INFOT = 1
CALL ZPTEQR( '/', 0, D, E, Z, 1, RW, INFO )
CALL CHKXER( 'ZPTEQR', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZPTEQR( 'N', -1, D, E, Z, 1, RW, INFO )
CALL CHKXER( 'ZPTEQR', INFOT, NOUT, LERR, OK )
INFOT = 6
CALL ZPTEQR( 'V', 2, D, E, Z, 1, RW, INFO )
CALL CHKXER( 'ZPTEQR', INFOT, NOUT, LERR, OK )
NT = NT + 3
*
* ZSTEIN
*
SRNAMT = 'ZSTEIN'
INFOT = 1
CALL ZSTEIN( -1, D, E, 0, X, I1, I2, Z, 1, RW, IW, I3, INFO )
CALL CHKXER( 'ZSTEIN', INFOT, NOUT, LERR, OK )
INFOT = 4
CALL ZSTEIN( 0, D, E, -1, X, I1, I2, Z, 1, RW, IW, I3, INFO )
CALL CHKXER( 'ZSTEIN', INFOT, NOUT, LERR, OK )
INFOT = 4
CALL ZSTEIN( 0, D, E, 1, X, I1, I2, Z, 1, RW, IW, I3, INFO )
CALL CHKXER( 'ZSTEIN', INFOT, NOUT, LERR, OK )
INFOT = 9
CALL ZSTEIN( 2, D, E, 0, X, I1, I2, Z, 1, RW, IW, I3, INFO )
CALL CHKXER( 'ZSTEIN', INFOT, NOUT, LERR, OK )
NT = NT + 4
*
* ZSTEQR
*
SRNAMT = 'ZSTEQR'
INFOT = 1
CALL ZSTEQR( '/', 0, D, E, Z, 1, RW, INFO )
CALL CHKXER( 'ZSTEQR', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZSTEQR( 'N', -1, D, E, Z, 1, RW, INFO )
CALL CHKXER( 'ZSTEQR', INFOT, NOUT, LERR, OK )
INFOT = 6
CALL ZSTEQR( 'V', 2, D, E, Z, 1, RW, INFO )
CALL CHKXER( 'ZSTEQR', INFOT, NOUT, LERR, OK )
NT = NT + 3
*
* ZSTEDC
*
SRNAMT = 'ZSTEDC'
INFOT = 1
CALL ZSTEDC( '/', 0, D, E, Z, 1, W, 1, RW, 1, IW, 1, INFO )
CALL CHKXER( 'ZSTEDC', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZSTEDC( 'N', -1, D, E, Z, 1, W, 1, RW, 1, IW, 1, INFO )
CALL CHKXER( 'ZSTEDC', INFOT, NOUT, LERR, OK )
INFOT = 6
CALL ZSTEDC( 'V', 2, D, E, Z, 1, W, 4, RW, 23, IW, 28, INFO )
CALL CHKXER( 'ZSTEDC', INFOT, NOUT, LERR, OK )
INFOT = 8
CALL ZSTEDC( 'N', 2, D, E, Z, 1, W, 0, RW, 1, IW, 1, INFO )
CALL CHKXER( 'ZSTEDC', INFOT, NOUT, LERR, OK )
INFOT = 8
CALL ZSTEDC( 'V', 2, D, E, Z, 2, W, 0, RW, 23, IW, 28, INFO )
CALL CHKXER( 'ZSTEDC', INFOT, NOUT, LERR, OK )
INFOT = 10
CALL ZSTEDC( 'N', 2, D, E, Z, 1, W, 1, RW, 0, IW, 1, INFO )
CALL CHKXER( 'ZSTEDC', INFOT, NOUT, LERR, OK )
INFOT = 10
CALL ZSTEDC( 'I', 2, D, E, Z, 2, W, 1, RW, 1, IW, 12, INFO )
CALL CHKXER( 'ZSTEDC', INFOT, NOUT, LERR, OK )
INFOT = 10
CALL ZSTEDC( 'V', 2, D, E, Z, 2, W, 4, RW, 1, IW, 28, INFO )
CALL CHKXER( 'ZSTEDC', INFOT, NOUT, LERR, OK )
INFOT = 12
CALL ZSTEDC( 'N', 2, D, E, Z, 1, W, 1, RW, 1, IW, 0, INFO )
CALL CHKXER( 'ZSTEDC', INFOT, NOUT, LERR, OK )
INFOT = 12
CALL ZSTEDC( 'I', 2, D, E, Z, 2, W, 1, RW, 23, IW, 0, INFO )
CALL CHKXER( 'ZSTEDC', INFOT, NOUT, LERR, OK )
INFOT = 12
CALL ZSTEDC( 'V', 2, D, E, Z, 2, W, 4, RW, 23, IW, 0, INFO )
CALL CHKXER( 'ZSTEDC', INFOT, NOUT, LERR, OK )
NT = NT + 11
*
* ZHEEVD
*
SRNAMT = 'ZHEEVD'
INFOT = 1
CALL ZHEEVD( '/', 'U', 0, A, 1, X, W, 1, RW, 1, IW, 1, INFO )
CALL CHKXER( 'ZHEEVD', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZHEEVD( 'N', '/', 0, A, 1, X, W, 1, RW, 1, IW, 1, INFO )
CALL CHKXER( 'ZHEEVD', INFOT, NOUT, LERR, OK )
INFOT = 3
CALL ZHEEVD( 'N', 'U', -1, A, 1, X, W, 1, RW, 1, IW, 1, INFO )
CALL CHKXER( 'ZHEEVD', INFOT, NOUT, LERR, OK )
INFOT = 5
CALL ZHEEVD( 'N', 'U', 2, A, 1, X, W, 3, RW, 2, IW, 1, INFO )
CALL CHKXER( 'ZHEEVD', INFOT, NOUT, LERR, OK )
INFOT = 8
CALL ZHEEVD( 'N', 'U', 1, A, 1, X, W, 0, RW, 1, IW, 1, INFO )
CALL CHKXER( 'ZHEEVD', INFOT, NOUT, LERR, OK )
INFOT = 8
CALL ZHEEVD( 'N', 'U', 2, A, 2, X, W, 2, RW, 2, IW, 1, INFO )
CALL CHKXER( 'ZHEEVD', INFOT, NOUT, LERR, OK )
INFOT = 8
CALL ZHEEVD( 'V', 'U', 2, A, 2, X, W, 3, RW, 25, IW, 12, INFO )
CALL CHKXER( 'ZHEEVD', INFOT, NOUT, LERR, OK )
INFOT = 10
CALL ZHEEVD( 'N', 'U', 1, A, 1, X, W, 1, RW, 0, IW, 1, INFO )
CALL CHKXER( 'ZHEEVD', INFOT, NOUT, LERR, OK )
INFOT = 10
CALL ZHEEVD( 'N', 'U', 2, A, 2, X, W, 3, RW, 1, IW, 1, INFO )
CALL CHKXER( 'ZHEEVD', INFOT, NOUT, LERR, OK )
INFOT = 10
CALL ZHEEVD( 'V', 'U', 2, A, 2, X, W, 8, RW, 18, IW, 12, INFO )
CALL CHKXER( 'ZHEEVD', INFOT, NOUT, LERR, OK )
INFOT = 12
CALL ZHEEVD( 'N', 'U', 1, A, 1, X, W, 1, RW, 1, IW, 0, INFO )
CALL CHKXER( 'ZHEEVD', INFOT, NOUT, LERR, OK )
INFOT = 12
CALL ZHEEVD( 'V', 'U', 2, A, 2, X, W, 8, RW, 25, IW, 11, INFO )
CALL CHKXER( 'ZHEEVD', INFOT, NOUT, LERR, OK )
NT = NT + 12
*
* ZHEEVD_2STAGE
*
SRNAMT = 'ZHEEVD_2STAGE'
INFOT = 1
CALL ZHEEVD_2STAGE( '/', 'U', 0, A, 1, X, W, 1,
$ RW, 1, IW, 1, INFO )
CALL CHKXER( 'ZHEEVD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 1
CALL ZHEEVD_2STAGE( 'V', 'U', 0, A, 1, X, W, 1,
$ RW, 1, IW, 1, INFO )
CALL CHKXER( 'ZHEEVD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZHEEVD_2STAGE( 'N', '/', 0, A, 1, X, W, 1,
$ RW, 1, IW, 1, INFO )
CALL CHKXER( 'ZHEEVD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 3
CALL ZHEEVD_2STAGE( 'N', 'U', -1, A, 1, X, W, 1,
$ RW, 1, IW, 1, INFO )
CALL CHKXER( 'ZHEEVD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 5
CALL ZHEEVD_2STAGE( 'N', 'U', 2, A, 1, X, W, 3,
$ RW, 2, IW, 1, INFO )
CALL CHKXER( 'ZHEEVD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 8
CALL ZHEEVD_2STAGE( 'N', 'U', 1, A, 1, X, W, 0,
$ RW, 1, IW, 1, INFO )
CALL CHKXER( 'ZHEEVD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 8
CALL ZHEEVD_2STAGE( 'N', 'U', 2, A, 2, X, W, 2,
$ RW, 2, IW, 1, INFO )
CALL CHKXER( 'ZHEEVD_2STAGE', INFOT, NOUT, LERR, OK )
* INFOT = 8
* CALL ZHEEVD_2STAGE( 'V', 'U', 2, A, 2, X, W, 3,
* $ RW, 25, IW, 12, INFO )
* CALL CHKXER( 'ZHEEVD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 10
CALL ZHEEVD_2STAGE( 'N', 'U', 1, A, 1, X, W, 1,
$ RW, 0, IW, 1, INFO )
CALL CHKXER( 'ZHEEVD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 10
CALL ZHEEVD_2STAGE( 'N', 'U', 2, A, 2, X, W, 25,
$ RW, 1, IW, 1, INFO )
CALL CHKXER( 'ZHEEVD_2STAGE', INFOT, NOUT, LERR, OK )
* INFOT = 10
* CALL ZHEEVD_2STAGE( 'V', 'U', 2, A, 2, X, W, 8,
* $ RW, 18, IW, 12, INFO )
* CALL CHKXER( 'ZHEEVD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 12
CALL ZHEEVD_2STAGE( 'N', 'U', 1, A, 1, X, W, 1,
$ RW, 1, IW, 0, INFO )
CALL CHKXER( 'ZHEEVD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 12
* CALL ZHEEVD_2STAGE( 'V', 'U', 2, A, 2, X, W, 8,
* $ RW, 25, IW, 11, INFO )
* CALL CHKXER( 'ZHEEVD_2STAGE', INFOT, NOUT, LERR, OK )
NT = NT + 10
*
* ZHEEV
*
SRNAMT = 'ZHEEV '
INFOT = 1
CALL ZHEEV( '/', 'U', 0, A, 1, X, W, 1, RW, INFO )
CALL CHKXER( 'ZHEEV ', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZHEEV( 'N', '/', 0, A, 1, X, W, 1, RW, INFO )
CALL CHKXER( 'ZHEEV ', INFOT, NOUT, LERR, OK )
INFOT = 3
CALL ZHEEV( 'N', 'U', -1, A, 1, X, W, 1, RW, INFO )
CALL CHKXER( 'ZHEEV ', INFOT, NOUT, LERR, OK )
INFOT = 5
CALL ZHEEV( 'N', 'U', 2, A, 1, X, W, 3, RW, INFO )
CALL CHKXER( 'ZHEEV ', INFOT, NOUT, LERR, OK )
INFOT = 8
CALL ZHEEV( 'N', 'U', 2, A, 2, X, W, 2, RW, INFO )
CALL CHKXER( 'ZHEEV ', INFOT, NOUT, LERR, OK )
NT = NT + 5
*
* ZHEEV_2STAGE
*
SRNAMT = 'ZHEEV_2STAGE '
INFOT = 1
CALL ZHEEV_2STAGE( '/', 'U', 0, A, 1, X, W, 1, RW, INFO )
CALL CHKXER( 'ZHEEV_2STAGE ', INFOT, NOUT, LERR, OK )
INFOT = 1
CALL ZHEEV_2STAGE( 'V', 'U', 0, A, 1, X, W, 1, RW, INFO )
CALL CHKXER( 'ZHEEV_2STAGE ', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZHEEV_2STAGE( 'N', '/', 0, A, 1, X, W, 1, RW, INFO )
CALL CHKXER( 'ZHEEV_2STAGE ', INFOT, NOUT, LERR, OK )
INFOT = 3
CALL ZHEEV_2STAGE( 'N', 'U', -1, A, 1, X, W, 1, RW, INFO )
CALL CHKXER( 'ZHEEV_2STAGE ', INFOT, NOUT, LERR, OK )
INFOT = 5
CALL ZHEEV_2STAGE( 'N', 'U', 2, A, 1, X, W, 3, RW, INFO )
CALL CHKXER( 'ZHEEV_2STAGE ', INFOT, NOUT, LERR, OK )
INFOT = 8
CALL ZHEEV_2STAGE( 'N', 'U', 2, A, 2, X, W, 2, RW, INFO )
CALL CHKXER( 'ZHEEV_2STAGE ', INFOT, NOUT, LERR, OK )
NT = NT + 6
*
* ZHEEVX
*
SRNAMT = 'ZHEEVX'
INFOT = 1
CALL ZHEEVX( '/', 'A', 'U', 0, A, 1, 0.0D0, 0.0D0, 0, 0, 0.0D0,
$ M, X, Z, 1, W, 1, RW, IW, I3, INFO )
CALL CHKXER( 'ZHEEVX', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZHEEVX( 'V', '/', 'U', 0, A, 1, 0.0D0, 1.0D0, 1, 0, 0.0D0,
$ M, X, Z, 1, W, 1, RW, IW, I3, INFO )
CALL CHKXER( 'ZHEEVX', INFOT, NOUT, LERR, OK )
INFOT = 3
CALL ZHEEVX( 'V', 'A', '/', 0, A, 1, 0.0D0, 0.0D0, 0, 0, 0.0D0,
$ M, X, Z, 1, W, 1, RW, IW, I3, INFO )
INFOT = 4
CALL ZHEEVX( 'V', 'A', 'U', -1, A, 1, 0.0D0, 0.0D0, 0, 0,
$ 0.0D0, M, X, Z, 1, W, 1, RW, IW, I3, INFO )
CALL CHKXER( 'ZHEEVX', INFOT, NOUT, LERR, OK )
INFOT = 6
CALL ZHEEVX( 'V', 'A', 'U', 2, A, 1, 0.0D0, 0.0D0, 0, 0, 0.0D0,
$ M, X, Z, 2, W, 3, RW, IW, I3, INFO )
CALL CHKXER( 'ZHEEVX', INFOT, NOUT, LERR, OK )
INFOT = 8
CALL ZHEEVX( 'V', 'V', 'U', 1, A, 1, 0.0D0, 0.0D0, 0, 0, 0.0D0,
$ M, X, Z, 1, W, 1, RW, IW, I3, INFO )
CALL CHKXER( 'ZHEEVX', INFOT, NOUT, LERR, OK )
INFOT = 9
CALL ZHEEVX( 'V', 'I', 'U', 1, A, 1, 0.0D0, 0.0D0, 0, 0, 0.0D0,
$ M, X, Z, 1, W, 1, RW, IW, I3, INFO )
CALL CHKXER( 'ZHEEVX', INFOT, NOUT, LERR, OK )
INFOT = 10
CALL ZHEEVX( 'V', 'I', 'U', 2, A, 2, 0.0D0, 0.0D0, 2, 1, 0.0D0,
$ M, X, Z, 2, W, 3, RW, IW, I3, INFO )
CALL CHKXER( 'ZHEEVX', INFOT, NOUT, LERR, OK )
INFOT = 15
CALL ZHEEVX( 'V', 'A', 'U', 2, A, 2, 0.0D0, 0.0D0, 0, 0, 0.0D0,
$ M, X, Z, 1, W, 3, RW, IW, I3, INFO )
CALL CHKXER( 'ZHEEVX', INFOT, NOUT, LERR, OK )
INFOT = 17
CALL ZHEEVX( 'V', 'A', 'U', 2, A, 2, 0.0D0, 0.0D0, 0, 0, 0.0D0,
$ M, X, Z, 2, W, 2, RW, IW, I1, INFO )
CALL CHKXER( 'ZHEEVX', INFOT, NOUT, LERR, OK )
NT = NT + 10
*
* ZHEEVX_2STAGE
*
SRNAMT = 'ZHEEVX_2STAGE'
INFOT = 1
CALL ZHEEVX_2STAGE( '/', 'A', 'U', 0, A, 1,
$ 0.0D0, 0.0D0, 0, 0, 0.0D0,
$ M, X, Z, 1, W, 1, RW, IW, I3, INFO )
CALL CHKXER( 'ZHEEVX_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 1
CALL ZHEEVX_2STAGE( 'V', 'A', 'U', 0, A, 1,
$ 0.0D0, 0.0D0, 0, 0, 0.0D0,
$ M, X, Z, 1, W, 1, RW, IW, I3, INFO )
CALL CHKXER( 'ZHEEVX_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZHEEVX_2STAGE( 'N', '/', 'U', 0, A, 1,
$ 0.0D0, 1.0D0, 1, 0, 0.0D0,
$ M, X, Z, 1, W, 1, RW, IW, I3, INFO )
CALL CHKXER( 'ZHEEVX_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 3
CALL ZHEEVX_2STAGE( 'N', 'A', '/', 0, A, 1,
$ 0.0D0, 0.0D0, 0, 0, 0.0D0,
$ M, X, Z, 1, W, 1, RW, IW, I3, INFO )
INFOT = 4
CALL ZHEEVX_2STAGE( 'N', 'A', 'U', -1, A, 1,
$ 0.0D0, 0.0D0, 0, 0, 0.0D0,
$ M, X, Z, 1, W, 1, RW, IW, I3, INFO )
CALL CHKXER( 'ZHEEVX_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 6
CALL ZHEEVX_2STAGE( 'N', 'A', 'U', 2, A, 1,
$ 0.0D0, 0.0D0, 0, 0, 0.0D0,
$ M, X, Z, 2, W, 3, RW, IW, I3, INFO )
CALL CHKXER( 'ZHEEVX_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 8
CALL ZHEEVX_2STAGE( 'N', 'V', 'U', 1, A, 1,
$ 0.0D0, 0.0D0, 0, 0, 0.0D0,
$ M, X, Z, 1, W, 1, RW, IW, I3, INFO )
CALL CHKXER( 'ZHEEVX_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 9
CALL ZHEEVX_2STAGE( 'N', 'I', 'U', 1, A, 1,
$ 0.0D0, 0.0D0, 0, 0, 0.0D0,
$ M, X, Z, 1, W, 1, RW, IW, I3, INFO )
CALL CHKXER( 'ZHEEVX_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 10
CALL ZHEEVX_2STAGE( 'N', 'I', 'U', 2, A, 2,
$ 0.0D0, 0.0D0, 2, 1, 0.0D0,
$ M, X, Z, 2, W, 3, RW, IW, I3, INFO )
CALL CHKXER( 'ZHEEVX_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 15
CALL ZHEEVX_2STAGE( 'N', 'A', 'U', 2, A, 2,
$ 0.0D0, 0.0D0, 0, 0, 0.0D0,
$ M, X, Z, 0, W, 3, RW, IW, I3, INFO )
CALL CHKXER( 'ZHEEVX_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 17
CALL ZHEEVX_2STAGE( 'N', 'A', 'U', 2, A, 2,
$ 0.0D0, 0.0D0, 0, 0, 0.0D0,
$ M, X, Z, 2, W, 0, RW, IW, I1, INFO )
CALL CHKXER( 'ZHEEVX_2STAGE', INFOT, NOUT, LERR, OK )
NT = NT + 11
*
* ZHEEVR
*
SRNAMT = 'ZHEEVR'
N = 1
INFOT = 1
CALL ZHEEVR( '/', 'A', 'U', 0, A, 1, 0.0D0, 0.0D0, 1, 1, 0.0D0,
$ M, R, Z, 1, IW, Q, 2*N, RW, 24*N, IW( 2*N+1 ),
$ 10*N, INFO )
CALL CHKXER( 'ZHEEVR', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZHEEVR( 'V', '/', 'U', 0, A, 1, 0.0D0, 0.0D0, 1, 1, 0.0D0,
$ M, R, Z, 1, IW, Q, 2*N, RW, 24*N, IW( 2*N+1 ),
$ 10*N, INFO )
CALL CHKXER( 'ZHEEVR', INFOT, NOUT, LERR, OK )
INFOT = 3
CALL ZHEEVR( 'V', 'A', '/', -1, A, 1, 0.0D0, 0.0D0, 1, 1,
$ 0.0D0, M, R, Z, 1, IW, Q, 2*N, RW, 24*N,
$ IW( 2*N+1 ), 10*N, INFO )
CALL CHKXER( 'ZHEEVR', INFOT, NOUT, LERR, OK )
INFOT = 4
CALL ZHEEVR( 'V', 'A', 'U', -1, A, 1, 0.0D0, 0.0D0, 1, 1,
$ 0.0D0, M, R, Z, 1, IW, Q, 2*N, RW, 24*N,
$ IW( 2*N+1 ), 10*N, INFO )
CALL CHKXER( 'ZHEEVR', INFOT, NOUT, LERR, OK )
INFOT = 6
CALL ZHEEVR( 'V', 'A', 'U', 2, A, 1, 0.0D0, 0.0D0, 1, 1, 0.0D0,
$ M, R, Z, 1, IW, Q, 2*N, RW, 24*N, IW( 2*N+1 ),
$ 10*N, INFO )
CALL CHKXER( 'ZHEEVR', INFOT, NOUT, LERR, OK )
INFOT = 8
CALL ZHEEVR( 'V', 'V', 'U', 1, A, 1, 0.0D0, 0.0D0, 1, 1, 0.0D0,
$ M, R, Z, 1, IW, Q, 2*N, RW, 24*N, IW( 2*N+1 ),
$ 10*N, INFO )
CALL CHKXER( 'ZHEEVR', INFOT, NOUT, LERR, OK )
INFOT = 9
CALL ZHEEVR( 'V', 'I', 'U', 1, A, 1, 0.0D0, 0.0D0, 0, 1, 0.0D0,
$ M, R, Z, 1, IW, Q, 2*N, RW, 24*N, IW( 2*N+1 ),
$ 10*N, INFO )
CALL CHKXER( 'ZHEEVR', INFOT, NOUT, LERR, OK )
INFOT = 10
*
CALL ZHEEVR( 'V', 'I', 'U', 2, A, 2, 0.0D0, 0.0D0, 2, 1, 0.0D0,
$ M, R, Z, 1, IW, Q, 2*N, RW, 24*N, IW( 2*N+1 ),
$ 10*N, INFO )
CALL CHKXER( 'ZHEEVR', INFOT, NOUT, LERR, OK )
INFOT = 15
CALL ZHEEVR( 'V', 'I', 'U', 1, A, 1, 0.0D0, 0.0D0, 1, 1, 0.0D0,
$ M, R, Z, 0, IW, Q, 2*N, RW, 24*N, IW( 2*N+1 ),
$ 10*N, INFO )
CALL CHKXER( 'ZHEEVR', INFOT, NOUT, LERR, OK )
INFOT = 18
CALL ZHEEVR( 'V', 'I', 'U', 1, A, 1, 0.0D0, 0.0D0, 1, 1, 0.0D0,
$ M, R, Z, 1, IW, Q, 2*N-1, RW, 24*N, IW( 2*N+1 ),
$ 10*N, INFO )
CALL CHKXER( 'ZHEEVR', INFOT, NOUT, LERR, OK )
INFOT = 20
CALL ZHEEVR( 'V', 'I', 'U', 1, A, 1, 0.0D0, 0.0D0, 1, 1, 0.0D0,
$ M, R, Z, 1, IW, Q, 2*N, RW, 24*N-1, IW( 2*N-1 ),
$ 10*N, INFO )
CALL CHKXER( 'ZHEEVR', INFOT, NOUT, LERR, OK )
INFOT = 22
CALL ZHEEVR( 'V', 'I', 'U', 1, A, 1, 0.0D0, 0.0D0, 1, 1, 0.0D0,
$ M, R, Z, 1, IW, Q, 2*N, RW, 24*N, IW, 10*N-1,
$ INFO )
CALL CHKXER( 'ZHEEVR', INFOT, NOUT, LERR, OK )
NT = NT + 12
*
* ZHEEVR_2STAGE
*
SRNAMT = 'ZHEEVR_2STAGE'
N = 1
INFOT = 1
CALL ZHEEVR_2STAGE( '/', 'A', 'U', 0, A, 1,
$ 0.0D0, 0.0D0, 1, 1, 0.0D0,
$ M, R, Z, 1, IW, Q, 2*N, RW, 24*N, IW( 2*N+1 ),
$ 10*N, INFO )
CALL CHKXER( 'ZHEEVR_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 1
CALL ZHEEVR_2STAGE( 'V', 'A', 'U', 0, A, 1,
$ 0.0D0, 0.0D0, 1, 1, 0.0D0,
$ M, R, Z, 1, IW, Q, 2*N, RW, 24*N, IW( 2*N+1 ),
$ 10*N, INFO )
CALL CHKXER( 'ZHEEVR_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZHEEVR_2STAGE( 'N', '/', 'U', 0, A, 1,
$ 0.0D0, 0.0D0, 1, 1, 0.0D0,
$ M, R, Z, 1, IW, Q, 2*N, RW, 24*N, IW( 2*N+1 ),
$ 10*N, INFO )
CALL CHKXER( 'ZHEEVR_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 3
CALL ZHEEVR_2STAGE( 'N', 'A', '/', -1, A, 1,
$ 0.0D0, 0.0D0, 1, 1, 0.0D0,
$ M, R, Z, 1, IW, Q, 2*N, RW, 24*N,
$ IW( 2*N+1 ), 10*N, INFO )
CALL CHKXER( 'ZHEEVR_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 4
CALL ZHEEVR_2STAGE( 'N', 'A', 'U', -1, A, 1,
$ 0.0D0, 0.0D0, 1, 1, 0.0D0,
$ M, R, Z, 1, IW, Q, 2*N, RW, 24*N,
$ IW( 2*N+1 ), 10*N, INFO )
CALL CHKXER( 'ZHEEVR_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 6
CALL ZHEEVR_2STAGE( 'N', 'A', 'U', 2, A, 1,
$ 0.0D0, 0.0D0, 1, 1, 0.0D0,
$ M, R, Z, 1, IW, Q, 2*N, RW, 24*N, IW( 2*N+1 ),
$ 10*N, INFO )
CALL CHKXER( 'ZHEEVR_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 8
CALL ZHEEVR_2STAGE( 'N', 'V', 'U', 1, A, 1,
$ 0.0D0, 0.0D0, 1, 1, 0.0D0,
$ M, R, Z, 1, IW, Q, 2*N, RW, 24*N, IW( 2*N+1 ),
$ 10*N, INFO )
CALL CHKXER( 'ZHEEVR_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 9
CALL ZHEEVR_2STAGE( 'N', 'I', 'U', 1, A, 1,
$ 0.0D0, 0.0D0, 0, 1, 0.0D0,
$ M, R, Z, 1, IW, Q, 2*N, RW, 24*N, IW( 2*N+1 ),
$ 10*N, INFO )
CALL CHKXER( 'ZHEEVR_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 10
CALL ZHEEVR_2STAGE( 'N', 'I', 'U', 2, A, 2,
$ 0.0D0, 0.0D0, 2, 1, 0.0D0,
$ M, R, Z, 1, IW, Q, 2*N, RW, 24*N, IW( 2*N+1 ),
$ 10*N, INFO )
CALL CHKXER( 'ZHEEVR_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 15
CALL ZHEEVR_2STAGE( 'N', 'I', 'U', 1, A, 1,
$ 0.0D0, 0.0D0, 1, 1, 0.0D0,
$ M, R, Z, 0, IW, Q, 2*N, RW, 24*N, IW( 2*N+1 ),
$ 10*N, INFO )
CALL CHKXER( 'ZHEEVR_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 18
CALL ZHEEVR_2STAGE( 'N', 'I', 'U', 1, A, 1,
$ 0.0D0, 0.0D0, 1, 1, 0.0D0,
$ M, R, Z, 1, IW, Q, 2*N-1, RW, 24*N, IW( 2*N+1 ),
$ 10*N, INFO )
CALL CHKXER( 'ZHEEVR_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 20
CALL ZHEEVR_2STAGE( 'N', 'I', 'U', 1, A, 1,
$ 0.0D0, 0.0D0, 1, 1, 0.0D0,
$ M, R, Z, 1, IW, Q, 26*N, RW, 24*N-1, IW( 2*N-1 ),
$ 10*N, INFO )
CALL CHKXER( 'ZHEEVR_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 22
CALL ZHEEVR_2STAGE( 'N', 'I', 'U', 1, A, 1,
$ 0.0D0, 0.0D0, 1, 1, 0.0D0,
$ M, R, Z, 1, IW, Q, 26*N, RW, 24*N, IW, 10*N-1,
$ INFO )
CALL CHKXER( 'ZHEEVR_2STAGE', INFOT, NOUT, LERR, OK )
NT = NT + 13
*
* ZHPEVD
*
SRNAMT = 'ZHPEVD'
INFOT = 1
CALL ZHPEVD( '/', 'U', 0, A, X, Z, 1, W, 1, RW, 1, IW, 1,
$ INFO )
CALL CHKXER( 'ZHPEVD', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZHPEVD( 'N', '/', 0, A, X, Z, 1, W, 1, RW, 1, IW, 1,
$ INFO )
CALL CHKXER( 'ZHPEVD', INFOT, NOUT, LERR, OK )
INFOT = 3
CALL ZHPEVD( 'N', 'U', -1, A, X, Z, 1, W, 1, RW, 1, IW, 1,
$ INFO )
CALL CHKXER( 'ZHPEVD', INFOT, NOUT, LERR, OK )
INFOT = 7
CALL ZHPEVD( 'V', 'U', 2, A, X, Z, 1, W, 4, RW, 25, IW, 12,
$ INFO )
CALL CHKXER( 'ZHPEVD', INFOT, NOUT, LERR, OK )
INFOT = 9
CALL ZHPEVD( 'N', 'U', 1, A, X, Z, 1, W, 0, RW, 1, IW, 1,
$ INFO )
CALL CHKXER( 'ZHPEVD', INFOT, NOUT, LERR, OK )
INFOT = 9
CALL ZHPEVD( 'N', 'U', 2, A, X, Z, 2, W, 1, RW, 2, IW, 1,
$ INFO )
CALL CHKXER( 'ZHPEVD', INFOT, NOUT, LERR, OK )
INFOT = 9
CALL ZHPEVD( 'V', 'U', 2, A, X, Z, 2, W, 2, RW, 25, IW, 12,
$ INFO )
CALL CHKXER( 'ZHPEVD', INFOT, NOUT, LERR, OK )
INFOT = 11
CALL ZHPEVD( 'N', 'U', 1, A, X, Z, 1, W, 1, RW, 0, IW, 1,
$ INFO )
CALL CHKXER( 'ZHPEVD', INFOT, NOUT, LERR, OK )
INFOT = 11
CALL ZHPEVD( 'N', 'U', 2, A, X, Z, 2, W, 2, RW, 1, IW, 1,
$ INFO )
CALL CHKXER( 'ZHPEVD', INFOT, NOUT, LERR, OK )
INFOT = 11
CALL ZHPEVD( 'V', 'U', 2, A, X, Z, 2, W, 4, RW, 18, IW, 12,
$ INFO )
CALL CHKXER( 'ZHPEVD', INFOT, NOUT, LERR, OK )
INFOT = 13
CALL ZHPEVD( 'N', 'U', 1, A, X, Z, 1, W, 1, RW, 1, IW, 0,
$ INFO )
CALL CHKXER( 'ZHPEVD', INFOT, NOUT, LERR, OK )
INFOT = 13
CALL ZHPEVD( 'N', 'U', 2, A, X, Z, 2, W, 2, RW, 2, IW, 0,
$ INFO )
CALL CHKXER( 'ZHPEVD', INFOT, NOUT, LERR, OK )
INFOT = 13
CALL ZHPEVD( 'V', 'U', 2, A, X, Z, 2, W, 4, RW, 25, IW, 2,
$ INFO )
CALL CHKXER( 'ZHPEVD', INFOT, NOUT, LERR, OK )
NT = NT + 13
*
* ZHPEV
*
SRNAMT = 'ZHPEV '
INFOT = 1
CALL ZHPEV( '/', 'U', 0, A, X, Z, 1, W, RW, INFO )
CALL CHKXER( 'ZHPEV ', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZHPEV( 'N', '/', 0, A, X, Z, 1, W, RW, INFO )
CALL CHKXER( 'ZHPEV ', INFOT, NOUT, LERR, OK )
INFOT = 3
CALL ZHPEV( 'N', 'U', -1, A, X, Z, 1, W, RW, INFO )
CALL CHKXER( 'ZHPEV ', INFOT, NOUT, LERR, OK )
INFOT = 7
CALL ZHPEV( 'V', 'U', 2, A, X, Z, 1, W, RW, INFO )
CALL CHKXER( 'ZHPEV ', INFOT, NOUT, LERR, OK )
NT = NT + 4
*
* ZHPEVX
*
SRNAMT = 'ZHPEVX'
INFOT = 1
CALL ZHPEVX( '/', 'A', 'U', 0, A, 0.0D0, 0.0D0, 0, 0, 0.0D0, M,
$ X, Z, 1, W, RW, IW, I3, INFO )
CALL CHKXER( 'ZHPEVX', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZHPEVX( 'V', '/', 'U', 0, A, 0.0D0, 1.0D0, 1, 0, 0.0D0, M,
$ X, Z, 1, W, RW, IW, I3, INFO )
CALL CHKXER( 'ZHPEVX', INFOT, NOUT, LERR, OK )
INFOT = 3
CALL ZHPEVX( 'V', 'A', '/', 0, A, 0.0D0, 0.0D0, 0, 0, 0.0D0, M,
$ X, Z, 1, W, RW, IW, I3, INFO )
CALL CHKXER( 'ZHPEVX', INFOT, NOUT, LERR, OK )
INFOT = 4
CALL ZHPEVX( 'V', 'A', 'U', -1, A, 0.0D0, 0.0D0, 0, 0, 0.0D0,
$ M, X, Z, 1, W, RW, IW, I3, INFO )
CALL CHKXER( 'ZHPEVX', INFOT, NOUT, LERR, OK )
INFOT = 7
CALL ZHPEVX( 'V', 'V', 'U', 1, A, 0.0D0, 0.0D0, 0, 0, 0.0D0, M,
$ X, Z, 1, W, RW, IW, I3, INFO )
CALL CHKXER( 'ZHPEVX', INFOT, NOUT, LERR, OK )
INFOT = 8
CALL ZHPEVX( 'V', 'I', 'U', 1, A, 0.0D0, 0.0D0, 0, 0, 0.0D0, M,
$ X, Z, 1, W, RW, IW, I3, INFO )
CALL CHKXER( 'ZHPEVX', INFOT, NOUT, LERR, OK )
INFOT = 9
CALL ZHPEVX( 'V', 'I', 'U', 2, A, 0.0D0, 0.0D0, 2, 1, 0.0D0, M,
$ X, Z, 2, W, RW, IW, I3, INFO )
CALL CHKXER( 'ZHPEVX', INFOT, NOUT, LERR, OK )
INFOT = 14
CALL ZHPEVX( 'V', 'A', 'U', 2, A, 0.0D0, 0.0D0, 0, 0, 0.0D0, M,
$ X, Z, 1, W, RW, IW, I3, INFO )
CALL CHKXER( 'ZHPEVX', INFOT, NOUT, LERR, OK )
NT = NT + 8
*
* Test error exits for the HB path.
*
ELSE IF( LSAMEN( 2, C2, 'HB' ) ) THEN
*
* ZHBTRD
*
SRNAMT = 'ZHBTRD'
INFOT = 1
CALL ZHBTRD( '/', 'U', 0, 0, A, 1, D, E, Z, 1, W, INFO )
CALL CHKXER( 'ZHBTRD', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZHBTRD( 'N', '/', 0, 0, A, 1, D, E, Z, 1, W, INFO )
CALL CHKXER( 'ZHBTRD', INFOT, NOUT, LERR, OK )
INFOT = 3
CALL ZHBTRD( 'N', 'U', -1, 0, A, 1, D, E, Z, 1, W, INFO )
CALL CHKXER( 'ZHBTRD', INFOT, NOUT, LERR, OK )
INFOT = 4
CALL ZHBTRD( 'N', 'U', 0, -1, A, 1, D, E, Z, 1, W, INFO )
CALL CHKXER( 'ZHBTRD', INFOT, NOUT, LERR, OK )
INFOT = 6
CALL ZHBTRD( 'N', 'U', 1, 1, A, 1, D, E, Z, 1, W, INFO )
CALL CHKXER( 'ZHBTRD', INFOT, NOUT, LERR, OK )
INFOT = 10
CALL ZHBTRD( 'V', 'U', 2, 0, A, 1, D, E, Z, 1, W, INFO )
CALL CHKXER( 'ZHBTRD', INFOT, NOUT, LERR, OK )
NT = NT + 6
*
* ZHETRD_HB2ST
*
SRNAMT = 'ZHETRD_HB2ST'
INFOT = 1
CALL ZHETRD_HB2ST( '/', 'N', 'U', 0, 0, A, 1, D, E,
$ C, 1, W, 1, INFO )
CALL CHKXER( 'ZHETRD_HB2ST', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZHETRD_HB2ST( 'N', '/', 'U', 0, 0, A, 1, D, E,
$ C, 1, W, 1, INFO )
CALL CHKXER( 'ZHETRD_HB2ST', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZHETRD_HB2ST( 'N', 'H', 'U', 0, 0, A, 1, D, E,
$ C, 1, W, 1, INFO )
CALL CHKXER( 'ZHETRD_HB2ST', INFOT, NOUT, LERR, OK )
INFOT = 3
CALL ZHETRD_HB2ST( 'N', 'N', '/', 0, 0, A, 1, D, E,
$ C, 1, W, 1, INFO )
CALL CHKXER( 'ZHETRD_HB2ST', INFOT, NOUT, LERR, OK )
INFOT = 4
CALL ZHETRD_HB2ST( 'N', 'N', 'U', -1, 0, A, 1, D, E,
$ C, 1, W, 1, INFO )
CALL CHKXER( 'ZHETRD_HB2ST', INFOT, NOUT, LERR, OK )
INFOT = 5
CALL ZHETRD_HB2ST( 'N', 'N', 'U', 0, -1, A, 1, D, E,
$ C, 1, W, 1, INFO )
CALL CHKXER( 'ZHETRD_HB2ST', INFOT, NOUT, LERR, OK )
INFOT = 7
CALL ZHETRD_HB2ST( 'N', 'N', 'U', 0, 1, A, 1, D, E,
$ C, 1, W, 1, INFO )
CALL CHKXER( 'ZHETRD_HB2ST', INFOT, NOUT, LERR, OK )
INFOT = 11
CALL ZHETRD_HB2ST( 'N', 'N', 'U', 0, 0, A, 1, D, E,
$ C, 0, W, 1, INFO )
CALL CHKXER( 'ZHETRD_HB2ST', INFOT, NOUT, LERR, OK )
INFOT = 13
CALL ZHETRD_HB2ST( 'N', 'N', 'U', 0, 0, A, 1, D, E,
$ C, 1, W, 0, INFO )
CALL CHKXER( 'ZHETRD_HB2ST', INFOT, NOUT, LERR, OK )
NT = NT + 9
*
* ZHBEVD
*
SRNAMT = 'ZHBEVD'
INFOT = 1
CALL ZHBEVD( '/', 'U', 0, 0, A, 1, X, Z, 1, W, 1, RW, 1, IW, 1,
$ INFO )
CALL CHKXER( 'ZHBEVD', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZHBEVD( 'N', '/', 0, 0, A, 1, X, Z, 1, W, 1, RW, 1, IW, 1,
$ INFO )
CALL CHKXER( 'ZHBEVD', INFOT, NOUT, LERR, OK )
INFOT = 3
CALL ZHBEVD( 'N', 'U', -1, 0, A, 1, X, Z, 1, W, 1, RW, 1, IW,
$ 1, INFO )
CALL CHKXER( 'ZHBEVD', INFOT, NOUT, LERR, OK )
INFOT = 4
CALL ZHBEVD( 'N', 'U', 0, -1, A, 1, X, Z, 1, W, 1, RW, 1, IW,
$ 1, INFO )
CALL CHKXER( 'ZHBEVD', INFOT, NOUT, LERR, OK )
INFOT = 6
CALL ZHBEVD( 'N', 'U', 2, 1, A, 1, X, Z, 1, W, 2, RW, 2, IW, 1,
$ INFO )
CALL CHKXER( 'ZHBEVD', INFOT, NOUT, LERR, OK )
INFOT = 9
CALL ZHBEVD( 'V', 'U', 2, 1, A, 2, X, Z, 1, W, 8, RW, 25, IW,
$ 12, INFO )
CALL CHKXER( 'ZHBEVD', INFOT, NOUT, LERR, OK )
INFOT = 11
CALL ZHBEVD( 'N', 'U', 1, 0, A, 1, X, Z, 1, W, 0, RW, 1, IW, 1,
$ INFO )
CALL CHKXER( 'ZHBEVD', INFOT, NOUT, LERR, OK )
INFOT = 11
CALL ZHBEVD( 'N', 'U', 2, 1, A, 2, X, Z, 2, W, 1, RW, 2, IW, 1,
$ INFO )
CALL CHKXER( 'ZHBEVD', INFOT, NOUT, LERR, OK )
INFOT = 11
CALL ZHBEVD( 'V', 'U', 2, 1, A, 2, X, Z, 2, W, 2, RW, 25, IW,
$ 12, INFO )
CALL CHKXER( 'ZHBEVD', INFOT, NOUT, LERR, OK )
INFOT = 13
CALL ZHBEVD( 'N', 'U', 1, 0, A, 1, X, Z, 1, W, 1, RW, 0, IW, 1,
$ INFO )
CALL CHKXER( 'ZHBEVD', INFOT, NOUT, LERR, OK )
INFOT = 13
CALL ZHBEVD( 'N', 'U', 2, 1, A, 2, X, Z, 2, W, 2, RW, 1, IW, 1,
$ INFO )
CALL CHKXER( 'ZHBEVD', INFOT, NOUT, LERR, OK )
INFOT = 13
CALL ZHBEVD( 'V', 'U', 2, 1, A, 2, X, Z, 2, W, 8, RW, 2, IW,
$ 12, INFO )
CALL CHKXER( 'ZHBEVD', INFOT, NOUT, LERR, OK )
INFOT = 15
CALL ZHBEVD( 'N', 'U', 1, 0, A, 1, X, Z, 1, W, 1, RW, 1, IW, 0,
$ INFO )
CALL CHKXER( 'ZHBEVD', INFOT, NOUT, LERR, OK )
INFOT = 15
CALL ZHBEVD( 'N', 'U', 2, 1, A, 2, X, Z, 2, W, 2, RW, 2, IW, 0,
$ INFO )
CALL CHKXER( 'ZHBEVD', INFOT, NOUT, LERR, OK )
INFOT = 15
CALL ZHBEVD( 'V', 'U', 2, 1, A, 2, X, Z, 2, W, 8, RW, 25, IW,
$ 2, INFO )
CALL CHKXER( 'ZHBEVD', INFOT, NOUT, LERR, OK )
NT = NT + 15
*
* ZHBEVD_2STAGE
*
SRNAMT = 'ZHBEVD_2STAGE'
INFOT = 1
CALL ZHBEVD_2STAGE( '/', 'U', 0, 0, A, 1, X, Z, 1,
$ W, 1, RW, 1, IW, 1, INFO )
CALL CHKXER( 'ZHBEVD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 1
CALL ZHBEVD_2STAGE( 'V', 'U', 0, 0, A, 1, X, Z, 1,
$ W, 1, RW, 1, IW, 1, INFO )
CALL CHKXER( 'ZHBEVD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZHBEVD_2STAGE( 'N', '/', 0, 0, A, 1, X, Z, 1,
$ W, 1, RW, 1, IW, 1, INFO )
CALL CHKXER( 'ZHBEVD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 3
CALL ZHBEVD_2STAGE( 'N', 'U', -1, 0, A, 1, X, Z, 1,
$ W, 1, RW, 1, IW, 1, INFO )
CALL CHKXER( 'ZHBEVD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 4
CALL ZHBEVD_2STAGE( 'N', 'U', 0, -1, A, 1, X, Z, 1,
$ W, 1, RW, 1, IW, 1, INFO )
CALL CHKXER( 'ZHBEVD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 6
CALL ZHBEVD_2STAGE( 'N', 'U', 2, 1, A, 1, X, Z, 1,
$ W, 2, RW, 2, IW, 1, INFO )
CALL CHKXER( 'ZHBEVD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 9
CALL ZHBEVD_2STAGE( 'N', 'U', 2, 1, A, 2, X, Z, 0,
$ W, 8, RW, 25, IW, 12, INFO )
CALL CHKXER( 'ZHBEVD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 11
CALL ZHBEVD_2STAGE( 'N', 'U', 1, 0, A, 1, X, Z, 1,
$ W, 0, RW, 1, IW, 1, INFO )
CALL CHKXER( 'ZHBEVD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 11
CALL ZHBEVD_2STAGE( 'N', 'U', 2, 1, A, 2, X, Z, 2,
$ W, 1, RW, 2, IW, 1, INFO )
CALL CHKXER( 'ZHBEVD_2STAGE', INFOT, NOUT, LERR, OK )
* INFOT = 11
* CALL ZHBEVD_2STAGE( 'V', 'U', 2, 1, A, 2, X, Z, 2,
* $ W, 2, RW, 25, IW, 12, INFO )
* CALL CHKXER( 'ZHBEVD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 13
CALL ZHBEVD_2STAGE( 'N', 'U', 1, 0, A, 1, X, Z, 1,
$ W, 1, RW, 0, IW, 1, INFO )
CALL CHKXER( 'ZHBEVD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 13
CALL ZHBEVD_2STAGE( 'N', 'U', 2, 1, A, 2, X, Z, 2,
$ W, 25, RW, 1, IW, 1, INFO )
CALL CHKXER( 'ZHBEVD_2STAGE', INFOT, NOUT, LERR, OK )
* INFOT = 13
* CALL ZHBEVD_2STAGE( 'V', 'U', 2, 1, A, 2, X, Z, 2,
* $ W, 25, RW, 2, IW, 12, INFO )
* CALL CHKXER( 'ZHBEVD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 15
CALL ZHBEVD_2STAGE( 'N', 'U', 1, 0, A, 1, X, Z, 1,
$ W, 1, RW, 1, IW, 0, INFO )
CALL CHKXER( 'ZHBEVD_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 15
CALL ZHBEVD_2STAGE( 'N', 'U', 2, 1, A, 2, X, Z, 2,
$ W, 25, RW, 2, IW, 0, INFO )
CALL CHKXER( 'ZHBEVD_2STAGE', INFOT, NOUT, LERR, OK )
* INFOT = 15
* CALL ZHBEVD_2STAGE( 'V', 'U', 2, 1, A, 2, X, Z, 2,
* $ W, 25, RW, 25, IW, 2, INFO )
* CALL CHKXER( 'ZHBEVD_2STAGE', INFOT, NOUT, LERR, OK )
NT = NT + 13
*
* ZHBEV
*
SRNAMT = 'ZHBEV '
INFOT = 1
CALL ZHBEV( '/', 'U', 0, 0, A, 1, X, Z, 1, W, RW, INFO )
CALL CHKXER( 'ZHBEV ', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZHBEV( 'N', '/', 0, 0, A, 1, X, Z, 1, W, RW, INFO )
CALL CHKXER( 'ZHBEV ', INFOT, NOUT, LERR, OK )
INFOT = 3
CALL ZHBEV( 'N', 'U', -1, 0, A, 1, X, Z, 1, W, RW, INFO )
CALL CHKXER( 'ZHBEV ', INFOT, NOUT, LERR, OK )
INFOT = 4
CALL ZHBEV( 'N', 'U', 0, -1, A, 1, X, Z, 1, W, RW, INFO )
CALL CHKXER( 'ZHBEV ', INFOT, NOUT, LERR, OK )
INFOT = 6
CALL ZHBEV( 'N', 'U', 2, 1, A, 1, X, Z, 1, W, RW, INFO )
CALL CHKXER( 'ZHBEV ', INFOT, NOUT, LERR, OK )
INFOT = 9
CALL ZHBEV( 'V', 'U', 2, 0, A, 1, X, Z, 1, W, RW, INFO )
CALL CHKXER( 'ZHBEV ', INFOT, NOUT, LERR, OK )
NT = NT + 6
*
* ZHBEV_2STAGE
*
SRNAMT = 'ZHBEV_2STAGE '
INFOT = 1
CALL ZHBEV_2STAGE( '/', 'U', 0, 0, A, 1, X,
$ Z, 1, W, 0, RW, INFO )
CALL CHKXER( 'ZHBEV_2STAGE ', INFOT, NOUT, LERR, OK )
INFOT = 1
CALL ZHBEV_2STAGE( 'V', 'U', 0, 0, A, 1, X,
$ Z, 1, W, 0, RW, INFO )
CALL CHKXER( 'ZHBEV_2STAGE ', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZHBEV_2STAGE( 'N', '/', 0, 0, A, 1, X,
$ Z, 1, W, 0, RW, INFO )
CALL CHKXER( 'ZHBEV_2STAGE ', INFOT, NOUT, LERR, OK )
INFOT = 3
CALL ZHBEV_2STAGE( 'N', 'U', -1, 0, A, 1, X,
$ Z, 1, W, 0, RW, INFO )
CALL CHKXER( 'ZHBEV_2STAGE ', INFOT, NOUT, LERR, OK )
INFOT = 4
CALL ZHBEV_2STAGE( 'N', 'U', 0, -1, A, 1, X,
$ Z, 1, W, 0, RW, INFO )
CALL CHKXER( 'ZHBEV_2STAGE ', INFOT, NOUT, LERR, OK )
INFOT = 6
CALL ZHBEV_2STAGE( 'N', 'U', 2, 1, A, 1, X,
$ Z, 1, W, 0, RW, INFO )
CALL CHKXER( 'ZHBEV_2STAGE ', INFOT, NOUT, LERR, OK )
INFOT = 9
CALL ZHBEV_2STAGE( 'N', 'U', 2, 0, A, 1, X,
$ Z, 0, W, 0, RW, INFO )
CALL CHKXER( 'ZHBEV_2STAGE ', INFOT, NOUT, LERR, OK )
INFOT = 11
CALL ZHBEV_2STAGE( 'N', 'U', 2, 0, A, 1, X,
$ Z, 1, W, 0, RW, INFO )
CALL CHKXER( 'ZHBEV_2STAGE ', INFOT, NOUT, LERR, OK )
NT = NT + 8
*
* ZHBEVX
*
SRNAMT = 'ZHBEVX'
INFOT = 1
CALL ZHBEVX( '/', 'A', 'U', 0, 0, A, 1, Q, 1, 0.0D0, 0.0D0, 0,
$ 0, 0.0D0, M, X, Z, 1, W, RW, IW, I3, INFO )
CALL CHKXER( 'ZHBEVX', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZHBEVX( 'V', '/', 'U', 0, 0, A, 1, Q, 1, 0.0D0, 1.0D0, 1,
$ 0, 0.0D0, M, X, Z, 1, W, RW, IW, I3, INFO )
CALL CHKXER( 'ZHBEVX', INFOT, NOUT, LERR, OK )
INFOT = 3
CALL ZHBEVX( 'V', 'A', '/', 0, 0, A, 1, Q, 1, 0.0D0, 0.0D0, 0,
$ 0, 0.0D0, M, X, Z, 1, W, RW, IW, I3, INFO )
INFOT = 4
CALL ZHBEVX( 'V', 'A', 'U', -1, 0, A, 1, Q, 1, 0.0D0, 0.0D0, 0,
$ 0, 0.0D0, M, X, Z, 1, W, RW, IW, I3, INFO )
CALL CHKXER( 'ZHBEVX', INFOT, NOUT, LERR, OK )
INFOT = 5
CALL ZHBEVX( 'V', 'A', 'U', 0, -1, A, 1, Q, 1, 0.0D0, 0.0D0, 0,
$ 0, 0.0D0, M, X, Z, 1, W, RW, IW, I3, INFO )
CALL CHKXER( 'ZHBEVX', INFOT, NOUT, LERR, OK )
INFOT = 7
CALL ZHBEVX( 'V', 'A', 'U', 2, 1, A, 1, Q, 2, 0.0D0, 0.0D0, 0,
$ 0, 0.0D0, M, X, Z, 2, W, RW, IW, I3, INFO )
CALL CHKXER( 'ZHBEVX', INFOT, NOUT, LERR, OK )
INFOT = 9
CALL ZHBEVX( 'V', 'A', 'U', 2, 0, A, 1, Q, 1, 0.0D0, 0.0D0, 0,
$ 0, 0.0D0, M, X, Z, 2, W, RW, IW, I3, INFO )
CALL CHKXER( 'ZHBEVX', INFOT, NOUT, LERR, OK )
INFOT = 11
CALL ZHBEVX( 'V', 'V', 'U', 1, 0, A, 1, Q, 1, 0.0D0, 0.0D0, 0,
$ 0, 0.0D0, M, X, Z, 1, W, RW, IW, I3, INFO )
CALL CHKXER( 'ZHBEVX', INFOT, NOUT, LERR, OK )
INFOT = 12
CALL ZHBEVX( 'V', 'I', 'U', 1, 0, A, 1, Q, 1, 0.0D0, 0.0D0, 0,
$ 0, 0.0D0, M, X, Z, 1, W, RW, IW, I3, INFO )
CALL CHKXER( 'ZHBEVX', INFOT, NOUT, LERR, OK )
INFOT = 13
CALL ZHBEVX( 'V', 'I', 'U', 1, 0, A, 1, Q, 1, 0.0D0, 0.0D0, 1,
$ 2, 0.0D0, M, X, Z, 1, W, RW, IW, I3, INFO )
CALL CHKXER( 'ZHBEVX', INFOT, NOUT, LERR, OK )
INFOT = 18
CALL ZHBEVX( 'V', 'A', 'U', 2, 0, A, 1, Q, 2, 0.0D0, 0.0D0, 0,
$ 0, 0.0D0, M, X, Z, 1, W, RW, IW, I3, INFO )
CALL CHKXER( 'ZHBEVX', INFOT, NOUT, LERR, OK )
NT = NT + 11
*
* ZHBEVX_2STAGE
*
SRNAMT = 'ZHBEVX_2STAGE'
INFOT = 1
CALL ZHBEVX_2STAGE( '/', 'A', 'U', 0, 0, A, 1, Q, 1,
$ 0.0D0, 0.0D0, 0, 0, 0.0D0,
$ M, X, Z, 1, W, 0, RW, IW, I3, INFO )
INFOT = 1
CALL ZHBEVX_2STAGE( 'V', 'A', 'U', 0, 0, A, 1, Q, 1,
$ 0.0D0, 0.0D0, 0, 0, 0.0D0,
$ M, X, Z, 1, W, 0, RW, IW, I3, INFO )
CALL CHKXER( 'ZHBEVX_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 2
CALL ZHBEVX_2STAGE( 'N', '/', 'U', 0, 0, A, 1, Q, 1,
$ 0.0D0, 1.0D0, 1, 0, 0.0D0,
$ M, X, Z, 1, W, 0, RW, IW, I3, INFO )
CALL CHKXER( 'ZHBEVX_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 3
CALL ZHBEVX_2STAGE( 'N', 'A', '/', 0, 0, A, 1, Q, 1,
$ 0.0D0, 0.0D0, 0, 0, 0.0D0,
$ M, X, Z, 1, W, 0, RW, IW, I3, INFO )
INFOT = 4
CALL ZHBEVX_2STAGE( 'N', 'A', 'U', -1, 0, A, 1, Q, 1,
$ 0.0D0, 0.0D0, 0, 0, 0.0D0,
$ M, X, Z, 1, W, 0, RW, IW, I3, INFO )
CALL CHKXER( 'ZHBEVX_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 5
CALL ZHBEVX_2STAGE( 'N', 'A', 'U', 0, -1, A, 1, Q, 1,
$ 0.0D0, 0.0D0, 0, 0, 0.0D0,
$ M, X, Z, 1, W, 0, RW, IW, I3, INFO )
CALL CHKXER( 'ZHBEVX_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 7
CALL ZHBEVX_2STAGE( 'N', 'A', 'U', 2, 1, A, 1, Q, 2,
$ 0.0D0, 0.0D0, 0, 0, 0.0D0,
$ M, X, Z, 2, W, 0, RW, IW, I3, INFO )
CALL CHKXER( 'ZHBEVX_2STAGE', INFOT, NOUT, LERR, OK )
* INFOT = 9
* CALL ZHBEVX_2STAGE( 'V', 'A', 'U', 2, 0, A, 1, Q, 1,
* $ 0.0D0, 0.0D0, 0, 0, 0.0D0,
* $ M, X, Z, 2, W, 0, RW, IW, I3, INFO )
* CALL CHKXER( 'ZHBEVX_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 11
CALL ZHBEVX_2STAGE( 'N', 'V', 'U', 1, 0, A, 1, Q, 1,
$ 0.0D0, 0.0D0, 0, 0, 0.0D0,
$ M, X, Z, 1, W, 0, RW, IW, I3, INFO )
CALL CHKXER( 'ZHBEVX_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 12
CALL ZHBEVX_2STAGE( 'N', 'I', 'U', 1, 0, A, 1, Q, 1,
$ 0.0D0, 0.0D0, 0, 0, 0.0D0,
$ M, X, Z, 1, W, 0, RW, IW, I3, INFO )
CALL CHKXER( 'ZHBEVX_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 13
CALL ZHBEVX_2STAGE( 'N', 'I', 'U', 1, 0, A, 1, Q, 1,
$ 0.0D0, 0.0D0, 1, 2, 0.0D0,
$ M, X, Z, 1, W, 0, RW, IW, I3, INFO )
CALL CHKXER( 'ZHBEVX_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 18
CALL ZHBEVX_2STAGE( 'N', 'A', 'U', 2, 0, A, 1, Q, 2,
$ 0.0D0, 0.0D0, 0, 0, 0.0D0,
$ M, X, Z, 0, W, 0, RW, IW, I3, INFO )
CALL CHKXER( 'ZHBEVX_2STAGE', INFOT, NOUT, LERR, OK )
INFOT = 20
CALL ZHBEVX_2STAGE( 'N', 'A', 'U', 2, 0, A, 1, Q, 2,
$ 0.0D0, 0.0D0, 0, 0, 0.0D0,
$ M, X, Z, 1, W, 0, RW, IW, I3, INFO )
CALL CHKXER( 'ZHBEVX_2STAGE', INFOT, NOUT, LERR, OK )
NT = NT + 12
END IF
*
* Print a summary line.
*
IF( OK ) THEN
WRITE( NOUT, FMT = 9999 )PATH, NT
ELSE
WRITE( NOUT, FMT = 9998 )PATH
END IF
*
9999 FORMAT( 1X, A3, ' routines passed the tests of the error exits',
$ ' (', I3, ' tests done)' )
9998 FORMAT( ' *** ', A3, ' routines failed the tests of the error ',
$ 'exits ***' )
*
RETURN
*
* End of ZERRST
*
END