Install CBLAS in Ubuntu & Cygwin

CBLAS is C interface to the BLAS library.

* * *

Ubuntu Installation instructions:

BLAS must be installed first.

The instructions for BLAS are given at:
Generalized Eigenvalue Problem & BLAS

Next,

wget http://www.netlib.org/blas/blast-forum/cblas.tgz

tar zxf cblas.tgz

Go to CBLAS folder.

Open Makefiles.in in a text editor.

Modify this line in Makefiles.in

BLLIB = (specify path)/BLAS/blas_LINUX.a

make all

* * *

The Cygwin installation is similar except that the following is needed in Makefiles.in

BLLIB = C:/cygwin/lib/libblas.a

* * *

Tom Irvine

2 thoughts on “Install CBLAS in Ubuntu & Cygwin

  1. Pingback: Matrix Multiplication in BLAS « Vibrationdata

Leave a comment