Page 1 of 1

Blas and Lapack C interface

PostPosted: Mon Aug 19, 2013 8:02 am
by martinv
Hello,

is there some package that provides netlib blas and lapack together with their C interfaces? Lapacke is very nice, but I would like to have Lapacke and Cblas in one, preferably as shared libraries ...

If such a package is not available, I'll just do with separate compilation of Lapacke and Cblas. However, the makefile provided in the Cblas package generates only a static library. Could someone please provide an example how to compile Cblas as a static lib?

Thank you very much,

Martin Vymazal

Re: Blas and Lapack C interface

PostPosted: Mon Aug 04, 2014 6:26 pm
by admin
You can get LAPACKE shared library by enable the SHARED library option on CMAKE.

Here is the way to generate a SHARED library
http://www.cprogramming.com/tutorial/sh ... x-gcc.html

So just hack the Makefile.in, Makefile to change the name to your library
Here is how it was done on LAPACK - viewtopic.php?f=7&t=908

Hope it helps