next up previous contents
Next: Timing the BLAS Up: Run the LAPACK Timing Previous: Run the LAPACK Timing   Contents

Timing the Linear Equations Routines

Three input files are provided in each data type for timing the linear equation routines, one for square matrices, one for band matrices, and one for rectangular matrices. The small data sets are in xLINTIMD, xBNDTIMD, and xRECTIMD, and the large data sets are in xLINTM2D, xBNDTM2D, and xRECTM2D.

a)
Compile the files xLINSRCF and create an object library. If you have compiled either the S or C version, you must also compile and include the file SCINSRCF, and if you have compiled either the D or Z version, you must also compile and include the file DZINSRCF. If you did not compile the file ALLBLASF and include it in your BLAS library as described in Section A.3, you must compile it now and include it in the instrumented LAPACK library.

b)
Compile the files xLINTIMF with ALINTIMF and link them to your test matrix generator library, the instrumented LAPACK library created in the previous step, your LAPACK library from Section A.5, and your BLAS library in that order (on some systems you may get unsatisfied external references if you specify the libraries in the wrong order). If you have compiled either the S or C version, you must also compile and include the file SCINTIMF, and if you have compiled either the D or Z version, you must also compile and include the file DZINTIMF.

c)
Make any necessary modifications to the input files. You may need to set the minimum time a subroutine will be timed to a positive value, or to restrict the size of the tests if you are using a computer with performance in between that of a workstation and that of a supercomputer. The computational requirements can be cut in half by using only one value of LDA. If it is necessary to also reduce the matrix sizes or the values of the blocksize, corresponding changes should be made to the BLAS input files (see Section A.8.2).

Associate the appropriate input file with Fortran unit number 5.

d)
The output file is written to Fortran unit number 6. Associate a suitably named file with this unit number (e.g., SLINTIM.OUT, SBNDTIM.OUT, and SRECTIM.OUT for the REAL version).

e)
Run the timing programs in each data type you are using for each of the three input files.


next up previous contents
Next: Timing the BLAS Up: Run the LAPACK Timing Previous: Run the LAPACK Timing   Contents
Susan Blackford 2001-08-13