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

Do library files need to stay in their intel specified directory?

Jason_Jones1
Beginner
444 Views
I want to move three library files to a directory away from the rest of my intel mkl install to make it part of a project that is under svn control. Can I do this or does the entire library need to stay together?
0 Kudos
1 Reply
Ying_H_Intel
Moderator
444 Views
Quoting - Jason Jones
I want to move three library files to a directory away from the rest of my intel mkl install to make it part of a project that is under svn control. Can I do this or does the entire library need to stay together?

Hi Jason,

If you are calling MKL static library (for example, mkl_intel_c.lib mkl_sequential.lib mkl_core.lib), then it should be ok to move part of them to a directory of project

If you are calling MKL dynamic library (for example, mkl_intel_c_dll.lib mkl_sequential_dll.lib mkl_core_dll.lib), as mkl dynamic library are loading at run time and willdependy on othe dll library in the MKL"bin" directory (for example, mkl_core_dll.lib, will load mkl_core.dll ormkl_def.dll according to your cpu type).In technical point of view, it is ok to move part of mkl dll library, ifyou know the requireddlls and the run-time environment. But for safe purpose, it is better to move all dynamic library into the directory in your project.

Here is MKL link adviser for your reference: IntelMath Kernel Library Link Line Advisor

Regards,
Ying
0 Kudos
Reply