<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Which dlls to redistribute together with a .NET app? in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Which-dlls-to-redistribute-together-with-a-NET-app/m-p/981632#M17481</link>
    <description>&lt;P&gt;I am using MKL for a C# program, via dllimport. I only use its BLAS functionality and want to minimize the number of dependent DLLs that come with BLAS.&lt;/P&gt;
&lt;P&gt;How do I select the right DLLs to redistribute together with my C# program?&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Mar 2013 20:27:35 GMT</pubDate>
    <dc:creator>zer0nes</dc:creator>
    <dc:date>2013-03-26T20:27:35Z</dc:date>
    <item>
      <title>Which dlls to redistribute together with a .NET app?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Which-dlls-to-redistribute-together-with-a-NET-app/m-p/981632#M17481</link>
      <description>&lt;P&gt;I am using MKL for a C# program, via dllimport. I only use its BLAS functionality and want to minimize the number of dependent DLLs that come with BLAS.&lt;/P&gt;
&lt;P&gt;How do I select the right DLLs to redistribute together with my C# program?&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2013 20:27:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Which-dlls-to-redistribute-together-with-a-NET-app/m-p/981632#M17481</guid>
      <dc:creator>zer0nes</dc:creator>
      <dc:date>2013-03-26T20:27:35Z</dc:date>
    </item>
    <item>
      <title>Hi, we have created a</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Which-dlls-to-redistribute-together-with-a-NET-app/m-p/981633#M17482</link>
      <description>&lt;P&gt;Hi, we have created a resource that should completely answer your question and possible follow-ups! Please let me know if anything is unclear from the following article.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://software.intel.com/en-us/articles/some-more-additional-tips-how-to-call-mkl-from-your-c-code"&gt;http://software.intel.com/en-us/articles/some-more-additional-tips-how-to-call-mkl-from-your-c-code&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2013 21:44:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Which-dlls-to-redistribute-together-with-a-NET-app/m-p/981633#M17482</guid>
      <dc:creator>Noah_C_Intel</dc:creator>
      <dc:date>2013-03-26T21:44:52Z</dc:date>
    </item>
    <item>
      <title>I followed this article: http</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Which-dlls-to-redistribute-together-with-a-NET-app/m-p/981634#M17483</link>
      <description>&lt;P&gt;I followed this article:&amp;nbsp;http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/, and also the article that you provided.&lt;/P&gt;
&lt;P&gt;I'm using MKL 10.3, so according to the article, I should use&amp;nbsp;DllImport("mkl_rt")&lt;/P&gt;
&lt;P&gt;When I tried dumpbin /references mkl_rt.dll, this is what I get&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;dumpbin /DEPENDENTS mkl_rt.dll&lt;BR /&gt;Microsoft (R) COFF/PE Dumper Version 11.00.51106.1&lt;BR /&gt;Copyright (C) Microsoft Corporation. All rights reserved.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Dump of file mkl_rt.dll&lt;/P&gt;
&lt;P&gt;File Type: DLL&lt;/P&gt;
&lt;P&gt;Image has the following dependencies:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;msvcrt.dll&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; KERNEL32.dll&lt;/STRONG&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I don't know much about single dynamic library (which mkl_rt.dll is), but I think that in order to use MKL's BLAS, I need at least the following dlls:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;mkl_core.dll&lt;/LI&gt;
&lt;LI&gt;mkl_blacs_*.dll&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Is it the case that dumpbin doesn't work on SDL?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2013 23:35:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Which-dlls-to-redistribute-together-with-a-NET-app/m-p/981634#M17483</guid>
      <dc:creator>zer0nes</dc:creator>
      <dc:date>2013-03-26T23:35:00Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Which-dlls-to-redistribute-together-with-a-NET-app/m-p/981635#M17484</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Really, you can’t see MKL dependencies with dumpbin for mkl_rt.dll.&lt;/P&gt;
&lt;P&gt;It has been developed to dynamically select the interface and threading layer for Intel MKL.&lt;BR /&gt;So different libraries could be linked depending on certain parameters setting – via environment macros or function calls.&lt;/P&gt;
&lt;P&gt;I think you’d better build custom dll which includes only required stuff (see documentation and %MKL_ROOT%\mkl\tools\builder).&lt;BR /&gt;It allows to minimize the size of MKL redistributables.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;&amp;nbsp;Vladimir&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2013 10:57:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Which-dlls-to-redistribute-together-with-a-NET-app/m-p/981635#M17484</guid>
      <dc:creator>Vladimir_Koldakov__I</dc:creator>
      <dc:date>2013-03-28T10:57:23Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;...How do I select the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Which-dlls-to-redistribute-together-with-a-NET-app/m-p/981636#M17485</link>
      <description>&amp;gt;&amp;gt;...How do I select the right DLLs to redistribute together with my C# program?

&lt;STRONG&gt;1.&lt;/STRONG&gt; You could try to use &lt;STRONG&gt;MS Depends&lt;/STRONG&gt; but unfortunately it wont display DLLs loaded at run-time using &lt;STRONG&gt;LoadLibrary&lt;/STRONG&gt; or &lt;STRONG&gt;LoadLibraryEx&lt;/STRONG&gt; Win32 API functions.

&lt;STRONG&gt;2.&lt;/STRONG&gt; You could also start your application under VS Debugger then do some processing and close the application. After that take a look at the &lt;STRONG&gt;Output Window&lt;/STRONG&gt; and find all loaded &lt;STRONG&gt;MKL&lt;/STRONG&gt; DLLs.</description>
      <pubDate>Thu, 28 Mar 2013 13:44:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Which-dlls-to-redistribute-together-with-a-NET-app/m-p/981636#M17485</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-03-28T13:44:13Z</dc:date>
    </item>
    <item>
      <title>Thanks. Will try your</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Which-dlls-to-redistribute-together-with-a-NET-app/m-p/981637#M17486</link>
      <description>&lt;P&gt;Thanks. Will try your suggestions.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2013 21:25:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Which-dlls-to-redistribute-together-with-a-NET-app/m-p/981637#M17486</guid>
      <dc:creator>zer0nes</dc:creator>
      <dc:date>2013-03-29T21:25:14Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;&gt;&gt;...take a look at the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Which-dlls-to-redistribute-together-with-a-NET-app/m-p/981638#M17487</link>
      <description>&amp;gt;&amp;gt;&amp;gt;&amp;gt;...take a look at the &lt;STRONG&gt;Output Window&lt;/STRONG&gt; and find all loaded MKL DLLs...
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;Thanks. Will try your suggestions.

In case of any problems please post the output from the &lt;STRONG&gt;Output Window&lt;/STRONG&gt; for review.</description>
      <pubDate>Fri, 29 Mar 2013 22:35:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Which-dlls-to-redistribute-together-with-a-NET-app/m-p/981638#M17487</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-03-29T22:35:46Z</dc:date>
    </item>
  </channel>
</rss>

