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

Any mistake in library link?

Zhanghong_T_
Novice
292 Views
Dear administrator,

I am trying to link the following libraries in my program:
mkl_intel_c.lib
mkl_intel_thread.lib
mkl_core.lib
libiomp5mt.lib
impimt.lib
impicxx.lib
mkl_scalapack_core.lib
mkl_blacs_intelmpi.lib

The runtime library of my program is Multi-threaded (/MT) and the environment of my program is:
Win7 x64 + VS2008 + IVF 11.1.065 + MPI 4.0.0.012.

When linking the program, the following libraries are also needed:
ifconsol.lib
ifwin.lib
libifcoremt.lib
libifport.lib
libiomp5md.lib (since I have specified libiomp5mt.lib, why this file is also needed?)
libirc.lib (why not libircmt.lib?)
libmmt.lib
svml_disp.lib (why not svml_dispmt.lib?)

I think there are some problems for the needed libraries (see above). Could you please tell me what's the problem of the libraries I specified to link my program?


Thanks,
Zhanghong Tang

0 Kudos
2 Replies
Naveen_G_Intel
Employee
292 Views

Hi,

Please refer to Intel MKL Link line advisor to verify your application linking libraries.

http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/

Thanks,

Naveen Gv

0 Kudos
mecej4
Honored Contributor III
292 Views
Please check if any of the objects you link were produced with an option other than /MT, or try doing a clean-and-rebuild.
0 Kudos
Reply