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

MKL support on Windows?

Tags: None
(comma "," separated)
rorymullan
Registered Member
Posts
3
Karma
0

Re: MKL support on Windows?

Wed Jun 06, 2012 7:03 pm
Im experiancing the same problem as noted above with latest version of MKL and VS2010.

Code: Select all
1>  ***** ClCompile (Win32 - Intel C++)
1>  stdafx.cpp
1>  eee.cpp
1>C:\libraries\eigen-eigen-304c88ca3aff\Eigen/src/Core/Assign_MKL.h(210): error : identifier "vmspowx_" is undefined
1>    EIGEN_MKL_VML_DECLARE_POW_CALL(pow, vmspowx_, float, float)
1>    ^
1> 
1>C:\libraries\eigen-eigen-304c88ca3aff\Eigen/src/Core/Assign_MKL.h(211): error : identifier "vmdpowx_" is undefined
1>    EIGEN_MKL_VML_DECLARE_POW_CALL(pow, vmdpowx_, double, double)
1>    ^
1> 
1>C:\libraries\eigen-eigen-304c88ca3aff\Eigen/src/Core/Assign_MKL.h(212): error : identifier "vmcpowx_" is undefined
1>    EIGEN_MKL_VML_DECLARE_POW_CALL(pow, vmcpowx_, scomplex, MKL_Complex8)
1>    ^
1> 
1>C:\libraries\eigen-eigen-304c88ca3aff\Eigen/src/Core/Assign_MKL.h(213): error : identifier "vmzpowx_" is undefined
1>    EIGEN_MKL_VML_DECLARE_POW_CALL(pow, vmzpowx_, dcomplex, MKL_Complex16)
1>    ^
sullyf
Registered Member
Posts
8
Karma
0
OS

Re: MKL support on Windows?

Thu Jun 14, 2012 12:27 am
I am having the exact same problem as the previous gentleman:

Code: Select all
c:\lib_eigen-3.1.0-beta1_universal\include\eigen\src/Core/Assign_MKL.h(212) : error C3861: 'vmspowx_': identifier not found
c:\lib_eigen-3.1.0-beta1_universal\include\eigen\src/Core/Assign_MKL.h(213) : error C3861: 'vmdpowx_': identifier not found
c:\lib_eigen-3.1.0-beta1_universal\include\eigen\src/Core/Assign_MKL.h(214) : error C3861: 'vmcpowx_': identifier not found
c:\lib_eigen-3.1.0-beta1_universal\include\eigen\src/Core/Assign_MKL.h(215) : error C3861: 'vmzpowx_': identifier not found


This happen with cl.exe from Visual Studio 2010 using MKL version 10.3 downloaded today.

HINT: if I use the include files from the MKL 10.3 linux version I downloaded 2 months ago. It works... no missing function!

Unfortunately I could not find what would cause the missing symbol with the latest MKL version... I have been looking all around both set of include files, and could not really find any difference around the missing wm*powx functions.

Could someone from Eigen take a look at this weird problem? Note that this thread has more than 1000 views... I assume a lot of "silent" people are having this same exact problem :(
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: MKL support on Windows?

Thu Jun 14, 2012 7:40 am
It seems to be a MKL issue. I propose to disable these pow function on windows, and I'll report to MKL guys.
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: MKL support on Windows?

Thu Jun 14, 2012 7:41 am
Also, can someone confirm that these pow functions are the only issue on windows to use MKL?
sullyf
Registered Member
Posts
8
Karma
0
OS

Re: MKL support on Windows?

Thu Jun 14, 2012 1:49 pm
ggael, thx for the rapid reponse.

As far as I am concerned, the pow function is the only issue I am having so far with latest beta and MKL.

How do you suggest disabling those functions on Windows?

Thanks again for the great work.

S
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: MKL support on Windows?

Thu Jun 14, 2012 3:14 pm
I committed a fix, so you can just grab the devel branch: http://bitbucket.org/eigen/eigen/get/default.zip

gael
sullyf
Registered Member
Posts
8
Karma
0
OS

Re: MKL support on Windows?

Sat Aug 18, 2012 9:55 pm
ggael,

I just gave a try on windows (I am mostly on linux 90%) with latest version 3.1.1. Seems like this problem is still here, probably because of a very small bug.

I guess you tried to solve the previously mentioned problem by using macros. Here is the code as of 3.1.1:

Code: Select all
// The vm*powx functions are not avaibale in the windows version of MKL.
#ifdef _WIN32
EIGEN_MKL_VML_DECLARE_POW_CALL(pow, vmspowx_, float, float)
EIGEN_MKL_VML_DECLARE_POW_CALL(pow, vmdpowx_, double, double)
EIGEN_MKL_VML_DECLARE_POW_CALL(pow, vmcpowx_, scomplex, MKL_Complex8)
EIGEN_MKL_VML_DECLARE_POW_CALL(pow, vmzpowx_, dcomplex, MKL_Complex16)
#endif


I assume it should have been #ifndef instead of #ifdef.

Thanks anyway!


S
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: MKL support on Windows?

Mon Aug 27, 2012 11:14 am
oops!
ctejeda
Registered Member
Posts
1
Karma
0

Re: MKL support on Windows?

Fri Aug 09, 2013 8:36 am
I had to disable it in windows AND linux. In linux it gave me segfaults.


Bookmarks



Who is online

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