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

How to include eigen lapack/blas?

Tags: None
(comma "," separated)
trrrigo
Registered Member
Posts
13
Karma
0

How to include eigen lapack/blas?

Wed May 02, 2012 8:42 am
Hi,
I'm converting a library that used MKL with Eigen and it has some Blas/Lapack functions.
I tried to include lapack_common.h which include blas_common.h but it always return me an error because of the definition of the type SCALAR.
I think it means it's not the right file to include so which one is it please?
Thanks
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
You can find the blas prototypes in Eigen/src/misc/blas.h, but we don't provide an equivalent for lapack. BLAS/Lapack interfaces are standard so you can just use the standard prototypes.
trrrigo
Registered Member
Posts
13
Karma
0
Sorry I can't find it (in eigen 3.0.5). There is a blas.h in bench\btl\libs\C_BLAS which is included by blas_common.h but as I said I have problems with typedef SCALAR. When I include blas.h directly it doesn't work because of BLAS_FUNC I think.
Thanks anyway.


Bookmarks



Who is online

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