next up previous contents
Next: Input File for Testing Up: Testing the Nonsymmetric Eigenvalue Previous: Tests Performed on the   Contents

Input File for Testing the Nonsymmetric Eigenvalue Routines

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

NEP:  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)
5                                 Number of values of NB, NS, and MAXB
1  3  3  3  20                    Values of NB (blocksize)
2  2  2  2  2                     Values of NBMIN (minimum blocksize)
1  0  5  9  1                     Values of NX (crossover point)
2  4  2  4  6                     Values of NS (no. of shifts)
20 20 6  10 10                    Values of MAXB (min. blocksize)
20.0                              Threshold value
T                                 Put T to test the error exits
1                                 Code to interpret the seed
NEP  21

The first line of the input file must contain the characters NEP in columns 1-3. Lines 2-11 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, NS, and MAXB
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 values of NS, the number of shifts
line 9: The values of MAXB, the minimum blocksize
line 10: The threshold value for the test ratios
line 11: 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 12: If line 9 was 2, four integer values for the random number seed
   

The remaining lines occur in sets of 1 or 2 and allow the user to specify the matrix types. Each line contains a 3-character identification in columns 1-3, which must be either NEP or SHS (CHS in complex, DHS in double precision, and ZHS in complex*16), and the number of matrix types must be the first nonblank item in columns 4-80. If the number of matrix types is at least 1 but is less than the maximum number of possible types, a second line will be read to get the numbers of the matrix types to be used. For example,

NEP 21
requests all of the matrix types for the nonsymmetric eigenvalue problem, while

NEP  4
 9 10 11 12
requests only matrices of type 9, 10, 11, and 12.


next up previous contents
Next: Input File for Testing Up: Testing the Nonsymmetric Eigenvalue Previous: Tests Performed on the   Contents
Susan Blackford 2001-08-13