<?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 How redistribute Intel MKL in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-redistribute-Intel-MKL/m-p/1471421#M34401</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;we are planing to release an application made in C#, But the internal&amp;nbsp;&lt;SPAN&gt;algorithms is written in C++ that is using some functions of MKL. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I installed Intel MKL. Then I wrap the C++ code with MKL DLL in Visual Studio. I can run the program that the&amp;nbsp; necessary MKL DLL and my DLL&amp;nbsp;are included in the executable directory&amp;nbsp;in other project.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;However, the DLLs cannot run in C# or C++ project if the windows system does not install Intel MKL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I release the application, how do I handle the MKL DLL so that others can use the application process without installing Intel MKL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Mar 2023 05:56:25 GMT</pubDate>
    <dc:creator>Renee</dc:creator>
    <dc:date>2023-03-30T05:56:25Z</dc:date>
    <item>
      <title>How redistribute Intel MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-redistribute-Intel-MKL/m-p/1471421#M34401</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;we are planing to release an application made in C#, But the internal&amp;nbsp;&lt;SPAN&gt;algorithms is written in C++ that is using some functions of MKL. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I installed Intel MKL. Then I wrap the C++ code with MKL DLL in Visual Studio. I can run the program that the&amp;nbsp; necessary MKL DLL and my DLL&amp;nbsp;are included in the executable directory&amp;nbsp;in other project.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;However, the DLLs cannot run in C# or C++ project if the windows system does not install Intel MKL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I release the application, how do I handle the MKL DLL so that others can use the application process without installing Intel MKL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 05:56:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-redistribute-Intel-MKL/m-p/1471421#M34401</guid>
      <dc:creator>Renee</dc:creator>
      <dc:date>2023-03-30T05:56:25Z</dc:date>
    </item>
    <item>
      <title>Re:How redistribute Intel MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-redistribute-Intel-MKL/m-p/1472451#M34408</link>
      <description>&lt;P&gt;Hi Renxiu,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;I installed Intel MKL&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Could you please provide the Intel MKL version you are using?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Praneeth Achanta&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Apr 2023 07:00:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-redistribute-Intel-MKL/m-p/1472451#M34408</guid>
      <dc:creator>PraneethA_Intel</dc:creator>
      <dc:date>2023-04-03T07:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Re:How redistribute Intel MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-redistribute-Intel-MKL/m-p/1472470#M34409</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;SPAN&gt;Praneeth,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thank you very much for your support. I&amp;nbsp; am using the one MKL 2023.0.0 and I write the project in Visual studio 2022.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I retested this DLL. there are two difference&amp;nbsp;&lt;SPAN&gt;results:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;system 1:&amp;nbsp;&lt;/FONT&gt; It can be run on windows system without MKL installed and the results are correct.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;system 2:&lt;/FONT&gt;&amp;nbsp; It can run on other windows system&amp;nbsp;without MKL installed, however, the results are not corret.&amp;nbsp;After checking, it is because the result of the MKL function&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;LAPACKE_sgelsd&lt;/STRONG&gt; &lt;/EM&gt;is incorrect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Whether or not to run MKL function requires some special files, which happened to be installed on the &lt;FONT color="#339966"&gt;system 1&lt;/FONT&gt;, so it can run correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Renxiu&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 07:55:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-redistribute-Intel-MKL/m-p/1472470#M34409</guid>
      <dc:creator>Renee</dc:creator>
      <dc:date>2023-04-03T07:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: How redistribute Intel MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-redistribute-Intel-MKL/m-p/1472908#M34412</link>
      <description>&lt;P&gt;Hi Renxiu,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for providing the details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please cross-verify if the MKL DLLs being used by you in both of your systems were generated from the same version of oneMKL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please get back to us with the environmental details of both systems?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition, if you need any help you could go through the below link for any licensing-related FAQ's which might help you.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/developer/articles/tool/onemkl-license-faq.html" target="_blank" rel="noopener noreferrer"&gt;https://www.intel.com/content/www/us/en/developer/articles/tool/onemkl-license-faq.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and Regards,&lt;/P&gt;
&lt;P&gt;Praneeth Achanta&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 08:36:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-redistribute-Intel-MKL/m-p/1472908#M34412</guid>
      <dc:creator>PraneethA_Intel</dc:creator>
      <dc:date>2023-04-10T08:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Re:How redistribute Intel MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-redistribute-Intel-MKL/m-p/1474749#M34433</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Praneeeth,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much for providing me with the details about the license.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm pretty sure that the MKL DLLs used by both systems is the same version because I only have one version of MKL.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm already confused. I have uninstalled MKL on my computer and the DLLs can run correctly, although I still do not know which DLLs need to be included in the program,&amp;nbsp;&lt;SPAN&gt;except &lt;EM&gt;mkl_*.dll&lt;/EM&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It will take some time to sort these out, I'll update here if there is any progress. If you have it too, please let me know, thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Wishes&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Renxiu&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 01:17:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-redistribute-Intel-MKL/m-p/1474749#M34433</guid>
      <dc:creator>Renee</dc:creator>
      <dc:date>2023-04-10T01:17:27Z</dc:date>
    </item>
    <item>
      <title>Re:How redistribute Intel MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-redistribute-Intel-MKL/m-p/1474872#M34437</link>
      <description>&lt;P&gt;Hi Renxiu,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;As per our understanding, the DLLs run correctly even without Intel MKL installed. Could you please elaborate a bit, as it helps us analyze your issue better?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;According to the requirements of your application, you could also try to generate custom DLLs by following the below guide.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/docs/onemkl/developer-guide-windows/2023-0/building-custom-dynamic-linked-shared-libraries.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/docs/onemkl/developer-guide-windows/2023-0/building-custom-dynamic-linked-shared-libraries.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Praneeth Achanta&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Apr 2023 11:07:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-redistribute-Intel-MKL/m-p/1474872#M34437</guid>
      <dc:creator>PraneethA_Intel</dc:creator>
      <dc:date>2023-04-10T11:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Re:How redistribute Intel MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-redistribute-Intel-MKL/m-p/1475249#M34442</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;SPAN&gt;Praneeth,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks for providing me with guidance on how to build a custom DLLs.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I may have found the cause of this issue!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did some testing with a virtual machine. There are two cases in C# project using my C++ DLLs without MKL installed:&lt;/P&gt;
&lt;P&gt;1. VS pro 2015,&amp;nbsp;No C++ environment installed, only C#: it can not run;&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp;VS pro 2015, Both C++ and C# are installed: it can run correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe there need some C++ environment when C# project uses the DLL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The details of my project is following:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I use MKL function&amp;nbsp;&lt;EM class="sub_section_element_selectors"&gt;&lt;STRONG class="sub_section_element_selectors"&gt;LAPACKE_sgelsd&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;in Visual Studio Professional 2022 and t&lt;/SPAN&gt;he below picture shows the details:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Renee_0-1681180970002.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/40098i5922F2FAAA2B0757/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Renee_0-1681180970002.png" alt="Renee_0-1681180970002.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then the project is wrapped in&amp;nbsp;&lt;SPAN&gt;dynamic linking&lt;/SPAN&gt; including&lt;/P&gt;
&lt;P&gt;head files :&lt;FONT color="#800000"&gt; mkl_lapacke.h,&amp;nbsp;mkl_service.h,&amp;nbsp;mkl_types.h,&amp;nbsp;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#800000"&gt;&lt;FONT color="#000000"&gt;DLLs:&amp;nbsp;&lt;FONT color="#800000"&gt;mkl_avx.2.dll,&amp;nbsp;mkl_avx2.2.dll,&amp;nbsp;mkl_core.2.dll,&amp;nbsp;mkl_sequential.2.dll &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT style="color: #800000;" color="#800000"&gt;&lt;FONT color="#000000"&gt;and libs:&lt;/FONT&gt;&amp;nbsp;mkl_core.lib,&amp;nbsp;mkl_intel_ilp64.lib,&amp;nbsp;mkl_sequential.lib&lt;/FONT&gt;&lt;FONT&gt;.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT&gt;The threading layer is selected with Sequential in VS2022.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;Best Wishes,&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;Renxiu&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 08:08:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-redistribute-Intel-MKL/m-p/1475249#M34442</guid>
      <dc:creator>Renee</dc:creator>
      <dc:date>2023-04-11T08:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: How redistribute Intel MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-redistribute-Intel-MKL/m-p/1475289#M34443</link>
      <description>&lt;P&gt;Hi Renxiu,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;I may have found the cause of this issue!&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Thanks for sharing the root cause with us. We assume that you were able to run your application successfully with the C++ and C# environments installed in your systems mentioned earlier.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kindly let us know if you need any other information or if we could close this case at our end.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and Regards,&lt;/P&gt;
&lt;P&gt;Praneeth Achanta&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 09:58:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-redistribute-Intel-MKL/m-p/1475289#M34443</guid>
      <dc:creator>PraneethA_Intel</dc:creator>
      <dc:date>2023-04-11T09:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: How redistribute Intel MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-redistribute-Intel-MKL/m-p/1475616#M34449</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="sub_section_element_selectors"&gt;Praneeeth,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="sub_section_element_selectors"&gt;Thank you for help.&amp;nbsp;I don't have any more questions at the moment.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;Best Wishes,&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;Renxiu&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 01:03:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-redistribute-Intel-MKL/m-p/1475616#M34449</guid>
      <dc:creator>Renee</dc:creator>
      <dc:date>2023-04-12T01:03:26Z</dc:date>
    </item>
    <item>
      <title>Re:How redistribute Intel MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-redistribute-Intel-MKL/m-p/1475679#M34450</link>
      <description>&lt;P&gt;Hi Renxiu,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; &lt;EM&gt;I don't have any more questions at the moment.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Thank you for confirming. Glad your issue was resolved. This thread will no longer be monitored by Intel. If you need any further assistance, please post a new question.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Praneeth Achanta&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Apr 2023 05:51:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-redistribute-Intel-MKL/m-p/1475679#M34450</guid>
      <dc:creator>PraneethA_Intel</dc:creator>
      <dc:date>2023-04-12T05:51:51Z</dc:date>
    </item>
  </channel>
</rss>

