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

unresolved external symbol _mkl_solver_pardiso in _PARDISO

omaralvi
Beginner
418 Views

Hi, I am new to intel math kernel library. I wanted to use PARDISO to solve sparse symetric linear systems. I have been trying to compile and run the PARDISO C example that comes with Math Kernel Library but it gives me the following linking error:

error LNK2019: unresolved external symbol _mkl_solver_pardiso referenced in function _PARDISO

I am using MSVC 2005 and Math Kernel Library 10.0.4 and I am linking my program against the following lib files.

mkl_c.lib libguide.lib mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib libiomp5mt.lib

but I still get the linking error. I would really appreciate if someone can help me resolve this problem.

Thanks.

0 Kudos
1 Reply
Sergey_K_Intel1
Employee
418 Views

It should be noted that one important library, namely, mkl_solver.lib is missed in your linking line. For MKL 10 you should use the following sequence of libraries for static linking

mkl_solver.lib mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib libguide40.lib

or

mkl_solver.lib mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib

All the best

Sergey

0 Kudos
Reply