Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

MKL + mingw

Mario_Rodriguez_Maya
782 Views
Hi,

I want to use MKL`s lapack & BLAS in my mingw project.

I use this libraries for 32 bits linking: mkl_intel_c_dll.lib, mkl_intel_thread_dll.lib, mkl_core_dll.lib. In 32b arquitecture, its enought adding this files names at the end of the g++ linking line.

But in 64 bits (using mingw-w64 project), it show me undefined references in all blas/lapack calls. I use:

-mkl_intel_lp64_dll.lib
-mkl_intel_thread_dll.lib
-mkl_core-dll.lib

It is possible to do? Maybe using dlltool/reimp or some tool similar?

Thanks in advance!
0 Kudos
1 Reply
Todd_R_Intel
Employee
782 Views
I haven't used mingw. Any successful users of mingw out there?

Perhaps it is a typo in your post that is not in your link line, but I note that you have a dash between 'core' and 'dll' (mkl_core-dll.lib) where you should have an underscore (mkl_core_dll.lib). That would of course make a difference.

Todd
0 Kudos
Reply