Quantcast
Viewing all articles
Browse latest Browse all 3005

Setting the MKL dist dlls path, for the single dynamic library

Hi,

In Windows, the mkl_rt.dll searches for the MKL dlls it needs in the PATH env variable. Is there other way besides setting the PATH to tell the  mkl_rt.dll  where the MKL dlls resides.

The motivation for this is to prevent dll hell i.e. if we deliver a software that was developed against MKL version X.XX and we deliver the corresponding dist dlls, but on  a user machine, exists another version of MKL, which is defined in the PATH before ours , the wrong version will be used. What is the solution for this scenario.

(Loading the correct mkl_rt.dll is not a problem using the SetDllDirectory windows API , but its not good for telling the mkl_rt.dll where to look).

Thanks

Eran 


Viewing all articles
Browse latest Browse all 3005

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>