<?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 Okay, I see what you're in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-always-crashing-on-Linux/m-p/1110915#M24344</link>
    <description>&lt;P&gt;Okay, I see what you're saying. &amp;nbsp;The verbose output was saying things like&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;"Parallel Direct Factorization is running on 1 OpenMP" and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;I interpreted this to mean that it's running on 1 thread, since there is no other output about threading. But if I watch the process in "top", that I see it's running 400% CPU (on my 4-core virtual machine).&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;To recap,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;On 11.3 update 2, I always segfault, due to some sort of bug in MKL.&lt;/P&gt;

&lt;P&gt;On 11.3 update 3, using mkl_tbb_thread.a, the verbose Pardiso output doesn't say how many threads it used and reports it's only using 1 (irrelevant) OpenMP thread. I was confused by this, but "top" reveals it's working fine.&lt;/P&gt;

&lt;P&gt;I think this is all resolved. Thanks.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 May 2016 15:55:13 GMT</pubDate>
    <dc:creator>Essex_E_</dc:creator>
    <dc:date>2016-05-04T15:55:13Z</dc:date>
    <item>
      <title>Pardiso always crashing on Linux</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-always-crashing-on-Linux/m-p/1110911#M24340</link>
      <description>&lt;P&gt;I consistently have Pardiso crash when running on Linux. I've trimmed it down to a relatively simple test case of building a Poisson matrix and solving it with Pardiso. &amp;nbsp;The same program runs fine on Windows 8 and 10. It segfaults on both Centos 6.7 and Ubuntu 14.04. I assume I'm doing something wrong, but I can't tell what.&lt;/P&gt;

&lt;P&gt;I'm building and testing on Centos 6.7 (upgraded from 6.5, not originally installed as 6.7). &amp;nbsp;I'm using g++ 4.8.2. &amp;nbsp;I put a fresh install of MKL from "parallel_studio_xe_2016_composer_edition_for_cpp_update2.tgz" into my home directory. I'm intentionally using the TBB version of MKL, and not using OpenMP at all. When I started working on this, I was using OpenMP and Pardiso was still crashing in OpenMP instead of TBB.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;GDB shows the segfault is during Pardiso phase 11, inside some tbbmalloc stuff.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Full Source file:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&lt;A href="https://drive.google.com/open?id=0B1-EScYNsy0uTDZNX2Etck9NM1U" target="_blank"&gt;https://drive.google.com/open?id=0B1-EScYNsy0uTDZNX2Etck9NM1U&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Makefile:&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&lt;A href="https://drive.google.com/file/d/0B1-EScYNsy0uNEZLQmx5dl80ZUk/view?usp=sharing" target="_blank"&gt;https://drive.google.com/file/d/0B1-EScYNsy0uNEZLQmx5dl80ZUk/view?usp=sharing&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Lots of console output, versions, make, gdb, ldd:&amp;nbsp;https://drive.google.com/file/d/0B1-EScYNsy0uTjFqU2lyQTVjdUU/view?usp=sharing&lt;/P&gt;

&lt;P&gt;Any suggestions on what I should look at?&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;-Essex&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2016 19:24:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-always-crashing-on-Linux/m-p/1110911#M24340</guid>
      <dc:creator>Essex_E_</dc:creator>
      <dc:date>2016-04-29T19:24:12Z</dc:date>
    </item>
    <item>
      <title>Essex, could you please check</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-always-crashing-on-Linux/m-p/1110912#M24341</link>
      <description>&lt;P&gt;Essex, could you please check if the problem exists with the latest version of MKL we released a couple of days ago? This is version 11.3 update 3. The similar issue has been fixed into this update. Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 04:01:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-always-crashing-on-Linux/m-p/1110912#M24341</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2016-05-03T04:01:37Z</dc:date>
    </item>
    <item>
      <title>Thank you very much for your</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-always-crashing-on-Linux/m-p/1110913#M24342</link>
      <description>&lt;P&gt;Thank you very much for your response.&lt;/P&gt;

&lt;P&gt;I have just installed update 3 (parallel_studio_xe_2016_composer_edition_for_cpp_update3.tgz). &amp;nbsp;I had to run install.sh twice. On the first install, mkl_tbb_thread.lib was missing, so I re-ran the installer to modify the installation and add TBB support to MKL.&lt;/P&gt;

&lt;P&gt;My test program now runs without crashing, but it's only running a single thread. Running fine on a single thread is not new. It used to do that already. The segfault is in some parallel section. Unfortunately, I can't figure out how to get it to run with more threads. Changing the TBB_NUM_THREADS environment variable and calling mkl_set_num_threads(16) don't change anything. It used to just do it automatically.&lt;/P&gt;

&lt;P&gt;If I switch from linking with mkl_tbb_thread.a to linking with mkl_intel_thread.a and libiomp5.a, then it runs with 4 threads and doesn't crash. If need be, I guess I can work with this, but the rest of my application is threaded with TBB. Are there correctness problems from using mkl_intel_thread in a TBB-parallelized application?&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 16:32:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-always-crashing-on-Linux/m-p/1110913#M24342</guid>
      <dc:creator>Essex_E_</dc:creator>
      <dc:date>2016-05-03T16:32:55Z</dc:date>
    </item>
    <item>
      <title>Hi Essex,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-always-crashing-on-Linux/m-p/1110914#M24343</link>
      <description>&lt;P&gt;Hi Essex,&lt;/P&gt;

&lt;P&gt;Actually, there is no way to set number of threads for TBB. In case of TBB threading Pardiso automatically detects the number of threads. Also if you set msglvl = 1 then you will see that number of threads always equal to 1 in case of TBB, but in fact Pardiso runs on multiple threads. The correct output in case of msglvl=1 will be fixed in one of the following releases.&lt;/P&gt;

&lt;P&gt;Regards, Roman&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2016 05:52:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-always-crashing-on-Linux/m-p/1110914#M24343</guid>
      <dc:creator>Roman_A_Intel</dc:creator>
      <dc:date>2016-05-04T05:52:06Z</dc:date>
    </item>
    <item>
      <title>Okay, I see what you're</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-always-crashing-on-Linux/m-p/1110915#M24344</link>
      <description>&lt;P&gt;Okay, I see what you're saying. &amp;nbsp;The verbose output was saying things like&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;"Parallel Direct Factorization is running on 1 OpenMP" and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;I interpreted this to mean that it's running on 1 thread, since there is no other output about threading. But if I watch the process in "top", that I see it's running 400% CPU (on my 4-core virtual machine).&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;To recap,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;On 11.3 update 2, I always segfault, due to some sort of bug in MKL.&lt;/P&gt;

&lt;P&gt;On 11.3 update 3, using mkl_tbb_thread.a, the verbose Pardiso output doesn't say how many threads it used and reports it's only using 1 (irrelevant) OpenMP thread. I was confused by this, but "top" reveals it's working fine.&lt;/P&gt;

&lt;P&gt;I think this is all resolved. Thanks.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2016 15:55:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-always-crashing-on-Linux/m-p/1110915#M24344</guid>
      <dc:creator>Essex_E_</dc:creator>
      <dc:date>2016-05-04T15:55:13Z</dc:date>
    </item>
  </channel>
</rss>

