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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s