BLAS
Overview
The Basic Linear Algebra System (BLAS) are high quality "building block"
routines for performing basic vector and matrix operations. Level 1 BLAS
provide vector-vector operations, Level 2 BLAS provide matrix-vector
operations, and Level 3 BLAS provide matrix-matrix operations. Note
that this is the BLAS reference package and is very slow. It is
recommended to use faster BLAS libraries such as ATLAS where available.
Setup
There is no setup needed for this software package.
Usage
BLAS provides the file blas_LINUX.a, which is the main BLAS library for
providing low-level routines for all of the interface libraries.
To compile a file using the BLAS libraries, these special flags are
required:
|
-L/usr/global/blas -lblas_LINUX
|
Examples
To compile a file called foo.c with the BLAS libraries and routines into
an executable called foo using the C compiler gcc, issue the following
command:
|
gcc foo.c -L/usr/global/blas -lblas_LINUX -o foo
|
Documentation
Documentation for BLAS can be found at the BLAS home page: http://www.netlib.org/blas/index.html
Please send questions or suggestions about this web page to beatnic@aset.psu.edu
ASET | ITS | Penn State
|