next up previous contents
Next: Run the BLAS Test Up: Further Details of the Previous: Testing IEEE arithmetic and   Contents

Create the BLAS Library

Ideally, a highly optimized version of the BLAS library already exists on your machine. In this case you can go directly to Section 6.3 to make the BLAS test programs. You may already have a library containing some of the BLAS, but not all (Level 1 and 2, but not Level 3, for example). If so, you should use your local version of the BLAS wherever possible.

a)
Go to LAPACK and edit the definition of blaslib in the file Makefile to specify the data types desired, as in the example in Section  5.3.

If you already have some of the BLAS, you will need to edit the file LAPACK/BLAS/SRC/Makefile to comment out the lines defining the BLAS you have.

b)
Type make blaslib. The make command can be run more than once to add another data type to the library if necessary.

The BLAS library is created in LAPACK/blas_PLAT.a, where PLAT is the user-defined architecture suffix specified in the file LAPACK/make.inc.


next up previous contents
Next: Run the BLAS Test Up: Further Details of the Previous: Testing IEEE arithmetic and   Contents
Susan Blackford 2001-08-13