<?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 Subbu, how does your issue in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-pardiso-segfault-with-iomp5-when-run-in-multithreaded/m-p/1185645#M29570</link>
    <description>&lt;P&gt;Subbu, how does your issue correlate with the problem which Marios Visvardis reported? It seems like a separate case, isn't it? if yes, could you create the separate forum thread? It would be better to search the forum for other users.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jun 2020 12:38:55 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2020-06-03T12:38:55Z</dc:date>
    <item>
      <title>MKL pardiso segfault with iomp5 when run in multithreaded application</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-pardiso-segfault-with-iomp5-when-run-in-multithreaded/m-p/1185640#M29565</link>
      <description>&lt;P&gt;&lt;STRONG&gt;OS:&lt;/STRONG&gt; CentOS 7.8.2003&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Compiler:&lt;/STRONG&gt; gcc 8.2.1 (devtoolset-8)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MKL version:&lt;/STRONG&gt; 2020.0.166&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In the attahced zip file you can find an example that causes segmentation fault.&lt;/P&gt;&lt;P&gt;Please note:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The same example does not segfault when GNU openmp instead of iomp5 is used.&lt;/LI&gt;&lt;LI&gt;The same example does not segfault if a call to mkl_get_num_threads(), mkl_get_dynamic(), etc. or pardiso is called from the main thread before the calls from inside the child threads.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Also for your convenience:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;gdb backtrace:&lt;/STRONG&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;#0&amp;nbsp; 0x000000000517b7fd in __kmpc_critical_with_hint ()&lt;BR /&gt;#1&amp;nbsp; 0x0000000000adc631 in mkl_pds_blkl_ll_real ()&lt;BR /&gt;#2&amp;nbsp; 0x00000000051e83f3 in __kmp_invoke_microtask ()&lt;BR /&gt;#3&amp;nbsp; 0x00000000051a9dcc in __kmp_fork_call ()&lt;BR /&gt;#4&amp;nbsp; 0x000000000517a677 in __kmpc_fork_call ()&lt;BR /&gt;#5&amp;nbsp; 0x0000000000ad9ce1 in mkl_pds_blkl_ll_real ()&lt;BR /&gt;#6&amp;nbsp; 0x00000000004f508f in mkl_pds_sssfct_pardiso ()&lt;BR /&gt;#7&amp;nbsp; 0x00000000004ba0f6 in mkl_pds_factorize_pardiso ()&lt;BR /&gt;#8&amp;nbsp; 0x000000000046e2a3 in mkl_pds_do_all_pardiso_fc ()&lt;BR /&gt;#9&amp;nbsp; 0x0000000000416c3f in mkl_pds_pardiso_c ()&lt;BR /&gt;#10 0x00000000004054d1 in mkl_pds_pardiso ()&lt;BR /&gt;#11 0x0000000000404925 in pardiso__ ()&lt;BR /&gt;#12 0x000000000040468b in pardiso_run() ()&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;valgrind memcheck error:&lt;/STRONG&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Invalid read of size 8&lt;/P&gt;&lt;P&gt;at 0x517B7FD: __kmpc_critical_with_hint (in ...main)&lt;BR /&gt;by 0xADC630: mkl_pds_blkl_ll_real (in ...main)&lt;BR /&gt;by 0x51E83F2: __kmp_invoke_microtask (in ...main)&lt;BR /&gt;by 0x51A9DCB: __kmp_fork_call (in ...main)&lt;BR /&gt;by 0x517A676: __kmpc_fork_call (in ...main)&lt;BR /&gt;by 0xAD9CE0: mkl_pds_blkl_ll_real (in ...main)&lt;BR /&gt;by 0x4F508E: mkl_pds_sssfct_pardiso (in ...main)&lt;BR /&gt;by 0x4BA0F5: mkl_pds_factorize_pardiso (in ...main)&lt;BR /&gt;by 0x46E2A2: mkl_pds_do_all_pardiso_fc (in ...main)&lt;BR /&gt;by 0x416C3E: mkl_pds_pardiso_c (in ...main)&lt;BR /&gt;by 0x4054D0: mkl_pds_pardiso (in ...main)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Marios Visvardis&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 11:26:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-pardiso-segfault-with-iomp5-when-run-in-multithreaded/m-p/1185640#M29565</guid>
      <dc:creator>Visvardis__Marios</dc:creator>
      <dc:date>2020-06-02T11:26:35Z</dc:date>
    </item>
    <item>
      <title>You could try to link with</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-pardiso-segfault-with-iomp5-when-run-in-multithreaded/m-p/1185641#M29566</link>
      <description>&lt;P&gt;You could try to link with -liomp5 instead of liniomp5.a and check the problem once again.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 02:38:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-pardiso-segfault-with-iomp5-when-run-in-multithreaded/m-p/1185641#M29566</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-06-03T02:38:19Z</dc:date>
    </item>
    <item>
      <title>and one more comment about</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-pardiso-segfault-with-iomp5-when-run-in-multithreaded/m-p/1185642#M29567</link>
      <description>&lt;P&gt;and one more comment about mkl's recommendation if the application uses the own threading - mkl always recommends using the sequential version instead of threaded.&amp;nbsp; You may refer to the developer quite to see more details...&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 02:46:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-pardiso-segfault-with-iomp5-when-run-in-multithreaded/m-p/1185642#M29567</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-06-03T02:46:33Z</dc:date>
    </item>
    <item>
      <title>Hi Gennady, thanks for your</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-pardiso-segfault-with-iomp5-when-run-in-multithreaded/m-p/1185643#M29568</link>
      <description>&lt;P&gt;Hi Gennady, thanks for your answers.&lt;/P&gt;&lt;P&gt;Unfortunately I need both static linking and the multi-threaded version of MKL because other parts of our application need it.&lt;/P&gt;&lt;P&gt;Do I have to post it somewhere else in order to file it as a bug?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 08:38:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-pardiso-segfault-with-iomp5-when-run-in-multithreaded/m-p/1185643#M29568</guid>
      <dc:creator>Visvardis__Marios</dc:creator>
      <dc:date>2020-06-03T08:38:33Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-pardiso-segfault-with-iomp5-when-run-in-multithreaded/m-p/1185644#M29569</link>
      <description>&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Hi,&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;I am trying to use Pardiso example using INTEL MKL libraries. The example code works fine without any issues. However, if I try to input my matrix whose size is 10600,it fails with the error "Unhandled exception at mkl_core.dll"&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Subbu&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 09:35:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-pardiso-segfault-with-iomp5-when-run-in-multithreaded/m-p/1185644#M29569</guid>
      <dc:creator>Adhiachari__Subraman</dc:creator>
      <dc:date>2020-06-03T09:35:16Z</dc:date>
    </item>
    <item>
      <title>Subbu, how does your issue</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-pardiso-segfault-with-iomp5-when-run-in-multithreaded/m-p/1185645#M29570</link>
      <description>&lt;P&gt;Subbu, how does your issue correlate with the problem which Marios Visvardis reported? It seems like a separate case, isn't it? if yes, could you create the separate forum thread? It would be better to search the forum for other users.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 12:38:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-pardiso-segfault-with-iomp5-when-run-in-multithreaded/m-p/1185645#M29570</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-06-03T12:38:55Z</dc:date>
    </item>
    <item>
      <title>Quote:Visvardis, Marios wrote</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-pardiso-segfault-with-iomp5-when-run-in-multithreaded/m-p/1185646#M29571</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Visvardis, Marios wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Gennady, thanks for your answers.&lt;/P&gt;&lt;P&gt;Unfortunately, I need both static linking and the multi-threaded version of MKL because other parts of our application need it.&lt;/P&gt;&lt;P&gt;Do I have to post it somewhere else in order to file it as a bug?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marios, that's interesting to use&amp;nbsp;static and dynamic versions in one application. Are you sure then if the application will use the same version of mkl? How will you control that?&lt;/P&gt;&lt;P&gt;Nevertheless, If you like to escalate the issue, you may try to open the ticket against Intel MKL into Intel Online Service Center.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 12:43:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-pardiso-segfault-with-iomp5-when-run-in-multithreaded/m-p/1185646#M29571</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-06-03T12:43:09Z</dc:date>
    </item>
    <item>
      <title>forget to add - Here is the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-pardiso-segfault-with-iomp5-when-run-in-multithreaded/m-p/1185647#M29572</link>
      <description>&lt;P&gt;forget to add - Here is the link to the intel OSC&amp;nbsp;https://supporttickets.intel.com/?lang=en-US&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the official support changed for those who have the valid licenses&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 12:45:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-pardiso-segfault-with-iomp5-when-run-in-multithreaded/m-p/1185647#M29572</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-06-03T12:45:45Z</dc:date>
    </item>
    <item>
      <title>Gennady, thanks for the link.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-pardiso-segfault-with-iomp5-when-run-in-multithreaded/m-p/1185648#M29573</link>
      <description>&lt;P&gt;Gennady, thanks for the link.&lt;/P&gt;&lt;P&gt;I don't need static and dynamic versions at the same application. I want the multi-threaded (openmp) version of the MKL library, but some parts of the application also use own threading. This is related to your comment about using the sequential mkl version.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 13:03:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-pardiso-segfault-with-iomp5-when-run-in-multithreaded/m-p/1185648#M29573</guid>
      <dc:creator>Visvardis__Marios</dc:creator>
      <dc:date>2020-06-03T13:03:52Z</dc:date>
    </item>
    <item>
      <title>I see the segfault happens</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-pardiso-segfault-with-iomp5-when-run-in-multithreaded/m-p/1185649#M29574</link>
      <description>&lt;P&gt;I see the segfault happens when the case links with&amp;nbsp;libiomp5.a but when the case is linked with dynamic runtime of OpenMP (-liomp5), everything works fine.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 07:27:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-pardiso-segfault-with-iomp5-when-run-in-multithreaded/m-p/1185649#M29574</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-06-04T07:27:55Z</dc:date>
    </item>
  </channel>
</rss>

