This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Using LAPACK in Eigen

Tags: None
(comma "," separated)
malsharif
Registered Member
Posts
9
Karma
0

Using LAPACK in Eigen

Tue Apr 14, 2015 2:00 pm
Hi there,

I am building a project using Eigen in C++ Eclipse. I have been trying to figure out how to use LAPACK in Eigen but I didn't go far, I searched the web but I almost found nothing. The only references I found are:

1) LAPACK-Eigen: http://eigen.tuxfamily.org/index.php?title=Lapack
2) LAPACK build and test guide: https://gcc.gnu.org/testing/testing-lapack.html

Neither of them was useful for me, I have no experience with that and they are very brief on the other hand. I would deeply appreciate any help or if anyone could point me to a nice tutorial.

Many thanks
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: Using LAPACK in Eigen

Wed Apr 15, 2015 7:50 am
I never used Eclipse but if you are using Eclipse both as an IDE and to manage the compilation, then you have to add 'lapack' and 'blas' to the project options after installing them, like "$ apt-get install blas lapack". If you are using cmake to handle the compilation, then find_package(LAPACK) is your friend.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]