An annotated example of an input file for testing the generalized symmetric eigenvalue drivers is shown below.
SEP: Data file for testing Symmetric Eigenvalue Problem routines 7 Number of values of N 0 1 2 3 5 10 16 Values of N (dimension) 3 Number of values of NB, NBMIN, NX 1 3 20 Values of NB (blocksize) 2 2 2 Values of NBMIN (minimum blocksize) 1 1 1 Values of NX (crossover point) 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 SSG 21
The first line of the input file must contain the characters SEP in columns 1-3. Lines 2-12 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 number of values of the parameters NB, NBMIN, NX |
| line 5: | The values of NB, the blocksize |
| line 6: | The values of NBMIN, the minimum blocksize |
| line 7: | The values of NX, the crossover point |
| line 8: | The threshold value for the test ratios |
| line 9: | TSTCHK, flag to test LAPACK routines |
| line 10: | TSTDRV, flag to test driver routines |
| line 11: | TSTERR, flag to test error exits from LAPACK and driver routines |
| line 12: | 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 13: | If line 12 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 symmetric case. The valid 3-character code is SSG (CSG in complex, DSG in double precision, and ZSG in complex*16).