<?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 Re:some issues when building custom mkl dlls in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/some-issues-when-building-custom-mkl-dlls/m-p/1552605#M35581</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;A gentle reminder:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you kindly share a sample reproducer along with the details of the OS? This will enable us to replicate and conduct a more thorough investigation on our end.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jilani&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 11 Dec 2023 13:09:42 GMT</pubDate>
    <dc:creator>JilaniS_Intel</dc:creator>
    <dc:date>2023-12-11T13:09:42Z</dc:date>
    <item>
      <title>some issues when building custom mkl dlls</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/some-issues-when-building-custom-mkl-dlls/m-p/1545198#M35454</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As the mkl library's size is too large, I want to find a way to reduce its size and then include it into my application.&lt;/P&gt;&lt;P&gt;I searched previous articles, and found I can try to build a custom dll following&amp;nbsp;&lt;A href="https://www.intel.com/content/www/us/en/docs/onemkl/developer-guide-windows/2024-0/using-the-custom-dll-builder-in-command-line-mode.html" target="_blank" rel="noopener"&gt;Using the Custom Dynamic-link Library Builder in the Command-line Mode (intel.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;however, there are some issues:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. whenever I set Parallel to intel or tbb, the result is the same&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lane120_0-1700276912399.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/48184iE51F58162726A3C7/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="Lane120_0-1700276912399.png" alt="Lane120_0-1700276912399.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;the generated&amp;nbsp;mkl_custom.dll has the same size and the last link commands seem no difference&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lane120_1-1700277023544.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/48185iEA35C97D1257A6DA/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="Lane120_1-1700277023544.png" alt="Lane120_1-1700277023544.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and seems always link to openmp?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; when I set&amp;nbsp;&lt;SPAN&gt;interface to ilp64(&lt;/SPAN&gt;&lt;SPAN&gt;according to&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LP64-interface-or-ILP64-interface-library-which-one-should-I/m-p/807756" target="_blank" rel="noopener"&gt;LP64 interface or ILP64 interface library, which one should I link with? - Intel Community)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;the library size reduced from 118MB to 85MB,&amp;nbsp; which looks like exciting to me,&amp;nbsp;&lt;/P&gt;&lt;P&gt;however, the eigen solver with Pardiso doesn't work&lt;/P&gt;&lt;P&gt;(Eigen::PardisoLLT compute 's result is always 3 (Eigen::ComputationInfo::InvalidInput))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. I use following command to build&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="bash"&gt;nmake libintel64 interface=lp64 cluster=no uwd_compat=yes threading=parallel prallel=tbb export=user_example_list&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and only includes following functions in&amp;nbsp;user_example_list&lt;/P&gt;&lt;P&gt;pardiso&lt;BR /&gt;feastinit&lt;BR /&gt;dfeast_scsrev&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the generated dll size still has 118MB,&amp;nbsp;is there any suggestion to reduce more dll size?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks very much&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Nov 2023 06:36:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/some-issues-when-building-custom-mkl-dlls/m-p/1545198#M35454</guid>
      <dc:creator>Lane120</dc:creator>
      <dc:date>2023-11-18T06:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: some issues when building custom mkl dlls</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/some-issues-when-building-custom-mkl-dlls/m-p/1546493#M35478</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for posting in Intel communities.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We tried to generate the custom dll at our end, and we are getting the following results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;command : nmake libintel64 interface=lp64 cluster=no uwd_compat=yes threading=parallel prallel=tbb export=user_example_list&lt;/P&gt;
&lt;P&gt;Interface = lp64&lt;/P&gt;
&lt;P&gt;Functions : pardiso, feastinit , dfeast_scsrev&lt;/P&gt;
&lt;P&gt;Custom DLL size : 115 MB&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;command : nmake libintel64 interface=ilp64 cluster=no uwd_compat=yes threading=parallel prallel=tbb export=user_example_list&lt;/P&gt;
&lt;P&gt;interface = ilp64&lt;/P&gt;
&lt;P&gt;Functions : pardiso, feastinit , dfeast_scsrev&lt;/P&gt;
&lt;P&gt;Custom DLL size : 83 MB&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&amp;nbsp;&lt;SPAN class="sub_section_element_selectors"&gt;when I set&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="sub_section_element_selectors"&gt;interface to ilp64&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="sub_section_element_selectors"&gt;the library size reduced from 118MB to 85MB,&amp;nbsp; which looks like exciting to me,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;however, the eigen solver with Pardiso doesn't work&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you please provide us a sample reproducer and OS details, so that we can replicate and investigate more at our end.&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;Regards,&lt;/P&gt;
&lt;P&gt;Jilani&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 06:55:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/some-issues-when-building-custom-mkl-dlls/m-p/1546493#M35478</guid>
      <dc:creator>JilaniS_Intel</dc:creator>
      <dc:date>2023-11-23T06:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: some issues when building custom mkl dlls</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/some-issues-when-building-custom-mkl-dlls/m-p/1550168#M35533</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry for the late and edit reply.&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt; the generated dll size still has 118MB, is there any suggestion to reduce more dll size?&lt;BR /&gt;The size of the custom DLL is 115 MB as expected for the interface=lp64.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&amp;gt;&amp;gt; when I set interface to ilp64 the library size reduced from 118MB to 85MB, which looks like exciting to me,&lt;/P&gt;
&lt;P&gt;however, the eigen solver with Pardiso doesn't work&lt;/P&gt;
&lt;P&gt;Could you please provide us a sample reproducer and OS details, so that we can replicate and investigate more at our end. &lt;BR /&gt;The information would be helpful to understanding of the issue deeply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jilani&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 13:06:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/some-issues-when-building-custom-mkl-dlls/m-p/1550168#M35533</guid>
      <dc:creator>JilaniS_Intel</dc:creator>
      <dc:date>2023-12-11T13:06:04Z</dc:date>
    </item>
    <item>
      <title>Re:some issues when building custom mkl dlls</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/some-issues-when-building-custom-mkl-dlls/m-p/1552605#M35581</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;A gentle reminder:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you kindly share a sample reproducer along with the details of the OS? This will enable us to replicate and conduct a more thorough investigation on our end.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jilani&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Dec 2023 13:09:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/some-issues-when-building-custom-mkl-dlls/m-p/1552605#M35581</guid>
      <dc:creator>JilaniS_Intel</dc:creator>
      <dc:date>2023-12-11T13:09:42Z</dc:date>
    </item>
    <item>
      <title>Re:some issues when building custom mkl dlls</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/some-issues-when-building-custom-mkl-dlls/m-p/1555392#M35635</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;A gentle reminder:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you kindly share a sample reproducer along with the details of the OS? This will enable us to replicate and conduct a more thorough investigation on our end.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jilani&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Dec 2023 05:29:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/some-issues-when-building-custom-mkl-dlls/m-p/1555392#M35635</guid>
      <dc:creator>JilaniS_Intel</dc:creator>
      <dc:date>2023-12-19T05:29:03Z</dc:date>
    </item>
  </channel>
</rss>

