<?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 Pardiso fails in finding (selective) solution after upgrade from MKL 2017 to MKL 2019 in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-fails-in-finding-selective-solution-after-upgrade-from/m-p/1291084#M31546</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We are currently upgrading from MKL 2017 to MKL 2019. After the upgrade some of our unit tests fail.&lt;/P&gt;
&lt;P&gt;What they do is to solve the system Ax = b, where A and X are sparse with known sparsity patterns. To solve this system we use Pardiso and choose to only calculate certain components of X as we know the others are assumed to be zero. We use the iparm[30] = 3 setting to do this and specify the&amp;nbsp; components of x to solve for with the perm array. However after the upgrade this appears not to work anymore - the output is simply equal to the right hand side. If we change to iparm[30] = 0 it works, but then you don't get the speed benefit of solving for certain components only. Can you please help me see if we are somehow invoking Pardiso wrong or whether there is in fact a bug somewhere, in our code or in Pardiso?&lt;/P&gt;
&lt;P&gt;I searched the forum and I could not find other reports, though &lt;A href="https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Issue-with-Intel-OneAPI-MKL-PARDISO/m-p/1286947" target="_self"&gt;this post&lt;/A&gt; does sound similar in that they use some of the same features and also have problems going from 2017 to later versions.&lt;/P&gt;
&lt;P&gt;I have made a minimally reproducible example in C++. I source the mklvars.sh from the 2017.2.174/2019.5.281 distribution and compile with GCC 9.2.0 on Ubuntu 16.04. I have provided both source code, Makefile and the output I get with iparm[30] = 0 or 3 with both MKL 2017 (working) and MKL 2019 (not working - weird/no output).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope to hear from you, thanks.&lt;/P&gt;
&lt;P&gt;Sincerely,&lt;/P&gt;
&lt;P&gt;Filip Rasmussen&lt;/P&gt;</description>
    <pubDate>Fri, 18 Jun 2021 11:55:58 GMT</pubDate>
    <dc:creator>fanselm</dc:creator>
    <dc:date>2021-06-18T11:55:58Z</dc:date>
    <item>
      <title>Pardiso fails in finding (selective) solution after upgrade from MKL 2017 to MKL 2019</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-fails-in-finding-selective-solution-after-upgrade-from/m-p/1291084#M31546</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We are currently upgrading from MKL 2017 to MKL 2019. After the upgrade some of our unit tests fail.&lt;/P&gt;
&lt;P&gt;What they do is to solve the system Ax = b, where A and X are sparse with known sparsity patterns. To solve this system we use Pardiso and choose to only calculate certain components of X as we know the others are assumed to be zero. We use the iparm[30] = 3 setting to do this and specify the&amp;nbsp; components of x to solve for with the perm array. However after the upgrade this appears not to work anymore - the output is simply equal to the right hand side. If we change to iparm[30] = 0 it works, but then you don't get the speed benefit of solving for certain components only. Can you please help me see if we are somehow invoking Pardiso wrong or whether there is in fact a bug somewhere, in our code or in Pardiso?&lt;/P&gt;
&lt;P&gt;I searched the forum and I could not find other reports, though &lt;A href="https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Issue-with-Intel-OneAPI-MKL-PARDISO/m-p/1286947" target="_self"&gt;this post&lt;/A&gt; does sound similar in that they use some of the same features and also have problems going from 2017 to later versions.&lt;/P&gt;
&lt;P&gt;I have made a minimally reproducible example in C++. I source the mklvars.sh from the 2017.2.174/2019.5.281 distribution and compile with GCC 9.2.0 on Ubuntu 16.04. I have provided both source code, Makefile and the output I get with iparm[30] = 0 or 3 with both MKL 2017 (working) and MKL 2019 (not working - weird/no output).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope to hear from you, thanks.&lt;/P&gt;
&lt;P&gt;Sincerely,&lt;/P&gt;
&lt;P&gt;Filip Rasmussen&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 11:55:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-fails-in-finding-selective-solution-after-upgrade-from/m-p/1291084#M31546</guid>
      <dc:creator>fanselm</dc:creator>
      <dc:date>2021-06-18T11:55:58Z</dc:date>
    </item>
    <item>
      <title>Re:Pardiso fails in finding (selective) solution after upgrade from MKL 2017 to MKL 2019</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-fails-in-finding-selective-solution-after-upgrade-from/m-p/1291259#M31547</link>
      <description>&lt;P&gt;Filip, thanks for the report. We will check this case and get back soon.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 19 Jun 2021 06:49:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-fails-in-finding-selective-solution-after-upgrade-from/m-p/1291259#M31547</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2021-06-19T06:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Pardiso fails in finding (selective) solution after upgrade from MKL 2017 to MKL 2019</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-fails-in-finding-selective-solution-after-upgrade-from/m-p/1293977#M31608</link>
      <description>&lt;P&gt;Any news on this question? I can add that the issue is also reproducible in oneAPI 2021.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 15:13:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-fails-in-finding-selective-solution-after-upgrade-from/m-p/1293977#M31608</guid>
      <dc:creator>fanselm</dc:creator>
      <dc:date>2021-06-28T15:13:18Z</dc:date>
    </item>
    <item>
      <title>Re:Pardiso fails in finding (selective) solution after upgrade from MKL 2017 to MKL 2019</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-fails-in-finding-selective-solution-after-upgrade-from/m-p/1294017#M31609</link>
      <description>&lt;P&gt;yes, we were able to reproduce the problem with the latest versions of mkl as well. The issue is escalated and we will keep this thread updated.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Jun 2021 17:09:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-fails-in-finding-selective-solution-after-upgrade-from/m-p/1294017#M31609</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2021-06-28T17:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Pardiso fails in finding (selective) solution after upgrade from MKL 2017 to MKL 2019</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-fails-in-finding-selective-solution-after-upgrade-from/m-p/1294223#M31619</link>
      <description>&lt;P&gt;Thanks for looking into this. We have disabled the functionality that depends on this for now as it wasn't super critical anyway. In worst case we can properly replace the implementation with one of the other million sparse linear solvers out there, so it's not super urgent anymore - for us at least.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 07:20:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-fails-in-finding-selective-solution-after-upgrade-from/m-p/1294223#M31619</guid>
      <dc:creator>fanselm</dc:creator>
      <dc:date>2021-06-29T07:20:51Z</dc:date>
    </item>
    <item>
      <title>Re:Pardiso fails in finding (selective) solution after upgrade from MKL 2017 to MKL 2019</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-fails-in-finding-selective-solution-after-upgrade-from/m-p/1301182#M31786</link>
      <description>&lt;P&gt;Filip,&lt;/P&gt;&lt;P&gt;please try to disable the two-level factorization &lt;SPAN style="font-size: 13.3333px; font-family: &amp;quot;Intel Clear&amp;quot;, Verdana, Arial, sans-serif;"&gt;algorithm by setting &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: &amp;quot;Intel Clear&amp;quot;, Verdana, Arial, sans-serif;"&gt;iparm[23] == 0 and check if the problem will exist on your end. I see no problem on my side with the current version of oneMKL 2021.3:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Enter iparm[30] value &lt;B&gt;MKL v. 2021.0.3&lt;/B&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Processor optimization:&amp;nbsp;Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) enabled processors&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;a = [3, 7, 6, 3, 8, 5, 9, 4, 7, 8, 2, 9, 3, 9, 9, 9, 9, ]&lt;/P&gt;&lt;P&gt;ia = [0, 3, 6, 10, 14, 17, ]&lt;/P&gt;&lt;P&gt;ja = [0, 1, 3, 0, 1, 4, 0, 2, 3, 4, 0, 1, 3, 4, 0, 3, 4, ]&lt;/P&gt;&lt;P&gt;Calling Pardiso with &lt;B&gt;iparm[30]=1&lt;/B&gt;&lt;/P&gt;&lt;P&gt;...Pardiso, phase ==12 is passed...&lt;/P&gt;&lt;P&gt;...Pardiso, phase == 33 is passed...&lt;/P&gt;&lt;P&gt;...Pardiso, phase == -1 is passed...&lt;/P&gt;&lt;P&gt;Pardiso calculation done&lt;/P&gt;&lt;P&gt;x =&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;0.471053,&amp;nbsp;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;0.0552632,&amp;nbsp;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;0.557237,&amp;nbsp;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;-0.3,&amp;nbsp;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;-0.171053,&amp;nbsp;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;...Test passed...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;it might be the work-around the problem which we are planning to fix into one of the future versions.&lt;/P&gt;&lt;P&gt;-Gennady&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Jul 2021 04:25:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-fails-in-finding-selective-solution-after-upgrade-from/m-p/1301182#M31786</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2021-07-26T04:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Pardiso fails in finding (selective) solution after upgrade from MKL 2017 to MKL 2019</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-fails-in-finding-selective-solution-after-upgrade-from/m-p/1303549#M31850</link>
      <description>&lt;P&gt;Hi Gennady,&lt;/P&gt;
&lt;P&gt;Yeah, we will use this as a workaround for now. Thanks for spending time to investigate this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Filip&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 07:02:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-fails-in-finding-selective-solution-after-upgrade-from/m-p/1303549#M31850</guid>
      <dc:creator>fanselm</dc:creator>
      <dc:date>2021-08-04T07:02:56Z</dc:date>
    </item>
    <item>
      <title>Re:Pardiso fails in finding (selective) solution after upgrade from MKL 2017 to MKL 2019</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-fails-in-finding-selective-solution-after-upgrade-from/m-p/1303650#M31852</link>
      <description>&lt;P&gt;Filip,&lt;/P&gt;&lt;P&gt;The ticket is closing. We will update this thread when the fix of the issue would available in the official version of MKL.&lt;/P&gt;&lt;P&gt;Gennady&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Aug 2021 14:31:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-fails-in-finding-selective-solution-after-upgrade-from/m-p/1303650#M31852</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2021-08-04T14:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Pardiso fails in finding (selective) solution after upgrade from MKL 2017 to MKL 2019</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-fails-in-finding-selective-solution-after-upgrade-from/m-p/1611162#M36234</link>
      <description>&lt;P&gt;Dear Filip,&lt;/P&gt;
&lt;P&gt;the problem has been fixed into the last version of oneMKL 2024.2.&lt;/P&gt;
&lt;P&gt;Please take a look at the outputs with iparm[30]==0 and 1 below:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;MKL v. 2024.0.2&lt;/STRONG&gt; &lt;BR /&gt;Processor optimization: Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) enabled processors&lt;/P&gt;
&lt;P&gt;a = [3, 7, 6, 3, 8, 5, 9, 4, 7, 8, 2, 9, 3, 9, 9, 9, 9, ]&lt;BR /&gt;ia = [0, 3, 6, 10, 14, 17, ]&lt;BR /&gt;ja = [0, 1, 3, 0, 1, 4, 0, 2, 3, 4, 0, 1, 3, 4, 0, 3, 4, ]&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;gt;&amp;gt; Calling Pardiso with iparm[30]=0&lt;/STRONG&gt;&lt;BR /&gt;...Pardiso, phase ==12 is passed...&lt;BR /&gt;...Pardiso, phase == 33 is passed...&lt;BR /&gt;...Pardiso, phase == -1 is passed...&lt;BR /&gt;Pardiso calculation done&lt;BR /&gt;&lt;STRONG&gt;x = &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;0.471053, &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;0.0552632, &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;0.557237, &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;-0.3, &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;-0.171053, &lt;/STRONG&gt;&lt;BR /&gt;...Test passed...&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;gt;&amp;gt; Calling Pardiso with iparm[30]=1&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;...Pardiso, phase ==12 is passed...&lt;BR /&gt;...Pardiso, phase == 33 is passed...&lt;BR /&gt;...Pardiso, phase == -1 is passed...&lt;BR /&gt;Pardiso calculation done&lt;BR /&gt;&lt;STRONG&gt;x = &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;0.471053, &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;0.0552632, &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;0.557237, &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;-0.3, &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;-0.171053,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;...Test passed...&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 09:58:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-fails-in-finding-selective-solution-after-upgrade-from/m-p/1611162#M36234</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2024-07-01T09:58:53Z</dc:date>
    </item>
  </channel>
</rss>

