Compiling LAPACK 3.5.0 Shared libraries

Post here if you have a question about the installation process

Compiling LAPACK 3.5.0 Shared libraries

Postby gmarco » Tue Mar 11, 2014 10:11 am

Hello,

I've currently compiled LAPACK 3.5.0 static libraries without problems. However, I need to compile LAPACK shared libraries (this also includes BLAS) to install Lapack++.
I'm looking over the internet and the best tutorial I found is: http://theoryno3.blogspot.com.es/2010/1 ... ry-in.html, however it's not working for me with version 3.5.0.

Any help would be appreciated, I also would like to know if i'ts possible to build both static/shared libraries on same compilation. I'm asking this because after compiling LAPACK I need to install ATLAS (this requires lapack *.a static library to be compilled since I don't want ATLAS to automatically compile LAPACK because it just builds static libraries).

Thank you.

Best regards,
Guillermo.
gmarco
 
Posts: 1
Joined: Tue Mar 11, 2014 9:59 am

Re: Compiling LAPACK 3.5.0 Shared libraries

Postby admin » Tue Mar 11, 2014 11:13 am

Dear Guillermo,
I would use the cmake build for that, he should be able to compile either static or dynamic, and maybe both at the same time.
The LAPACK cmake build package is included in the LAPACK package.

Download cmake from cmake.org and follow instructions.
In the cmake interface, select the appropriate options (check BUILD_STATIC_LIB, and BUILD_SHARED_LIB)
Hope it helps
Julie
admin
Site Admin
 
Posts: 609
Joined: Wed Dec 08, 2004 7:07 pm

Re: Compiling LAPACK 3.5.0 Shared libraries

Postby marcomaggi » Sun Jun 01, 2014 6:57 am

You can try my GNU Autotools repackagings:
http://sourceforge.net/projects/atblas/
http://sourceforge.net/projects/atlapack/
which also install pkg-config files, making it easier to link.
marcomaggi
 
Posts: 7
Joined: Mon Feb 08, 2010 6:14 am


Return to Installation

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron