BLAS
Description
BLAS, the Basic Linear Algebra Subprograms, are portable and efficient routines that perform vector and matrix operations. The Level 1 BLAS do vector–vector operations, the Level 2 BLAS do matrix–vector operations, and the Level 3 BLAS do matrix–matrix operations. Because of their efficiency, BLAS routines are commonly used in the development of high-quality linear-algebra software such as LAPACK and LINPACK.
For more information, see the BLAS home page.
Use
Jaguar- The BLAS routines are contained in the AMD Core Math Library (ACML). ACML is part of a Portland Group (PGI) compiler module that is loaded by default as part of your default environment. For example, to compile and link your program (
file.corfile.f) using the BLAS libraries, use the following:ftn -o file file.f -lacmlor
cc -o file file.c -lacmlNote that explicitly specifying
-lacmlis not necessary.
Phoenix- CrayLibSci contains all the BLAS routines. LibSci is a module that is loaded by default as part of your default environment. You can see what other LibSci versions are available with
module avail. For example, to compile and link your program (file.corfile.f) using the BLAS libraries, use the following:ftn -o file file.f -lscior
cc -o file file.c -lsci
Note that explicitly specifying
-lsciis not necessary becauseftnlinks againstsciby default.