Community
cancel
Showing results for 
Search instead for 
Did you mean: 
schulzey
New Contributor I
170 Views

Distributing MKL libraries

I know this topic has come up before, but I can't see that anyone has found a satisfactory resolution to it.

Is there any progress on finding out exactly which MKL libraries I need to distribute with my application so that it will run on all the different types of hardware that my clients might have? Some people have suggested using Dependency Walker, but my understanding is that it doesn't identify the DLLs that are linked at run time, plus it only identifies the ones that apply to my particular hardware.

I am only using two MKL routines (Pardiso and DFeast_scsrgv). Does anyone have a solution?

Regards,
Peter

 

0 Kudos
7 Replies
Gennady_F_Intel
Moderator
170 Views

Peter,

You can build custom dll  and distribute this dll with your applications. it would contains all optimizationns for these specific routines for all latest IA. You can find description how to build this custom dll into User's Guide - Building Custom Dynamic-link Libraries.

or

distribute all dll from redist folders.  

--Gennady

 

schulzey
New Contributor I
170 Views

Thanks, but my primary aim is to minimize the total size of the MKL dlls I have to distribute and so I would like to find out exactly which ones are required rather than distributing them all. Creating a custom dll would be handy but I would like to minimize its size by just including the dlls I need.

Peter

Gennady_F_Intel
Moderator
170 Views

That exactly what custom dll does. You will have only one dll instead on many items from redist folder. MKL doesn't provide the list of dll you need for redistribution due to a lot internal dependencies.

schulzey
New Contributor I
170 Views

So does the custom dll contain all the MKL dlls from redist or just the ones that my MKL functions (Pardiso and DFeast_scsrgv in my case) need?

Gennady_F_Intel
Moderator
170 Views

yes, it will contain

Ying_H_Intel
Employee
170 Views

Add one piece : 

We had some articles earlier on the linkage and distribution  but seems be archived as low views. I create a new one article to address this. Please see Intel® Math Kernel Library (Intel MKL) Linkage and Distribution - Quick Reference Guide

The article describes various types of linkage models offering in Intel® Math Kernel Library (Intel MKL) and which Intel MKL libraries are required to be distributed by developers with applications

Best Regards,

Ying 

schulzey
New Contributor I
170 Views

Thanks Ying, I will try it out.

Peter

Reply