LAPACK is written in Fortran 90 and provides routines for solving systems of simultaneous linear equations, least-squares solutions of linear systems of equations, eigenvalue problems, and singular value problems.
Much of IT++ functionality is dependent on the facilities it imports from LAPACK. So this post is a follow-up to my previous post regarding IT++. In my opinion, and also in the opinions of the designers of IT++, it is a very important software. (inv() in IT++ won't work without LAPACK!!).
- Download the latest version of LAPACK from here.
 - untar it and cd into the directory that was created by untarring.
 - tar -xvf lapack-3.4.2
 - cd lapack-3.4.2
 - You will notice a file called make.inc.example. Copy that into another file and call it make.inc.
 - cp make.inc.example make.inc
 - There is a file called librefblas.a in lapack-3.4.2/BLAS/SRC
 - Copy the file to the current directory.
 - cp lapack-3.4.2/BLAS/SRC .
 - Open make.inc in the editor of choice (mine being vim) and edit the following line as shown:
 - BLASLIB = ../../librefblas.a  as
BLASLIB = <absolute path to this file> (eg: /home/user/Documents/lapack-3.4.2/librefblas) - Now enter make.
 
Your install should be successful.
No comments:
Post a Comment