next up previous contents
Next: Input file for Testing Up: Testing the Generalized Nonsymmetric Previous: Tests performed on the   Contents

Input file for Testing the Generalized Nonsymmetric Eigenvalue Routines

An annotated example of an input file for testing the generalized nonsymmetric eigenvalue routines is shown below.

SGG:  Data file for testing Nonsymmetric Eigenvalue Problem routines
7                               Number of values of N
0 1 2 3 5 10 16                 Values of N (dimension)
4                               Number of parameter values
1   1   2   2                   Values of NB (blocksize)
100 100 2   2                   Values of NBMIN (minimum blocksize)
2   4   2   4                   Values of NSHIFT (no. of shifts)
100 100 2   2                   Values of MAXB (multishift crossover pt)
100 100 2   2                   Values of NBCOL (minimum col. dimension)
20.0                            Threshold value
T                               Put T to test the LAPACK routines
T                               Put T to test the driver routines
T                               Put T to test the error exits
1                               Code to interpret the seed
SGG  26

The first line of the input file must contain the characters SGG in columns 1-3. Lines 2-14 are read using list-directed input and specify the following values:

line 2: The number of values of N
line 3: The values of N, the matrix dimension
line 4: The threshold value for the test ratios
line 5: TSTCHK, flag to test LAPACK routines
line 6: TSTDRV, flag to test driver routines
line 7: TSTERR, flag to test error exits from LAPACK and driver routines
line 8: An integer code to interpret the random number seed
  = 0: Set the seed to a default value before each run
  = 1: Initialize the seed to a default value only before the first run
  = 2: Like 1, but use the seed values on the next line
line 9: If line 8 was 2, four integer values for the random number seed

The remaining lines are used to specify the matrix types for one or more sets of tests, as in the standard nonsymmetric case. The valid 3-character codes are SGG (CGG in complex, DGG in double precision, and ZGG in complex*16).


next up previous contents
Next: Input file for Testing Up: Testing the Generalized Nonsymmetric Previous: Tests performed on the   Contents
Susan Blackford 2001-08-13