00001 PROGRAM ZCHKEE
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126
00127
00128
00129
00130
00131
00132
00133
00134
00135
00136
00137
00138
00139
00140
00141
00142
00143
00144
00145
00146
00147
00148
00149
00150
00151
00152
00153
00154
00155
00156
00157
00158
00159
00160
00161
00162
00163
00164
00165
00166
00167
00168
00169
00170
00171
00172
00173
00174
00175
00176
00177
00178
00179
00180
00181
00182
00183
00184
00185
00186
00187
00188
00189
00190
00191
00192
00193
00194
00195
00196
00197
00198
00199
00200
00201
00202
00203
00204
00205
00206
00207
00208
00209
00210
00211
00212
00213
00214
00215
00216
00217
00218
00219
00220
00221
00222
00223
00224
00225
00226
00227
00228
00229
00230
00231
00232
00233
00234
00235
00236
00237
00238
00239
00240
00241
00242
00243
00244
00245
00246
00247
00248
00249
00250
00251
00252
00253
00254
00255
00256
00257
00258
00259
00260
00261
00262
00263
00264
00265
00266
00267
00268
00269
00270
00271
00272
00273
00274
00275
00276
00277
00278
00279
00280
00281
00282
00283
00284
00285
00286
00287
00288
00289
00290
00291
00292
00293
00294
00295
00296
00297
00298
00299
00300
00301
00302
00303
00304
00305
00306
00307
00308
00309
00310
00311
00312
00313
00314
00315
00316
00317
00318
00319
00320
00321
00322
00323
00324
00325
00326
00327
00328
00329
00330
00331
00332
00333
00334
00335
00336
00337
00338
00339
00340
00341
00342
00343
00344
00345
00346
00347
00348
00349
00350
00351
00352
00353
00354
00355
00356
00357
00358
00359
00360
00361
00362
00363
00364
00365
00366
00367
00368
00369
00370
00371
00372
00373
00374
00375
00376
00377
00378
00379
00380
00381
00382
00383
00384
00385
00386
00387
00388
00389
00390
00391
00392
00393
00394
00395
00396
00397
00398
00399
00400
00401
00402
00403
00404
00405
00406
00407
00408
00409
00410
00411
00412
00413
00414
00415
00416
00417
00418
00419
00420
00421
00422
00423
00424
00425
00426
00427
00428
00429
00430
00431
00432
00433
00434
00435
00436
00437
00438
00439
00440
00441
00442
00443
00444
00445
00446
00447
00448
00449
00450
00451
00452
00453
00454
00455
00456
00457
00458
00459
00460
00461
00462
00463
00464
00465
00466
00467
00468
00469
00470
00471
00472
00473
00474
00475
00476
00477
00478
00479
00480
00481
00482
00483
00484
00485
00486
00487
00488
00489
00490
00491
00492
00493
00494
00495
00496
00497
00498
00499
00500
00501
00502
00503
00504
00505
00506
00507
00508
00509
00510
00511
00512
00513
00514
00515
00516
00517
00518
00519
00520
00521
00522
00523
00524
00525
00526
00527
00528
00529
00530
00531
00532
00533
00534
00535
00536
00537
00538
00539
00540
00541
00542
00543
00544
00545
00546
00547
00548
00549
00550
00551
00552
00553
00554
00555
00556
00557
00558
00559
00560
00561
00562
00563
00564
00565
00566
00567
00568
00569
00570
00571
00572
00573
00574
00575
00576
00577
00578
00579
00580
00581
00582
00583
00584
00585
00586
00587
00588
00589
00590
00591
00592
00593
00594
00595
00596
00597
00598
00599
00600
00601
00602
00603
00604
00605
00606
00607
00608
00609
00610
00611
00612
00613
00614
00615
00616
00617
00618
00619
00620
00621
00622
00623
00624
00625
00626
00627
00628
00629
00630
00631
00632
00633
00634
00635
00636
00637
00638
00639
00640
00641
00642
00643
00644
00645
00646
00647
00648
00649
00650
00651
00652
00653
00654
00655
00656
00657
00658
00659
00660
00661
00662
00663
00664
00665
00666
00667
00668
00669
00670
00671
00672
00673
00674
00675
00676
00677
00678
00679
00680
00681
00682
00683
00684
00685
00686
00687
00688
00689
00690
00691
00692
00693
00694
00695
00696
00697
00698
00699
00700
00701
00702
00703
00704
00705
00706
00707
00708
00709
00710
00711
00712
00713
00714
00715
00716
00717
00718
00719
00720
00721
00722
00723
00724
00725
00726
00727
00728
00729
00730
00731
00732
00733
00734
00735
00736
00737
00738
00739
00740
00741
00742
00743
00744
00745
00746
00747
00748
00749
00750
00751
00752
00753
00754
00755
00756
00757
00758
00759
00760
00761
00762
00763
00764
00765
00766
00767
00768
00769
00770
00771
00772
00773
00774
00775
00776
00777
00778
00779
00780
00781
00782
00783
00784
00785
00786
00787
00788
00789
00790
00791
00792
00793
00794
00795
00796
00797
00798
00799
00800
00801
00802
00803
00804
00805
00806
00807
00808
00809
00810
00811
00812
00813
00814
00815
00816
00817
00818
00819
00820
00821
00822
00823
00824
00825
00826
00827
00828
00829
00830
00831
00832
00833
00834
00835
00836
00837
00838
00839
00840
00841
00842
00843
00844
00845
00846
00847
00848
00849
00850
00851
00852
00853
00854
00855
00856
00857
00858
00859
00860
00861
00862
00863
00864
00865
00866
00867
00868
00869
00870
00871
00872
00873
00874
00875
00876
00877
00878
00879
00880
00881
00882
00883
00884
00885
00886
00887
00888
00889
00890
00891
00892
00893
00894
00895
00896
00897
00898
00899
00900
00901
00902
00903
00904
00905
00906
00907
00908
00909
00910
00911
00912
00913
00914
00915
00916
00917
00918
00919
00920
00921
00922
00923
00924
00925
00926
00927
00928
00929
00930
00931
00932
00933
00934
00935
00936
00937
00938
00939
00940
00941
00942
00943
00944
00945
00946
00947
00948
00949
00950
00951
00952
00953
00954
00955
00956
00957
00958
00959
00960
00961
00962
00963
00964
00965
00966
00967
00968
00969
00970
00971
00972
00973
00974
00975
00976
00977
00978
00979
00980
00981
00982
00983
00984
00985
00986
00987
00988
00989
00990
00991
00992
00993
00994
00995
00996
00997
00998
00999
01000
01001
01002
01003
01004
01005
01006
01007
01008
01009
01010 INTEGER NMAX
01011 PARAMETER ( NMAX = 132 )
01012 INTEGER NCMAX
01013 PARAMETER ( NCMAX = 20 )
01014 INTEGER NEED
01015 PARAMETER ( NEED = 14 )
01016 INTEGER LWORK
01017 PARAMETER ( LWORK = NMAX*( 5*NMAX+20 ) )
01018 INTEGER LIWORK
01019 PARAMETER ( LIWORK = NMAX*( NMAX+20 ) )
01020 INTEGER MAXIN
01021 PARAMETER ( MAXIN = 20 )
01022 INTEGER MAXT
01023 PARAMETER ( MAXT = 30 )
01024 INTEGER NIN, NOUT
01025 PARAMETER ( NIN = 5, NOUT = 6 )
01026
01027
01028 LOGICAL ZBK, ZBL, ZES, ZEV, ZGK, ZGL, ZGS, ZGV, ZGX,
01029 $ ZSX, ZVX, ZXV, CSD, FATAL, GLM, GQR, GSV, LSE,
01030 $ NEP, SEP, SVD, TSTCHK, TSTDIF, TSTDRV, TSTERR,
01031 $ ZBB, ZGG, ZHB
01032 CHARACTER C1
01033 CHARACTER*3 C3, PATH
01034 CHARACTER*32 VNAME
01035 CHARACTER*10 INTSTR
01036 CHARACTER*80 LINE
01037 INTEGER I, I1, IC, INFO, ITMP, K, LENP, MAXTYP, NEWSD,
01038 $ NK, NN, NPARMS, NRHS, NTYPES,
01039 $ VERS_MAJOR, VERS_MINOR, VERS_PATCH
01040 DOUBLE PRECISION EPS, S1, S2, THRESH, THRSHN
01041
01042
01043 LOGICAL DOTYPE( MAXT ), LOGWRK( NMAX )
01044 INTEGER IOLDSD( 4 ), ISEED( 4 ), IWORK( LIWORK ),
01045 $ KVAL( MAXIN ), MVAL( MAXIN ), MXBVAL( MAXIN ),
01046 $ NBCOL( MAXIN ), NBMIN( MAXIN ), NBVAL( MAXIN ),
01047 $ NSVAL( MAXIN ), NVAL( MAXIN ), NXVAL( MAXIN ),
01048 $ PVAL( MAXIN )
01049 INTEGER INMIN( MAXIN ), INWIN( MAXIN ), INIBL( MAXIN ),
01050 $ ISHFTS( MAXIN ), IACC22( MAXIN )
01051 DOUBLE PRECISION ALPHA( NMAX ), BETA( NMAX ), DR( NMAX, 12 ),
01052 $ RESULT( 500 ), RWORK( LWORK ), S( NMAX*NMAX )
01053 COMPLEX*16 A( NMAX*NMAX, NEED ), B( NMAX*NMAX, 5 ),
01054 $ C( NCMAX*NCMAX, NCMAX*NCMAX ), DC( NMAX, 6 ),
01055 $ TAUA( NMAX ), TAUB( NMAX ), WORK( LWORK ),
01056 $ X( 5*NMAX )
01057
01058
01059 LOGICAL LSAMEN
01060 DOUBLE PRECISION DLAMCH, DSECND
01061 EXTERNAL LSAMEN, DLAMCH, DSECND
01062
01063
01064 EXTERNAL ALAREQ, XLAENV, ZCHKBB, ZCHKBD, ZCHKBK, ZCHKBL,
01065 $ ZCHKEC, ZCHKGG, ZCHKGK, ZCHKGL, ZCHKHB, ZCHKHS,
01066 $ ZCHKST, ZCKCSD, ZCKGLM, ZCKGQR, ZCKGSV, ZCKLSE,
01067 $ ZDRGES, ZDRGEV, ZDRGSX, ZDRGVX, ZDRVBD, ZDRVES,
01068 $ ZDRVEV, ZDRVGG, ZDRVSG, ZDRVST, ZDRVSX, ZDRVVX,
01069 $ ZERRBD, ZERRED, ZERRGG, ZERRHS, ZERRST, ILAVER
01070
01071
01072 INTRINSIC LEN, MIN
01073
01074
01075 LOGICAL LERR, OK
01076 CHARACTER*32 SRNAMT
01077 INTEGER INFOT, MAXB, NPROC, NSHIFT, NUNIT, SELDIM,
01078 $ SELOPT
01079
01080
01081 LOGICAL SELVAL( 20 )
01082 INTEGER IPARMS( 100 )
01083 DOUBLE PRECISION SELWI( 20 ), SELWR( 20 )
01084
01085
01086 COMMON / CENVIR / NPROC, NSHIFT, MAXB
01087 COMMON / INFOC / INFOT, NUNIT, OK, LERR
01088 COMMON / SRNAMC / SRNAMT
01089 COMMON / SSLCT / SELOPT, SELDIM, SELVAL, SELWR, SELWI
01090 COMMON / CLAENV / IPARMS
01091
01092
01093 DATA INTSTR / '0123456789' /
01094 DATA IOLDSD / 0, 0, 0, 1 /
01095
01096
01097
01098 S1 = DSECND( )
01099 FATAL = .FALSE.
01100 NUNIT = NOUT
01101
01102
01103
01104 10 CONTINUE
01105
01106
01107
01108 READ( NIN, FMT = '(A80)', END = 380 )LINE
01109 PATH = LINE( 1: 3 )
01110 NEP = LSAMEN( 3, PATH, 'NEP' ) .OR. LSAMEN( 3, PATH, 'ZHS' )
01111 SEP = LSAMEN( 3, PATH, 'SEP' ) .OR. LSAMEN( 3, PATH, 'ZST' ) .OR.
01112 $ LSAMEN( 3, PATH, 'ZSG' )
01113 SVD = LSAMEN( 3, PATH, 'SVD' ) .OR. LSAMEN( 3, PATH, 'ZBD' )
01114 ZEV = LSAMEN( 3, PATH, 'ZEV' )
01115 ZES = LSAMEN( 3, PATH, 'ZES' )
01116 ZVX = LSAMEN( 3, PATH, 'ZVX' )
01117 ZSX = LSAMEN( 3, PATH, 'ZSX' )
01118 ZGG = LSAMEN( 3, PATH, 'ZGG' )
01119 ZGS = LSAMEN( 3, PATH, 'ZGS' )
01120 ZGX = LSAMEN( 3, PATH, 'ZGX' )
01121 ZGV = LSAMEN( 3, PATH, 'ZGV' )
01122 ZXV = LSAMEN( 3, PATH, 'ZXV' )
01123 ZHB = LSAMEN( 3, PATH, 'ZHB' )
01124 ZBB = LSAMEN( 3, PATH, 'ZBB' )
01125 GLM = LSAMEN( 3, PATH, 'GLM' )
01126 GQR = LSAMEN( 3, PATH, 'GQR' ) .OR. LSAMEN( 3, PATH, 'GRQ' )
01127 GSV = LSAMEN( 3, PATH, 'GSV' )
01128 CSD = LSAMEN( 3, PATH, 'CSD' )
01129 LSE = LSAMEN( 3, PATH, 'LSE' )
01130 ZBL = LSAMEN( 3, PATH, 'ZBL' )
01131 ZBK = LSAMEN( 3, PATH, 'ZBK' )
01132 ZGL = LSAMEN( 3, PATH, 'ZGL' )
01133 ZGK = LSAMEN( 3, PATH, 'ZGK' )
01134
01135
01136
01137 IF( PATH.EQ.' ' ) THEN
01138 GO TO 10
01139 ELSE IF( NEP ) THEN
01140 WRITE( NOUT, FMT = 9987 )
01141 ELSE IF( SEP ) THEN
01142 WRITE( NOUT, FMT = 9986 )
01143 ELSE IF( SVD ) THEN
01144 WRITE( NOUT, FMT = 9985 )
01145 ELSE IF( ZEV ) THEN
01146 WRITE( NOUT, FMT = 9979 )
01147 ELSE IF( ZES ) THEN
01148 WRITE( NOUT, FMT = 9978 )
01149 ELSE IF( ZVX ) THEN
01150 WRITE( NOUT, FMT = 9977 )
01151 ELSE IF( ZSX ) THEN
01152 WRITE( NOUT, FMT = 9976 )
01153 ELSE IF( ZGG ) THEN
01154 WRITE( NOUT, FMT = 9975 )
01155 ELSE IF( ZGS ) THEN
01156 WRITE( NOUT, FMT = 9964 )
01157 ELSE IF( ZGX ) THEN
01158 WRITE( NOUT, FMT = 9965 )
01159 ELSE IF( ZGV ) THEN
01160 WRITE( NOUT, FMT = 9963 )
01161 ELSE IF( ZXV ) THEN
01162 WRITE( NOUT, FMT = 9962 )
01163 ELSE IF( ZHB ) THEN
01164 WRITE( NOUT, FMT = 9974 )
01165 ELSE IF( ZBB ) THEN
01166 WRITE( NOUT, FMT = 9967 )
01167 ELSE IF( GLM ) THEN
01168 WRITE( NOUT, FMT = 9971 )
01169 ELSE IF( GQR ) THEN
01170 WRITE( NOUT, FMT = 9970 )
01171 ELSE IF( GSV ) THEN
01172 WRITE( NOUT, FMT = 9969 )
01173 ELSE IF( CSD ) THEN
01174 WRITE( NOUT, FMT = 9960 )
01175 ELSE IF( LSE ) THEN
01176 WRITE( NOUT, FMT = 9968 )
01177 ELSE IF( ZBL ) THEN
01178
01179
01180
01181 CALL ZCHKBL( NIN, NOUT )
01182 GO TO 380
01183 ELSE IF( ZBK ) THEN
01184
01185
01186
01187 CALL ZCHKBK( NIN, NOUT )
01188 GO TO 380
01189 ELSE IF( ZGL ) THEN
01190
01191
01192
01193 CALL ZCHKGL( NIN, NOUT )
01194 GO TO 380
01195 ELSE IF( ZGK ) THEN
01196
01197
01198
01199 CALL ZCHKGK( NIN, NOUT )
01200 GO TO 380
01201 ELSE IF( LSAMEN( 3, PATH, 'ZEC' ) ) THEN
01202
01203
01204
01205 READ( NIN, FMT = * )THRESH
01206 CALL XLAENV( 1, 1 )
01207 TSTERR = .TRUE.
01208 CALL ZCHKEC( THRESH, TSTERR, NIN, NOUT )
01209 GO TO 380
01210 ELSE
01211 WRITE( NOUT, FMT = 9992 )PATH
01212 GO TO 380
01213 END IF
01214 CALL ILAVER( VERS_MAJOR, VERS_MINOR, VERS_PATCH )
01215 WRITE( NOUT, FMT = 9972 ) VERS_MAJOR, VERS_MINOR, VERS_PATCH
01216 WRITE( NOUT, FMT = 9984 )
01217
01218
01219
01220 READ( NIN, FMT = * )NN
01221 IF( NN.LT.0 ) THEN
01222 WRITE( NOUT, FMT = 9989 )' NN ', NN, 1
01223 NN = 0
01224 FATAL = .TRUE.
01225 ELSE IF( NN.GT.MAXIN ) THEN
01226 WRITE( NOUT, FMT = 9988 )' NN ', NN, MAXIN
01227 NN = 0
01228 FATAL = .TRUE.
01229 END IF
01230
01231
01232
01233 IF( .NOT.( ZGX .OR. ZXV ) ) THEN
01234 READ( NIN, FMT = * )( MVAL( I ), I = 1, NN )
01235 IF( SVD ) THEN
01236 VNAME = ' M '
01237 ELSE
01238 VNAME = ' N '
01239 END IF
01240 DO 20 I = 1, NN
01241 IF( MVAL( I ).LT.0 ) THEN
01242 WRITE( NOUT, FMT = 9989 )VNAME, MVAL( I ), 0
01243 FATAL = .TRUE.
01244 ELSE IF( MVAL( I ).GT.NMAX ) THEN
01245 WRITE( NOUT, FMT = 9988 )VNAME, MVAL( I ), NMAX
01246 FATAL = .TRUE.
01247 END IF
01248 20 CONTINUE
01249 WRITE( NOUT, FMT = 9983 )'M: ', ( MVAL( I ), I = 1, NN )
01250 END IF
01251
01252
01253
01254 IF( GLM .OR. GQR .OR. GSV .OR. CSD .OR. LSE ) THEN
01255 READ( NIN, FMT = * )( PVAL( I ), I = 1, NN )
01256 DO 30 I = 1, NN
01257 IF( PVAL( I ).LT.0 ) THEN
01258 WRITE( NOUT, FMT = 9989 )' P ', PVAL( I ), 0
01259 FATAL = .TRUE.
01260 ELSE IF( PVAL( I ).GT.NMAX ) THEN
01261 WRITE( NOUT, FMT = 9988 )' P ', PVAL( I ), NMAX
01262 FATAL = .TRUE.
01263 END IF
01264 30 CONTINUE
01265 WRITE( NOUT, FMT = 9983 )'P: ', ( PVAL( I ), I = 1, NN )
01266 END IF
01267
01268
01269
01270 IF( SVD .OR. ZBB .OR. GLM .OR. GQR .OR. GSV .OR. CSD .OR.
01271 $ LSE ) THEN
01272 READ( NIN, FMT = * )( NVAL( I ), I = 1, NN )
01273 DO 40 I = 1, NN
01274 IF( NVAL( I ).LT.0 ) THEN
01275 WRITE( NOUT, FMT = 9989 )' N ', NVAL( I ), 0
01276 FATAL = .TRUE.
01277 ELSE IF( NVAL( I ).GT.NMAX ) THEN
01278 WRITE( NOUT, FMT = 9988 )' N ', NVAL( I ), NMAX
01279 FATAL = .TRUE.
01280 END IF
01281 40 CONTINUE
01282 ELSE
01283 DO 50 I = 1, NN
01284 NVAL( I ) = MVAL( I )
01285 50 CONTINUE
01286 END IF
01287 IF( .NOT.( ZGX .OR. ZXV ) ) THEN
01288 WRITE( NOUT, FMT = 9983 )'N: ', ( NVAL( I ), I = 1, NN )
01289 ELSE
01290 WRITE( NOUT, FMT = 9983 )'N: ', NN
01291 END IF
01292
01293
01294
01295 IF( ZHB .OR. ZBB ) THEN
01296 READ( NIN, FMT = * )NK
01297 READ( NIN, FMT = * )( KVAL( I ), I = 1, NK )
01298 DO 60 I = 1, NK
01299 IF( KVAL( I ).LT.0 ) THEN
01300 WRITE( NOUT, FMT = 9989 )' K ', KVAL( I ), 0
01301 FATAL = .TRUE.
01302 ELSE IF( KVAL( I ).GT.NMAX ) THEN
01303 WRITE( NOUT, FMT = 9988 )' K ', KVAL( I ), NMAX
01304 FATAL = .TRUE.
01305 END IF
01306 60 CONTINUE
01307 WRITE( NOUT, FMT = 9983 )'K: ', ( KVAL( I ), I = 1, NK )
01308 END IF
01309
01310 IF( ZEV .OR. ZES .OR. ZVX .OR. ZSX ) THEN
01311
01312
01313
01314
01315 READ( NIN, FMT = * )NBVAL( 1 ), NBMIN( 1 ), NXVAL( 1 ),
01316 $ INMIN( 1 ), INWIN( 1 ), INIBL(1), ISHFTS(1), IACC22(1)
01317 IF( NBVAL( 1 ).LT.1 ) THEN
01318 WRITE( NOUT, FMT = 9989 )' NB ', NBVAL( 1 ), 1
01319 FATAL = .TRUE.
01320 ELSE IF( NBMIN( 1 ).LT.1 ) THEN
01321 WRITE( NOUT, FMT = 9989 )'NBMIN ', NBMIN( 1 ), 1
01322 FATAL = .TRUE.
01323 ELSE IF( NXVAL( 1 ).LT.1 ) THEN
01324 WRITE( NOUT, FMT = 9989 )' NX ', NXVAL( 1 ), 1
01325 FATAL = .TRUE.
01326 ELSE IF( INMIN( 1 ).LT.1 ) THEN
01327 WRITE( NOUT, FMT = 9989 )' INMIN ', INMIN( 1 ), 1
01328 FATAL = .TRUE.
01329 ELSE IF( INWIN( 1 ).LT.1 ) THEN
01330 WRITE( NOUT, FMT = 9989 )' INWIN ', INWIN( 1 ), 1
01331 FATAL = .TRUE.
01332 ELSE IF( INIBL( 1 ).LT.1 ) THEN
01333 WRITE( NOUT, FMT = 9989 )' INIBL ', INIBL( 1 ), 1
01334 FATAL = .TRUE.
01335 ELSE IF( ISHFTS( 1 ).LT.1 ) THEN
01336 WRITE( NOUT, FMT = 9989 )' ISHFTS ', ISHFTS( 1 ), 1
01337 FATAL = .TRUE.
01338 ELSE IF( IACC22( 1 ).LT.0 ) THEN
01339 WRITE( NOUT, FMT = 9989 )' IACC22 ', IACC22( 1 ), 0
01340 FATAL = .TRUE.
01341 END IF
01342 CALL XLAENV( 1, NBVAL( 1 ) )
01343 CALL XLAENV( 2, NBMIN( 1 ) )
01344 CALL XLAENV( 3, NXVAL( 1 ) )
01345 CALL XLAENV(12, MAX( 11, INMIN( 1 ) ) )
01346 CALL XLAENV(13, INWIN( 1 ) )
01347 CALL XLAENV(14, INIBL( 1 ) )
01348 CALL XLAENV(15, ISHFTS( 1 ) )
01349 CALL XLAENV(16, IACC22( 1 ) )
01350 WRITE( NOUT, FMT = 9983 )'NB: ', NBVAL( 1 )
01351 WRITE( NOUT, FMT = 9983 )'NBMIN:', NBMIN( 1 )
01352 WRITE( NOUT, FMT = 9983 )'NX: ', NXVAL( 1 )
01353 WRITE( NOUT, FMT = 9983 )'INMIN: ', INMIN( 1 )
01354 WRITE( NOUT, FMT = 9983 )'INWIN: ', INWIN( 1 )
01355 WRITE( NOUT, FMT = 9983 )'INIBL: ', INIBL( 1 )
01356 WRITE( NOUT, FMT = 9983 )'ISHFTS: ', ISHFTS( 1 )
01357 WRITE( NOUT, FMT = 9983 )'IACC22: ', IACC22( 1 )
01358
01359 ELSE IF( ZGS .OR. ZGX .OR. ZGV .OR. ZXV ) THEN
01360
01361
01362
01363
01364 READ( NIN, FMT = * )NBVAL( 1 ), NBMIN( 1 ), NXVAL( 1 ),
01365 $ NSVAL( 1 ), MXBVAL( 1 )
01366 IF( NBVAL( 1 ).LT.1 ) THEN
01367 WRITE( NOUT, FMT = 9989 )' NB ', NBVAL( 1 ), 1
01368 FATAL = .TRUE.
01369 ELSE IF( NBMIN( 1 ).LT.1 ) THEN
01370 WRITE( NOUT, FMT = 9989 )'NBMIN ', NBMIN( 1 ), 1
01371 FATAL = .TRUE.
01372 ELSE IF( NXVAL( 1 ).LT.1 ) THEN
01373 WRITE( NOUT, FMT = 9989 )' NX ', NXVAL( 1 ), 1
01374 FATAL = .TRUE.
01375 ELSE IF( NSVAL( 1 ).LT.2 ) THEN
01376 WRITE( NOUT, FMT = 9989 )' NS ', NSVAL( 1 ), 2
01377 FATAL = .TRUE.
01378 ELSE IF( MXBVAL( 1 ).LT.1 ) THEN
01379 WRITE( NOUT, FMT = 9989 )' MAXB ', MXBVAL( 1 ), 1
01380 FATAL = .TRUE.
01381 END IF
01382 CALL XLAENV( 1, NBVAL( 1 ) )
01383 CALL XLAENV( 2, NBMIN( 1 ) )
01384 CALL XLAENV( 3, NXVAL( 1 ) )
01385 CALL XLAENV( 4, NSVAL( 1 ) )
01386 CALL XLAENV( 8, MXBVAL( 1 ) )
01387 WRITE( NOUT, FMT = 9983 )'NB: ', NBVAL( 1 )
01388 WRITE( NOUT, FMT = 9983 )'NBMIN:', NBMIN( 1 )
01389 WRITE( NOUT, FMT = 9983 )'NX: ', NXVAL( 1 )
01390 WRITE( NOUT, FMT = 9983 )'NS: ', NSVAL( 1 )
01391 WRITE( NOUT, FMT = 9983 )'MAXB: ', MXBVAL( 1 )
01392 ELSE IF( .NOT.ZHB .AND. .NOT.GLM .AND. .NOT.GQR .AND. .NOT.
01393 $ GSV .AND. .NOT.CSD .AND. .NOT.LSE ) THEN
01394
01395
01396
01397
01398 READ( NIN, FMT = * )NPARMS
01399 IF( NPARMS.LT.1 ) THEN
01400 WRITE( NOUT, FMT = 9989 )'NPARMS', NPARMS, 1
01401 NPARMS = 0
01402 FATAL = .TRUE.
01403 ELSE IF( NPARMS.GT.MAXIN ) THEN
01404 WRITE( NOUT, FMT = 9988 )'NPARMS', NPARMS, MAXIN
01405 NPARMS = 0
01406 FATAL = .TRUE.
01407 END IF
01408
01409
01410
01411 IF( .NOT.ZBB ) THEN
01412 READ( NIN, FMT = * )( NBVAL( I ), I = 1, NPARMS )
01413 DO 70 I = 1, NPARMS
01414 IF( NBVAL( I ).LT.0 ) THEN
01415 WRITE( NOUT, FMT = 9989 )' NB ', NBVAL( I ), 0
01416 FATAL = .TRUE.
01417 ELSE IF( NBVAL( I ).GT.NMAX ) THEN
01418 WRITE( NOUT, FMT = 9988 )' NB ', NBVAL( I ), NMAX
01419 FATAL = .TRUE.
01420 END IF
01421 70 CONTINUE
01422 WRITE( NOUT, FMT = 9983 )'NB: ',
01423 $ ( NBVAL( I ), I = 1, NPARMS )
01424 END IF
01425
01426
01427
01428 IF( NEP .OR. SEP .OR. SVD .OR. ZGG ) THEN
01429 READ( NIN, FMT = * )( NBMIN( I ), I = 1, NPARMS )
01430 DO 80 I = 1, NPARMS
01431 IF( NBMIN( I ).LT.0 ) THEN
01432 WRITE( NOUT, FMT = 9989 )'NBMIN ', NBMIN( I ), 0
01433 FATAL = .TRUE.
01434 ELSE IF( NBMIN( I ).GT.NMAX ) THEN
01435 WRITE( NOUT, FMT = 9988 )'NBMIN ', NBMIN( I ), NMAX
01436 FATAL = .TRUE.
01437 END IF
01438 80 CONTINUE
01439 WRITE( NOUT, FMT = 9983 )'NBMIN:',
01440 $ ( NBMIN( I ), I = 1, NPARMS )
01441 ELSE
01442 DO 90 I = 1, NPARMS
01443 NBMIN( I ) = 1
01444 90 CONTINUE
01445 END IF
01446
01447
01448
01449 IF( NEP .OR. SEP .OR. SVD ) THEN
01450 READ( NIN, FMT = * )( NXVAL( I ), I = 1, NPARMS )
01451 DO 100 I = 1, NPARMS
01452 IF( NXVAL( I ).LT.0 ) THEN
01453 WRITE( NOUT, FMT = 9989 )' NX ', NXVAL( I ), 0
01454 FATAL = .TRUE.
01455 ELSE IF( NXVAL( I ).GT.NMAX ) THEN
01456 WRITE( NOUT, FMT = 9988 )' NX ', NXVAL( I ), NMAX
01457 FATAL = .TRUE.
01458 END IF
01459 100 CONTINUE
01460 WRITE( NOUT, FMT = 9983 )'NX: ',
01461 $ ( NXVAL( I ), I = 1, NPARMS )
01462 ELSE
01463 DO 110 I = 1, NPARMS
01464 NXVAL( I ) = 1
01465 110 CONTINUE
01466 END IF
01467
01468
01469
01470
01471 IF( SVD .OR. ZBB .OR. ZGG ) THEN
01472 READ( NIN, FMT = * )( NSVAL( I ), I = 1, NPARMS )
01473 DO 120 I = 1, NPARMS
01474 IF( NSVAL( I ).LT.0 ) THEN
01475 WRITE( NOUT, FMT = 9989 )' NS ', NSVAL( I ), 0
01476 FATAL = .TRUE.
01477 ELSE IF( NSVAL( I ).GT.NMAX ) THEN
01478 WRITE( NOUT, FMT = 9988 )' NS ', NSVAL( I ), NMAX
01479 FATAL = .TRUE.
01480 END IF
01481 120 CONTINUE
01482 WRITE( NOUT, FMT = 9983 )'NS: ',
01483 $ ( NSVAL( I ), I = 1, NPARMS )
01484 ELSE
01485 DO 130 I = 1, NPARMS
01486 NSVAL( I ) = 1
01487 130 CONTINUE
01488 END IF
01489
01490
01491
01492 IF( ZGG ) THEN
01493 READ( NIN, FMT = * )( MXBVAL( I ), I = 1, NPARMS )
01494 DO 140 I = 1, NPARMS
01495 IF( MXBVAL( I ).LT.0 ) THEN
01496 WRITE( NOUT, FMT = 9989 )' MAXB ', MXBVAL( I ), 0
01497 FATAL = .TRUE.
01498 ELSE IF( MXBVAL( I ).GT.NMAX ) THEN
01499 WRITE( NOUT, FMT = 9988 )' MAXB ', MXBVAL( I ), NMAX
01500 FATAL = .TRUE.
01501 END IF
01502 140 CONTINUE
01503 WRITE( NOUT, FMT = 9983 )'MAXB: ',
01504 $ ( MXBVAL( I ), I = 1, NPARMS )
01505 ELSE
01506 DO 150 I = 1, NPARMS
01507 MXBVAL( I ) = 1
01508 150 CONTINUE
01509 END IF
01510
01511
01512
01513 IF( NEP ) THEN
01514 READ( NIN, FMT = * )( INMIN( I ), I = 1, NPARMS )
01515 DO 540 I = 1, NPARMS
01516 IF( INMIN( I ).LT.0 ) THEN
01517 WRITE( NOUT, FMT = 9989 )' INMIN ', INMIN( I ), 0
01518 FATAL = .TRUE.
01519 END IF
01520 540 CONTINUE
01521 WRITE( NOUT, FMT = 9983 )'INMIN: ',
01522 $ ( INMIN( I ), I = 1, NPARMS )
01523 ELSE
01524 DO 550 I = 1, NPARMS
01525 INMIN( I ) = 1
01526 550 CONTINUE
01527 END IF
01528
01529
01530
01531 IF( NEP ) THEN
01532 READ( NIN, FMT = * )( INWIN( I ), I = 1, NPARMS )
01533 DO 560 I = 1, NPARMS
01534 IF( INWIN( I ).LT.0 ) THEN
01535 WRITE( NOUT, FMT = 9989 )' INWIN ', INWIN( I ), 0
01536 FATAL = .TRUE.
01537 END IF
01538 560 CONTINUE
01539 WRITE( NOUT, FMT = 9983 )'INWIN: ',
01540 $ ( INWIN( I ), I = 1, NPARMS )
01541 ELSE
01542 DO 570 I = 1, NPARMS
01543 INWIN( I ) = 1
01544 570 CONTINUE
01545 END IF
01546
01547
01548
01549 IF( NEP ) THEN
01550 READ( NIN, FMT = * )( INIBL( I ), I = 1, NPARMS )
01551 DO 580 I = 1, NPARMS
01552 IF( INIBL( I ).LT.0 ) THEN
01553 WRITE( NOUT, FMT = 9989 )' INIBL ', INIBL( I ), 0
01554 FATAL = .TRUE.
01555 END IF
01556 580 CONTINUE
01557 WRITE( NOUT, FMT = 9983 )'INIBL: ',
01558 $ ( INIBL( I ), I = 1, NPARMS )
01559 ELSE
01560 DO 590 I = 1, NPARMS
01561 INIBL( I ) = 1
01562 590 CONTINUE
01563 END IF
01564
01565
01566
01567 IF( NEP ) THEN
01568 READ( NIN, FMT = * )( ISHFTS( I ), I = 1, NPARMS )
01569 DO 600 I = 1, NPARMS
01570 IF( ISHFTS( I ).LT.0 ) THEN
01571 WRITE( NOUT, FMT = 9989 )' ISHFTS ', ISHFTS( I ), 0
01572 FATAL = .TRUE.
01573 END IF
01574 600 CONTINUE
01575 WRITE( NOUT, FMT = 9983 )'ISHFTS: ',
01576 $ ( ISHFTS( I ), I = 1, NPARMS )
01577 ELSE
01578 DO 610 I = 1, NPARMS
01579 ISHFTS( I ) = 1
01580 610 CONTINUE
01581 END IF
01582
01583
01584
01585 IF( NEP ) THEN
01586 READ( NIN, FMT = * )( IACC22( I ), I = 1, NPARMS )
01587 DO 620 I = 1, NPARMS
01588 IF( IACC22( I ).LT.0 ) THEN
01589 WRITE( NOUT, FMT = 9989 )' IACC22 ', IACC22( I ), 0
01590 FATAL = .TRUE.
01591 END IF
01592 620 CONTINUE
01593 WRITE( NOUT, FMT = 9983 )'IACC22: ',
01594 $ ( IACC22( I ), I = 1, NPARMS )
01595 ELSE
01596 DO 630 I = 1, NPARMS
01597 IACC22( I ) = 1
01598 630 CONTINUE
01599 END IF
01600
01601
01602
01603 IF( ZGG ) THEN
01604 READ( NIN, FMT = * )( NBCOL( I ), I = 1, NPARMS )
01605 DO 160 I = 1, NPARMS
01606 IF( NBCOL( I ).LT.0 ) THEN
01607 WRITE( NOUT, FMT = 9989 )'NBCOL ', NBCOL( I ), 0
01608 FATAL = .TRUE.
01609 ELSE IF( NBCOL( I ).GT.NMAX ) THEN
01610 WRITE( NOUT, FMT = 9988 )'NBCOL ', NBCOL( I ), NMAX
01611 FATAL = .TRUE.
01612 END IF
01613 160 CONTINUE
01614 WRITE( NOUT, FMT = 9983 )'NBCOL:',
01615 $ ( NBCOL( I ), I = 1, NPARMS )
01616 ELSE
01617 DO 170 I = 1, NPARMS
01618 NBCOL( I ) = 1
01619 170 CONTINUE
01620 END IF
01621 END IF
01622
01623
01624
01625 WRITE( NOUT, FMT = * )
01626 EPS = DLAMCH( 'Underflow threshold' )
01627 WRITE( NOUT, FMT = 9981 )'underflow', EPS
01628 EPS = DLAMCH( 'Overflow threshold' )
01629 WRITE( NOUT, FMT = 9981 )'overflow ', EPS
01630 EPS = DLAMCH( 'Epsilon' )
01631 WRITE( NOUT, FMT = 9981 )'precision', EPS
01632
01633
01634
01635 READ( NIN, FMT = * )THRESH
01636 WRITE( NOUT, FMT = 9982 )THRESH
01637 IF( SEP .OR. SVD .OR. ZGG ) THEN
01638
01639
01640
01641 READ( NIN, FMT = * )TSTCHK
01642
01643
01644
01645 READ( NIN, FMT = * )TSTDRV
01646 END IF
01647
01648
01649
01650 READ( NIN, FMT = * )TSTERR
01651
01652
01653
01654 READ( NIN, FMT = * )NEWSD
01655
01656
01657
01658 IF( NEWSD.EQ.2 )
01659 $ READ( NIN, FMT = * )( IOLDSD( I ), I = 1, 4 )
01660
01661 DO 180 I = 1, 4
01662 ISEED( I ) = IOLDSD( I )
01663 180 CONTINUE
01664
01665 IF( FATAL ) THEN
01666 WRITE( NOUT, FMT = 9999 )
01667 STOP
01668 END IF
01669
01670
01671
01672
01673
01674
01675 190 CONTINUE
01676
01677 IF( .NOT.( ZGX .OR. ZXV ) ) THEN
01678
01679 200 CONTINUE
01680 READ( NIN, FMT = '(A80)', END = 380 )LINE
01681 C3 = LINE( 1: 3 )
01682 LENP = LEN( LINE )
01683 I = 3
01684 ITMP = 0
01685 I1 = 0
01686 210 CONTINUE
01687 I = I + 1
01688 IF( I.GT.LENP ) THEN
01689 IF( I1.GT.0 ) THEN
01690 GO TO 240
01691 ELSE
01692 NTYPES = MAXT
01693 GO TO 240
01694 END IF
01695 END IF
01696 IF( LINE( I: I ).NE.' ' .AND. LINE( I: I ).NE.',' ) THEN
01697 I1 = I
01698 C1 = LINE( I1: I1 )
01699
01700
01701
01702 DO 220 K = 1, 10
01703 IF( C1.EQ.INTSTR( K: K ) ) THEN
01704 IC = K - 1
01705 GO TO 230
01706 END IF
01707 220 CONTINUE
01708 WRITE( NOUT, FMT = 9991 )I, LINE
01709 GO TO 200
01710 230 CONTINUE
01711 ITMP = 10*ITMP + IC
01712 GO TO 210
01713 ELSE IF( I1.GT.0 ) THEN
01714 GO TO 240
01715 ELSE
01716 GO TO 210
01717 END IF
01718 240 CONTINUE
01719 NTYPES = ITMP
01720
01721
01722
01723 IF( .NOT.( ZEV .OR. ZES .OR. ZVX .OR. ZSX .OR. ZGV .OR.
01724 $ ZGS ) .AND. NTYPES.LE.0 ) THEN
01725 WRITE( NOUT, FMT = 9990 )C3
01726 GO TO 200
01727 END IF
01728
01729 ELSE
01730 IF( ZGX )
01731 $ C3 = 'ZGX'
01732 IF( ZXV )
01733 $ C3 = 'ZXV'
01734 END IF
01735
01736
01737
01738 IF( NEWSD.EQ.0 ) THEN
01739 DO 250 K = 1, 4
01740 ISEED( K ) = IOLDSD( K )
01741 250 CONTINUE
01742 END IF
01743
01744 IF( LSAMEN( 3, C3, 'ZHS' ) .OR. LSAMEN( 3, C3, 'NEP' ) ) THEN
01745
01746
01747
01748
01749
01750
01751
01752
01753
01754
01755
01756 MAXTYP = 21
01757 NTYPES = MIN( MAXTYP, NTYPES )
01758 CALL ALAREQ( C3, NTYPES, DOTYPE, MAXTYP, NIN, NOUT )
01759 CALL XLAENV( 1, 1 )
01760 IF( TSTERR )
01761 $ CALL ZERRHS( 'ZHSEQR', NOUT )
01762 DO 270 I = 1, NPARMS
01763 CALL XLAENV( 1, NBVAL( I ) )
01764 CALL XLAENV( 2, NBMIN( I ) )
01765 CALL XLAENV( 3, NXVAL( I ) )
01766 CALL XLAENV(12, MAX( 11, INMIN( I ) ) )
01767 CALL XLAENV(13, INWIN( I ) )
01768 CALL XLAENV(14, INIBL( I ) )
01769 CALL XLAENV(15, ISHFTS( I ) )
01770 CALL XLAENV(16, IACC22( I ) )
01771
01772 IF( NEWSD.EQ.0 ) THEN
01773 DO 260 K = 1, 4
01774 ISEED( K ) = IOLDSD( K )
01775 260 CONTINUE
01776 END IF
01777 WRITE( NOUT, FMT = 9961 )C3, NBVAL( I ), NBMIN( I ),
01778 $ NXVAL( I ), MAX( 11, INMIN(I)),
01779 $ INWIN( I ), INIBL( I ), ISHFTS( I ), IACC22( I )
01780 CALL ZCHKHS( NN, NVAL, MAXTYP, DOTYPE, ISEED, THRESH, NOUT,
01781 $ A( 1, 1 ), NMAX, A( 1, 2 ), A( 1, 3 ),
01782 $ A( 1, 4 ), A( 1, 5 ), NMAX, A( 1, 6 ),
01783 $ A( 1, 7 ), DC( 1, 1 ), DC( 1, 2 ), A( 1, 8 ),
01784 $ A( 1, 9 ), A( 1, 10 ), A( 1, 11 ), A( 1, 12 ),
01785 $ DC( 1, 3 ), WORK, LWORK, RWORK, IWORK, LOGWRK,
01786 $ RESULT, INFO )
01787 IF( INFO.NE.0 )
01788 $ WRITE( NOUT, FMT = 9980 )'ZCHKHS', INFO
01789 270 CONTINUE
01790
01791 ELSE IF( LSAMEN( 3, C3, 'ZST' ) .OR. LSAMEN( 3, C3, 'SEP' ) ) THEN
01792
01793
01794
01795
01796
01797
01798
01799
01800
01801 MAXTYP = 21
01802 NTYPES = MIN( MAXTYP, NTYPES )
01803 CALL ALAREQ( C3, NTYPES, DOTYPE, MAXTYP, NIN, NOUT )
01804 CALL XLAENV( 1, 1 )
01805 CALL XLAENV( 9, 25 )
01806 IF( TSTERR )
01807 $ CALL ZERRST( 'ZST', NOUT )
01808 DO 290 I = 1, NPARMS
01809 CALL XLAENV( 1, NBVAL( I ) )
01810 CALL XLAENV( 2, NBMIN( I ) )
01811 CALL XLAENV( 3, NXVAL( I ) )
01812
01813 IF( NEWSD.EQ.0 ) THEN
01814 DO 280 K = 1, 4
01815 ISEED( K ) = IOLDSD( K )
01816 280 CONTINUE
01817 END IF
01818 WRITE( NOUT, FMT = 9997 )C3, NBVAL( I ), NBMIN( I ),
01819 $ NXVAL( I )
01820 IF( TSTCHK ) THEN
01821 CALL ZCHKST( NN, NVAL, MAXTYP, DOTYPE, ISEED, THRESH,
01822 $ NOUT, A( 1, 1 ), NMAX, A( 1, 2 ),
01823 $ DR( 1, 1 ), DR( 1, 2 ), DR( 1, 3 ),
01824 $ DR( 1, 4 ), DR( 1, 5 ), DR( 1, 6 ),
01825 $ DR( 1, 7 ), DR( 1, 8 ), DR( 1, 9 ),
01826 $ DR( 1, 10 ), DR( 1, 11 ), A( 1, 3 ), NMAX,
01827 $ A( 1, 4 ), A( 1, 5 ), DC( 1, 1 ), A( 1, 6 ),
01828 $ WORK, LWORK, RWORK, LWORK, IWORK, LIWORK,
01829 $ RESULT, INFO )
01830 IF( INFO.NE.0 )
01831 $ WRITE( NOUT, FMT = 9980 )'ZCHKST', INFO
01832 END IF
01833 IF( TSTDRV ) THEN
01834 CALL ZDRVST( NN, NVAL, 18, DOTYPE, ISEED, THRESH, NOUT,
01835 $ A( 1, 1 ), NMAX, DR( 1, 3 ), DR( 1, 4 ),
01836 $ DR( 1, 5 ), DR( 1, 8 ), DR( 1, 9 ),
01837 $ DR( 1, 10 ), A( 1, 2 ), NMAX, A( 1, 3 ),
01838 $ DC( 1, 1 ), A( 1, 4 ), WORK, LWORK, RWORK,
01839 $ LWORK, IWORK, LIWORK, RESULT, INFO )
01840 IF( INFO.NE.0 )
01841 $ WRITE( NOUT, FMT = 9980 )'ZDRVST', INFO
01842 END IF
01843 290 CONTINUE
01844
01845 ELSE IF( LSAMEN( 3, C3, 'ZSG' ) ) THEN
01846
01847
01848
01849
01850
01851
01852
01853
01854
01855 MAXTYP = 21
01856 NTYPES = MIN( MAXTYP, NTYPES )
01857 CALL ALAREQ( C3, NTYPES, DOTYPE, MAXTYP, NIN, NOUT )
01858 CALL XLAENV( 9, 25 )
01859 DO 310 I = 1, NPARMS
01860 CALL XLAENV( 1, NBVAL( I ) )
01861 CALL XLAENV( 2, NBMIN( I ) )
01862 CALL XLAENV( 3, NXVAL( I ) )
01863
01864 IF( NEWSD.EQ.0 ) THEN
01865 DO 300 K = 1, 4
01866 ISEED( K ) = IOLDSD( K )
01867 300 CONTINUE
01868 END IF
01869 WRITE( NOUT, FMT = 9997 )C3, NBVAL( I ), NBMIN( I ),
01870 $ NXVAL( I )
01871 IF( TSTCHK ) THEN
01872 CALL ZDRVSG( NN, NVAL, MAXTYP, DOTYPE, ISEED, THRESH,
01873 $ NOUT, A( 1, 1 ), NMAX, A( 1, 2 ), NMAX,
01874 $ DR( 1, 3 ), A( 1, 3 ), NMAX, A( 1, 4 ),
01875 $ A( 1, 5 ), A( 1, 6 ), A( 1, 7 ), WORK,
01876 $ LWORK, RWORK, LWORK, IWORK, LIWORK, RESULT,
01877 $ INFO )
01878 IF( INFO.NE.0 )
01879 $ WRITE( NOUT, FMT = 9980 )'ZDRVSG', INFO
01880 END IF
01881 310 CONTINUE
01882
01883 ELSE IF( LSAMEN( 3, C3, 'ZBD' ) .OR. LSAMEN( 3, C3, 'SVD' ) ) THEN
01884
01885
01886
01887
01888
01889
01890
01891
01892
01893
01894 MAXTYP = 16
01895 NTYPES = MIN( MAXTYP, NTYPES )
01896 CALL ALAREQ( C3, NTYPES, DOTYPE, MAXTYP, NIN, NOUT )
01897 CALL XLAENV( 9, 25 )
01898
01899
01900
01901 CALL XLAENV( 1, 1 )
01902 IF( TSTERR .AND. TSTCHK )
01903 $ CALL ZERRBD( 'ZBD', NOUT )
01904 IF( TSTERR .AND. TSTDRV )
01905 $ CALL ZERRED( 'ZBD', NOUT )
01906
01907 DO 330 I = 1, NPARMS
01908 NRHS = NSVAL( I )
01909 CALL XLAENV( 1, NBVAL( I ) )
01910 CALL XLAENV( 2, NBMIN( I ) )
01911 CALL XLAENV( 3, NXVAL( I ) )
01912 IF( NEWSD.EQ.0 ) THEN
01913 DO 320 K = 1, 4
01914 ISEED( K ) = IOLDSD( K )
01915 320 CONTINUE
01916 END IF
01917 WRITE( NOUT, FMT = 9995 )C3, NBVAL( I ), NBMIN( I ),
01918 $ NXVAL( I ), NRHS
01919 IF( TSTCHK ) THEN
01920 CALL ZCHKBD( NN, MVAL, NVAL, MAXTYP, DOTYPE, NRHS, ISEED,
01921 $ THRESH, A( 1, 1 ), NMAX, DR( 1, 1 ),
01922 $ DR( 1, 2 ), DR( 1, 3 ), DR( 1, 4 ),
01923 $ A( 1, 2 ), NMAX, A( 1, 3 ), A( 1, 4 ),
01924 $ A( 1, 5 ), NMAX, A( 1, 6 ), NMAX, A( 1, 7 ),
01925 $ A( 1, 8 ), WORK, LWORK, RWORK, NOUT, INFO )
01926 IF( INFO.NE.0 )
01927 $ WRITE( NOUT, FMT = 9980 )'ZCHKBD', INFO
01928 END IF
01929 IF( TSTDRV )
01930 $ CALL ZDRVBD( NN, MVAL, NVAL, MAXTYP, DOTYPE, ISEED,
01931 $ THRESH, A( 1, 1 ), NMAX, A( 1, 2 ), NMAX,
01932 $ A( 1, 3 ), NMAX, A( 1, 4 ), A( 1, 5 ),
01933 $ A( 1, 6 ), DR( 1, 1 ), DR( 1, 2 ),
01934 $ DR( 1, 3 ), WORK, LWORK, RWORK, IWORK, NOUT,
01935 $ INFO )
01936 330 CONTINUE
01937
01938 ELSE IF( LSAMEN( 3, C3, 'ZEV' ) ) THEN
01939
01940
01941
01942
01943
01944
01945 MAXTYP = 21
01946 NTYPES = MIN( MAXTYP, NTYPES )
01947 IF( NTYPES.LE.0 ) THEN
01948 WRITE( NOUT, FMT = 9990 )C3
01949 ELSE
01950 IF( TSTERR )
01951 $ CALL ZERRED( C3, NOUT )
01952 CALL ALAREQ( C3, NTYPES, DOTYPE, MAXTYP, NIN, NOUT )
01953 CALL ZDRVEV( NN, NVAL, NTYPES, DOTYPE, ISEED, THRESH, NOUT,
01954 $ A( 1, 1 ), NMAX, A( 1, 2 ), DC( 1, 1 ),
01955 $ DC( 1, 2 ), A( 1, 3 ), NMAX, A( 1, 4 ), NMAX,
01956 $ A( 1, 5 ), NMAX, RESULT, WORK, LWORK, RWORK,
01957 $ IWORK, INFO )
01958 IF( INFO.NE.0 )
01959 $ WRITE( NOUT, FMT = 9980 )'ZGEEV', INFO
01960 END IF
01961 WRITE( NOUT, FMT = 9973 )
01962 GO TO 10
01963
01964 ELSE IF( LSAMEN( 3, C3, 'ZES' ) ) THEN
01965
01966
01967
01968
01969
01970
01971 MAXTYP = 21
01972 NTYPES = MIN( MAXTYP, NTYPES )
01973 IF( NTYPES.LE.0 ) THEN
01974 WRITE( NOUT, FMT = 9990 )C3
01975 ELSE
01976 IF( TSTERR )
01977 $ CALL ZERRED( C3, NOUT )
01978 CALL ALAREQ( C3, NTYPES, DOTYPE, MAXTYP, NIN, NOUT )
01979 CALL ZDRVES( NN, NVAL, NTYPES, DOTYPE, ISEED, THRESH, NOUT,
01980 $ A( 1, 1 ), NMAX, A( 1, 2 ), A( 1, 3 ),
01981 $ DC( 1, 1 ), DC( 1, 2 ), A( 1, 4 ), NMAX,
01982 $ RESULT, WORK, LWORK, RWORK, IWORK, LOGWRK,
01983 $ INFO )
01984 IF( INFO.NE.0 )
01985 $ WRITE( NOUT, FMT = 9980 )'ZGEES', INFO
01986 END IF
01987 WRITE( NOUT, FMT = 9973 )
01988 GO TO 10
01989
01990 ELSE IF( LSAMEN( 3, C3, 'ZVX' ) ) THEN
01991
01992
01993
01994
01995
01996
01997 MAXTYP = 21
01998 NTYPES = MIN( MAXTYP, NTYPES )
01999 IF( NTYPES.LT.0 ) THEN
02000 WRITE( NOUT, FMT = 9990 )C3
02001 ELSE
02002 IF( TSTERR )
02003 $ CALL ZERRED( C3, NOUT )
02004 CALL ALAREQ( C3, NTYPES, DOTYPE, MAXTYP, NIN, NOUT )
02005 CALL ZDRVVX( NN, NVAL, NTYPES, DOTYPE, ISEED, THRESH, NIN,
02006 $ NOUT, A( 1, 1 ), NMAX, A( 1, 2 ), DC( 1, 1 ),
02007 $ DC( 1, 2 ), A( 1, 3 ), NMAX, A( 1, 4 ), NMAX,
02008 $ A( 1, 5 ), NMAX, DR( 1, 1 ), DR( 1, 2 ),
02009 $ DR( 1, 3 ), DR( 1, 4 ), DR( 1, 5 ), DR( 1, 6 ),
02010 $ DR( 1, 7 ), DR( 1, 8 ), RESULT, WORK, LWORK,
02011 $ RWORK, INFO )
02012 IF( INFO.NE.0 )
02013 $ WRITE( NOUT, FMT = 9980 )'ZGEEVX', INFO
02014 END IF
02015 WRITE( NOUT, FMT = 9973 )
02016 GO TO 10
02017
02018 ELSE IF( LSAMEN( 3, C3, 'ZSX' ) ) THEN
02019
02020
02021
02022
02023
02024
02025 MAXTYP = 21
02026 NTYPES = MIN( MAXTYP, NTYPES )
02027 IF( NTYPES.LT.0 ) THEN
02028 WRITE( NOUT, FMT = 9990 )C3
02029 ELSE
02030 IF( TSTERR )
02031 $ CALL ZERRED( C3, NOUT )
02032 CALL ALAREQ( C3, NTYPES, DOTYPE, MAXTYP, NIN, NOUT )
02033 CALL ZDRVSX( NN, NVAL, NTYPES, DOTYPE, ISEED, THRESH, NIN,
02034 $ NOUT, A( 1, 1 ), NMAX, A( 1, 2 ), A( 1, 3 ),
02035 $ DC( 1, 1 ), DC( 1, 2 ), DC( 1, 3 ), A( 1, 4 ),
02036 $ NMAX, A( 1, 5 ), RESULT, WORK, LWORK, RWORK,
02037 $ LOGWRK, INFO )
02038 IF( INFO.NE.0 )
02039 $ WRITE( NOUT, FMT = 9980 )'ZGEESX', INFO
02040 END IF
02041 WRITE( NOUT, FMT = 9973 )
02042 GO TO 10
02043
02044 ELSE IF( LSAMEN( 3, C3, 'ZGG' ) ) THEN
02045
02046
02047
02048
02049
02050
02051
02052
02053
02054
02055
02056 MAXTYP = 26
02057 NTYPES = MIN( MAXTYP, NTYPES )
02058 CALL ALAREQ( C3, NTYPES, DOTYPE, MAXTYP, NIN, NOUT )
02059 IF( TSTCHK .AND. TSTERR )
02060 $ CALL ZERRGG( C3, NOUT )
02061 DO 350 I = 1, NPARMS
02062 CALL XLAENV( 1, NBVAL( I ) )
02063 CALL XLAENV( 2, NBMIN( I ) )
02064 CALL XLAENV( 4, NSVAL( I ) )
02065 CALL XLAENV( 8, MXBVAL( I ) )
02066 CALL XLAENV( 5, NBCOL( I ) )
02067
02068 IF( NEWSD.EQ.0 ) THEN
02069 DO 340 K = 1, 4
02070 ISEED( K ) = IOLDSD( K )
02071 340 CONTINUE
02072 END IF
02073 WRITE( NOUT, FMT = 9996 )C3, NBVAL( I ), NBMIN( I ),
02074 $ NSVAL( I ), MXBVAL( I ), NBCOL( I )
02075 TSTDIF = .FALSE.
02076 THRSHN = 10.D0
02077 IF( TSTCHK ) THEN
02078 CALL ZCHKGG( NN, NVAL, MAXTYP, DOTYPE, ISEED, THRESH,
02079 $ TSTDIF, THRSHN, NOUT, A( 1, 1 ), NMAX,
02080 $ A( 1, 2 ), A( 1, 3 ), A( 1, 4 ), A( 1, 5 ),
02081 $ A( 1, 6 ), A( 1, 7 ), A( 1, 8 ), A( 1, 9 ),
02082 $ NMAX, A( 1, 10 ), A( 1, 11 ), A( 1, 12 ),
02083 $ DC( 1, 1 ), DC( 1, 2 ), DC( 1, 3 ),
02084 $ DC( 1, 4 ), A( 1, 13 ), A( 1, 14 ), WORK,
02085 $ LWORK, RWORK, LOGWRK, RESULT, INFO )
02086 IF( INFO.NE.0 )
02087 $ WRITE( NOUT, FMT = 9980 )'ZCHKGG', INFO
02088 END IF
02089 CALL XLAENV( 1, 1 )
02090 IF( TSTDRV ) THEN
02091 CALL ZDRVGG( NN, NVAL, MAXTYP, DOTYPE, ISEED, THRESH,
02092 $ THRSHN, NOUT, A( 1, 1 ), NMAX, A( 1, 2 ),
02093 $ A( 1, 3 ), A( 1, 4 ), A( 1, 5 ), A( 1, 6 ),
02094 $ A( 1, 7 ), NMAX, A( 1, 8 ), DC( 1, 1 ),
02095 $ DC( 1, 2 ), DC( 1, 3 ), DC( 1, 4 ),
02096 $ A( 1, 8 ), A( 1, 9 ), WORK, LWORK, RWORK,
02097 $ RESULT, INFO )
02098 IF( INFO.NE.0 )
02099 $ WRITE( NOUT, FMT = 9980 )'ZDRVGG', INFO
02100 END IF
02101 350 CONTINUE
02102
02103 ELSE IF( LSAMEN( 3, C3, 'ZGS' ) ) THEN
02104
02105
02106
02107
02108
02109
02110 MAXTYP = 26
02111 NTYPES = MIN( MAXTYP, NTYPES )
02112 IF( NTYPES.LE.0 ) THEN
02113 WRITE( NOUT, FMT = 9990 )C3
02114 ELSE
02115 IF( TSTERR )
02116 $ CALL ZERRGG( C3, NOUT )
02117 CALL ALAREQ( C3, NTYPES, DOTYPE, MAXTYP, NIN, NOUT )
02118 CALL ZDRGES( NN, NVAL, MAXTYP, DOTYPE, ISEED, THRESH, NOUT,
02119 $ A( 1, 1 ), NMAX, A( 1, 2 ), A( 1, 3 ),
02120 $ A( 1, 4 ), A( 1, 7 ), NMAX, A( 1, 8 ),
02121 $ DC( 1, 1 ), DC( 1, 2 ), WORK, LWORK, RWORK,
02122 $ RESULT, LOGWRK, INFO )
02123
02124 IF( INFO.NE.0 )
02125 $ WRITE( NOUT, FMT = 9980 )'ZDRGES', INFO
02126 END IF
02127 WRITE( NOUT, FMT = 9973 )
02128 GO TO 10
02129
02130 ELSE IF( ZGX ) THEN
02131
02132
02133
02134
02135
02136
02137 MAXTYP = 5
02138 NTYPES = MAXTYP
02139 IF( NN.LT.0 ) THEN
02140 WRITE( NOUT, FMT = 9990 )C3
02141 ELSE
02142 IF( TSTERR )
02143 $ CALL ZERRGG( C3, NOUT )
02144 CALL ALAREQ( C3, NTYPES, DOTYPE, MAXTYP, NIN, NOUT )
02145 CALL XLAENV( 5, 2 )
02146 CALL ZDRGSX( NN, NCMAX, THRESH, NIN, NOUT, A( 1, 1 ), NMAX,
02147 $ A( 1, 2 ), A( 1, 3 ), A( 1, 4 ), A( 1, 5 ),
02148 $ A( 1, 6 ), DC( 1, 1 ), DC( 1, 2 ), C,
02149 $ NCMAX*NCMAX, S, WORK, LWORK, RWORK, IWORK,
02150 $ LIWORK, LOGWRK, INFO )
02151 IF( INFO.NE.0 )
02152 $ WRITE( NOUT, FMT = 9980 )'ZDRGSX', INFO
02153 END IF
02154 WRITE( NOUT, FMT = 9973 )
02155 GO TO 10
02156
02157 ELSE IF( LSAMEN( 3, C3, 'ZGV' ) ) THEN
02158
02159
02160
02161
02162
02163
02164 MAXTYP = 26
02165 NTYPES = MIN( MAXTYP, NTYPES )
02166 IF( NTYPES.LE.0 ) THEN
02167 WRITE( NOUT, FMT = 9990 )C3
02168 ELSE
02169 IF( TSTERR )
02170 $ CALL ZERRGG( C3, NOUT )
02171 CALL ALAREQ( C3, NTYPES, DOTYPE, MAXTYP, NIN, NOUT )
02172 CALL ZDRGEV( NN, NVAL, MAXTYP, DOTYPE, ISEED, THRESH, NOUT,
02173 $ A( 1, 1 ), NMAX, A( 1, 2 ), A( 1, 3 ),
02174 $ A( 1, 4 ), A( 1, 7 ), NMAX, A( 1, 8 ),
02175 $ A( 1, 9 ), NMAX, DC( 1, 1 ), DC( 1, 2 ),
02176 $ DC( 1, 3 ), DC( 1, 4 ), WORK, LWORK, RWORK,
02177 $ RESULT, INFO )
02178 IF( INFO.NE.0 )
02179 $ WRITE( NOUT, FMT = 9980 )'ZDRGEV', INFO
02180 END IF
02181 WRITE( NOUT, FMT = 9973 )
02182 GO TO 10
02183
02184 ELSE IF( ZXV ) THEN
02185
02186
02187
02188
02189
02190
02191 MAXTYP = 2
02192 NTYPES = MAXTYP
02193 IF( NN.LT.0 ) THEN
02194 WRITE( NOUT, FMT = 9990 )C3
02195 ELSE
02196 IF( TSTERR )
02197 $ CALL ZERRGG( C3, NOUT )
02198 CALL ALAREQ( C3, NTYPES, DOTYPE, MAXTYP, NIN, NOUT )
02199 CALL ZDRGVX( NN, THRESH, NIN, NOUT, A( 1, 1 ), NMAX,
02200 $ A( 1, 2 ), A( 1, 3 ), A( 1, 4 ), DC( 1, 1 ),
02201 $ DC( 1, 2 ), A( 1, 5 ), A( 1, 6 ), IWORK( 1 ),
02202 $ IWORK( 2 ), DR( 1, 1 ), DR( 1, 2 ), DR( 1, 3 ),
02203 $ DR( 1, 4 ), DR( 1, 5 ), DR( 1, 6 ), WORK,
02204 $ LWORK, RWORK, IWORK( 3 ), LIWORK-2, RESULT,
02205 $ LOGWRK, INFO )
02206
02207 IF( INFO.NE.0 )
02208 $ WRITE( NOUT, FMT = 9980 )'ZDRGVX', INFO
02209 END IF
02210 WRITE( NOUT, FMT = 9973 )
02211 GO TO 10
02212
02213 ELSE IF( LSAMEN( 3, C3, 'ZHB' ) ) THEN
02214
02215
02216
02217
02218
02219 MAXTYP = 15
02220 NTYPES = MIN( MAXTYP, NTYPES )
02221 CALL ALAREQ( C3, NTYPES, DOTYPE, MAXTYP, NIN, NOUT )
02222 IF( TSTERR )
02223 $ CALL ZERRST( 'ZHB', NOUT )
02224 CALL ZCHKHB( NN, NVAL, NK, KVAL, MAXTYP, DOTYPE, ISEED, THRESH,
02225 $ NOUT, A( 1, 1 ), NMAX, DR( 1, 1 ), DR( 1, 2 ),
02226 $ A( 1, 2 ), NMAX, WORK, LWORK, RWORK, RESULT,
02227 $ INFO )
02228 IF( INFO.NE.0 )
02229 $ WRITE( NOUT, FMT = 9980 )'ZCHKHB', INFO
02230
02231 ELSE IF( LSAMEN( 3, C3, 'ZBB' ) ) THEN
02232
02233
02234
02235
02236
02237 MAXTYP = 15
02238 NTYPES = MIN( MAXTYP, NTYPES )
02239 CALL ALAREQ( C3, NTYPES, DOTYPE, MAXTYP, NIN, NOUT )
02240 DO 370 I = 1, NPARMS
02241 NRHS = NSVAL( I )
02242
02243 IF( NEWSD.EQ.0 ) THEN
02244 DO 360 K = 1, 4
02245 ISEED( K ) = IOLDSD( K )
02246 360 CONTINUE
02247 END IF
02248 WRITE( NOUT, FMT = 9966 )C3, NRHS
02249 CALL ZCHKBB( NN, MVAL, NVAL, NK, KVAL, MAXTYP, DOTYPE, NRHS,
02250 $ ISEED, THRESH, NOUT, A( 1, 1 ), NMAX,
02251 $ A( 1, 2 ), 2*NMAX, DR( 1, 1 ), DR( 1, 2 ),
02252 $ A( 1, 4 ), NMAX, A( 1, 5 ), NMAX, A( 1, 6 ),
02253 $ NMAX, A( 1, 7 ), WORK, LWORK, RWORK, RESULT,
02254 $ INFO )
02255 IF( INFO.NE.0 )
02256 $ WRITE( NOUT, FMT = 9980 )'ZCHKBB', INFO
02257 370 CONTINUE
02258
02259 ELSE IF( LSAMEN( 3, C3, 'GLM' ) ) THEN
02260
02261
02262
02263
02264
02265 CALL XLAENV( 1, 1 )
02266 IF( TSTERR )
02267 $ CALL ZERRGG( 'GLM', NOUT )
02268 CALL ZCKGLM( NN, NVAL, MVAL, PVAL, NTYPES, ISEED, THRESH, NMAX,
02269 $ A( 1, 1 ), A( 1, 2 ), B( 1, 1 ), B( 1, 2 ), X,
02270 $ WORK, DR( 1, 1 ), NIN, NOUT, INFO )
02271 IF( INFO.NE.0 )
02272 $ WRITE( NOUT, FMT = 9980 )'ZCKGLM', INFO
02273
02274 ELSE IF( LSAMEN( 3, C3, 'GQR' ) ) THEN
02275
02276
02277
02278
02279
02280 CALL XLAENV( 1, 1 )
02281 IF( TSTERR )
02282 $ CALL ZERRGG( 'GQR', NOUT )
02283 CALL ZCKGQR( NN, MVAL, NN, PVAL, NN, NVAL, NTYPES, ISEED,
02284 $ THRESH, NMAX, A( 1, 1 ), A( 1, 2 ), A( 1, 3 ),
02285 $ A( 1, 4 ), TAUA, B( 1, 1 ), B( 1, 2 ), B( 1, 3 ),
02286 $ B( 1, 4 ), B( 1, 5 ), TAUB, WORK, DR( 1, 1 ), NIN,
02287 $ NOUT, INFO )
02288 IF( INFO.NE.0 )
02289 $ WRITE( NOUT, FMT = 9980 )'ZCKGQR', INFO
02290
02291 ELSE IF( LSAMEN( 3, C3, 'GSV' ) ) THEN
02292
02293
02294
02295
02296
02297 IF( TSTERR )
02298 $ CALL ZERRGG( 'GSV', NOUT )
02299 CALL ZCKGSV( NN, MVAL, PVAL, NVAL, NTYPES, ISEED, THRESH, NMAX,
02300 $ A( 1, 1 ), A( 1, 2 ), B( 1, 1 ), B( 1, 2 ),
02301 $ A( 1, 3 ), B( 1, 3 ), A( 1, 4 ), ALPHA, BETA,
02302 $ B( 1, 4 ), IWORK, WORK, DR( 1, 1 ), NIN, NOUT,
02303 $ INFO )
02304 IF( INFO.NE.0 )
02305 $ WRITE( NOUT, FMT = 9980 )'ZCKGSV', INFO
02306
02307 ELSE IF( LSAMEN( 3, C3, 'CSD' ) ) THEN
02308
02309
02310
02311
02312
02313 IF( TSTERR )
02314 $ CALL ZERRGG( 'CSD', NOUT )
02315 CALL ZCKCSD( NN, MVAL, PVAL, NVAL, NTYPES, ISEED, THRESH, NMAX,
02316 $ A( 1, 1 ), A( 1, 2 ), A( 1, 3 ), A( 1, 4 ),
02317 $ A( 1, 5 ), A( 1, 6 ), A( 1, 7 ), IWORK, WORK,
02318 $ DR( 1, 1 ), NIN, NOUT, INFO )
02319 IF( INFO.NE.0 )
02320 $ WRITE( NOUT, FMT = 9980 )'ZCKCSD', INFO
02321
02322 ELSE IF( LSAMEN( 3, C3, 'LSE' ) ) THEN
02323
02324
02325
02326
02327
02328 CALL XLAENV( 1, 1 )
02329 IF( TSTERR )
02330 $ CALL ZERRGG( 'LSE', NOUT )
02331 CALL ZCKLSE( NN, MVAL, PVAL, NVAL, NTYPES, ISEED, THRESH, NMAX,
02332 $ A( 1, 1 ), A( 1, 2 ), B( 1, 1 ), B( 1, 2 ), X,
02333 $ WORK, DR( 1, 1 ), NIN, NOUT, INFO )
02334 IF( INFO.NE.0 )
02335 $ WRITE( NOUT, FMT = 9980 )'ZCKLSE', INFO
02336 ELSE
02337 WRITE( NOUT, FMT = * )
02338 WRITE( NOUT, FMT = * )
02339 WRITE( NOUT, FMT = 9992 )C3
02340 END IF
02341 IF( .NOT.( ZGX .OR. ZXV ) )
02342 $ GO TO 190
02343 380 CONTINUE
02344 WRITE( NOUT, FMT = 9994 )
02345 S2 = DSECND( )
02346 WRITE( NOUT, FMT = 9993 )S2 - S1
02347
02348 9999 FORMAT( / ' Execution not attempted due to input errors' )
02349 9998 FORMAT( / / 1X, A3, ': NB =', I4, ', NBMIN =', I4, ', NX =', I4,
02350 $ ', NS =', I4, ', MAXB =', I4 )
02351 9997 FORMAT( / / 1X, A3, ': NB =', I4, ', NBMIN =', I4, ', NX =', I4 )
02352 9996 FORMAT( / / 1X, A3, ': NB =', I4, ', NBMIN =', I4, ', NS =', I4,
02353 $ ', MAXB =', I4, ', NBCOL =', I4 )
02354 9995 FORMAT( / / 1X, A3, ': NB =', I4, ', NBMIN =', I4, ', NX =', I4,
02355 $ ', NRHS =', I4 )
02356 9994 FORMAT( / / ' End of tests' )
02357 9993 FORMAT( ' Total time used = ', F12.2, ' seconds', / )
02358 9992 FORMAT( 1X, A3, ': Unrecognized path name' )
02359 9991 FORMAT( / / ' *** Invalid integer value in column ', I2,
02360 $ ' of input', ' line:', / A79 )
02361 9990 FORMAT( / / 1X, A3, ' routines were not tested' )
02362 9989 FORMAT( ' Invalid input value: ', A, '=', I6, '; must be >=',
02363 $ I6 )
02364 9988 FORMAT( ' Invalid input value: ', A, '=', I6, '; must be <=',
02365 $ I6 )
02366 9987 FORMAT( ' Tests of the Nonsymmetric Eigenvalue Problem routines' )
02367 9986 FORMAT( ' Tests of the Hermitian Eigenvalue Problem routines' )
02368 9985 FORMAT( ' Tests of the Singular Value Decomposition routines' )
02369 9984 FORMAT( / ' The following parameter values will be used:' )
02370 9983 FORMAT( 4X, A, 10I6, / 10X, 10I6 )
02371 9982 FORMAT( / ' Routines pass computational tests if test ratio is ',
02372 $ 'less than', F8.2, / )
02373 9981 FORMAT( ' Relative machine ', A, ' is taken to be', D16.6 )
02374 9980 FORMAT( ' *** Error code from ', A, ' = ', I4 )
02375 9979 FORMAT( / ' Tests of the Nonsymmetric Eigenvalue Problem Driver',
02376 $ / ' ZGEEV (eigenvalues and eigevectors)' )
02377 9978 FORMAT( / ' Tests of the Nonsymmetric Eigenvalue Problem Driver',
02378 $ / ' ZGEES (Schur form)' )
02379 9977 FORMAT( / ' Tests of the Nonsymmetric Eigenvalue Problem Expert',
02380 $ ' Driver', / ' ZGEEVX (eigenvalues, eigenvectors and',
02381 $ ' condition numbers)' )
02382 9976 FORMAT( / ' Tests of the Nonsymmetric Eigenvalue Problem Expert',
02383 $ ' Driver', / ' ZGEESX (Schur form and condition',
02384 $ ' numbers)' )
02385 9975 FORMAT( / ' Tests of the Generalized Nonsymmetric Eigenvalue ',
02386 $ 'Problem routines' )
02387 9974 FORMAT( ' Tests of ZHBTRD', / ' (reduction of a Hermitian band ',
02388 $ 'matrix to real tridiagonal form)' )
02389 9973 FORMAT( / 1X, 71( '-' ) )
02390 9972 FORMAT( / ' LAPACK VERSION ', I1, '.', I1, '.', I1 )
02391 9971 FORMAT( / ' Tests of the Generalized Linear Regression Model ',
02392 $ 'routines' )
02393 9970 FORMAT( / ' Tests of the Generalized QR and RQ routines' )
02394 9969 FORMAT( / ' Tests of the Generalized Singular Value',
02395 $ ' Decomposition routines' )
02396 9968 FORMAT( / ' Tests of the Linear Least Squares routines' )
02397 9967 FORMAT( ' Tests of ZGBBRD', / ' (reduction of a general band ',
02398 $ 'matrix to real bidiagonal form)' )
02399 9966 FORMAT( / / 1X, A3, ': NRHS =', I4 )
02400 9965 FORMAT( / ' Tests of the Generalized Nonsymmetric Eigenvalue ',
02401 $ 'Problem Expert Driver ZGGESX' )
02402 9964 FORMAT( / ' Tests of the Generalized Nonsymmetric Eigenvalue ',
02403 $ 'Problem Driver ZGGES' )
02404 9963 FORMAT( / ' Tests of the Generalized Nonsymmetric Eigenvalue ',
02405 $ 'Problem Driver ZGGEV' )
02406 9962 FORMAT( / ' Tests of the Generalized Nonsymmetric Eigenvalue ',
02407 $ 'Problem Expert Driver ZGGEVX' )
02408 9961 FORMAT( / / 1X, A3, ': NB =', I4, ', NBMIN =', I4, ', NX =', I4,
02409 $ ', INMIN=', I4,
02410 $ ', INWIN =', I4, ', INIBL =', I4, ', ISHFTS =', I4,
02411 $ ', IACC22 =', I4)
02412 9960 FORMAT( / ' Tests of the CS Decomposition routines' )
02413
02414
02415
02416 END