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

Has anyone recently built eigen blas and lapack on mingw64?

Tags: None
(comma "," separated)
matthewbrett
Registered Member
Posts
4
Karma
0
Hi,

We've been having a discussion over on the Numpy mailing list about what library to use for Windows 64 blas and lapack [1]. One option would obviously be Eigen.

I've been trying to compile blas and lapack Eigen in various ways using 64-bit Mingw compilers, but I have not got very far:

http://eigen.tuxfamily.org/bz/show_bug.cgi?id=775
http://eigen.tuxfamily.org/bz/show_bug.cgi?id=776

Can anyone share a recipe to compile Eigen blas and lapack on Windows with Mingw64?

Thanks a lot,

Matthew

[1] http://mail.scipy.org/pipermail/numpy-d ... 69707.html
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
You're probably the first one trying to compile our blas interface with mingw.
matthewbrett
Registered Member
Posts
4
Karma
0
With the fixes from the two bug reports I listed, I can build Eigen blas and lapack with the current mingw64 gcc 4.8.2 - thank you.

I was trying to link the output libraries with numpy, but I believe numpy needs the cblas C wrappers, because I am getting errors like "undefined reference to `cblas_z
dotc_sub'". Do you have any plans to add cblas wrappers?

Thanks a lot.
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
You're not the first one asking for a cblas interface so this might happen. Actually, I'm surprised that no generic cblas->blas wrapper exist yet, or at least I did not managed to find one.
User avatar
benoitsteiner
Registered Member
Posts
13
Karma
0
The code available at http://www.netlib.org/blas/blast-forum/cblas.tgz provides a CBLAS interface on top of any compliant BLAS library. It works well with the Eigen BLAS apis.


matthewbrett
Registered Member
Posts
4
Karma
0
Benoit - have you built an Eigen blas library with cblas ? Can you share a recipe?

Thanks a lot.


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]