Jump to my Home Page Send me a message Check out stuff on GitHub Check out my photography on Instagram Check out my profile on LinkedIn Check me out on Facebook

Example BLAS/LAPACK Programs

You will find several simple examples of programs to get you started with the BLAS and LAPACK APIs commonly used for scientific programming tasks. The makefile is here.

BLAS

blas1C.c blas1F.f
Simple examples of some of the level 1 BLAS functions
blas2C.c blas2F.f
Simple examples of some of the level 2 BLAS functions.
blas2bC.c
This is the same as blas2C.c, but uses Fortran-style column major order.
blas3C.c blas3F.f
Simple examples of some of the level 3 BLAS functions (with row/column order options in the CBLAS).

LAPACK

slvSysC.c slvSysF.f
Solving a simple linear system.
triSlvF.f
Solving a triangular linear system.
symEig.f
Finding the eigenvalues of a symmetric matrix.

BLAIO (Basic Linear Algebra I/O)

blaio.c blaio.h
Simple I/O operations handy for example programs (C version)
blaio.f
Simple I/O operations handy for example programs (Fortran version)
© 2009 Mitch Richling