Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
17 Views

XE2017/VS2015 Link Error - MKL_SET_CPU_FREQUENCY

New install, upgraded from 11.1.  Build is successful, seem to have the initial integration issue of missing linker options resolved;  Project settings for Fortran and linker look as expected but getting the following link error (no others and I'm using large number 3rd party libraries (GINO))

Error  error LNK2019: unresolved external symbol _MKL_SET_CPU_FREQUENCY referenced in function _SVTIMER_mp_SVTTINIT  svModules.obj 

The Sequential (/Qmkl:sequential) option is set.

 

 

0 Kudos
3 Replies
Highlighted
Black Belt
17 Views

That function no longer exists in MKL. See https://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-whats-deprecated , where it says this about MKL 11.2:

Function void MKL_SET_CPU_FREQUENCY (double*) is removed as it was a dummy function

0 Kudos
Highlighted
Beginner
17 Views

mecej4 wrote:

That function no longer exists in MKL. See https://software.intel.com/en-us/articles/intel-math-kernel-library-inte... , where it says this about MKL 11.2:

Function void MKL_SET_CPU_FREQUENCY (double*) is removed as it was a dummy function

That's odd, the documentation I had indicated that it wasn't a dummy function and I was actively using it to try to force some behavior (that I didn't document well).  Very strange.

0 Kudos
Highlighted
Black Belt
17 Views

Note, in addition, that if by "11.1" you mean the old compiler version that you have, the MKL version that came with it had a version number of 10.x. A table with such information exists ( https://software.intel.com/en-us/articles/which-version-of-the-intel-ipp-intel-mkl-and-intel-tbb-lib... ), but it does not go back in time far enough. Your old MKL version was probably 10.2 or less. There have been lots of changes to the way the MKL libraries are packaged and the method of linking them to your code. You will find the MKL Link Line Advisor ( https://software.intel.com/sites/products/mkl/MKL_Link_Line_Advisor%2B%2B.html ) very helpful and convenient.

0 Kudos