next up previous contents
Next: Create the LAPACK Library Up: Further Details of the Previous: Create the BLAS Library   Contents


Run the BLAS Test Programs

Test programs for the Level 1, 2, and 3 BLAS are in the directory LAPACK/BLAS/TESTING.

To compile and run the Level 1, 2, and 3 BLAS test programs, go to LAPACK and type make blas_testing. The executable files are called xblat_s, xblat_d, xblat_c, and xblat_z, where the _ (underscore) is replaced by 1, 2, or 3, depending upon the level of BLAS that it is testing. All executable and output files are created in LAPACK/BLAS/. For the Level 1 BLAS tests, the output file names are sblat1.out, dblat1.out, cblat1.out, and zblat1.out. For the Level 2 and 3 BLAS, the name of the output file is indicated on the first line of the input file and is currently defined to be sblat2.out for the Level 2 REAL version, and sblat3.out for the Level 3 REAL version, with similar names for the other data types.

If the tests using the supplied data files were completed successfully, consider whether the tests were sufficiently thorough. For example, on a machine with vector registers, at least one value of greater than the length of the vector registers should be used; otherwise, important parts of the compiled code may not be exercised by the tests. If the tests were not successful, either because the program did not finish or the test ratios did not pass the threshold, you will probably have to find and correct the problem before continuing. If you have been testing a system-specific BLAS library, try using the Fortran BLAS for the routines that did not pass the tests. For more details on the BLAS test programs, see [9] and [7].


next up previous contents
Next: Create the LAPACK Library Up: Further Details of the Previous: Create the BLAS Library   Contents
Julie Langou 2007-02-26