Blas and Lapack C interface

Post here if you have a question about the installation process

Blas and Lapack C interface

Postby martinv » Mon Aug 19, 2013 8:02 am

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
martinv
 
Posts: 4
Joined: Mon May 30, 2011 5:42 pm

Re: Blas and Lapack C interface

Postby admin » Mon Aug 04, 2014 6:26 pm

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
admin
Site Admin
 
Posts: 512
Joined: Wed Dec 08, 2004 7:07 pm


Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest