<?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 So far we haven't been able in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-fails-to-solve-complex-unsymmetric-sparse-matrix/m-p/1081498#M22831</link>
    <description>&lt;P&gt;So far we haven't been able to find any test cases that fail with iparm[12]=0, so it would appear that works around the problem and the bug must be in the weighted matching.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Nov 2016 03:45:06 GMT</pubDate>
    <dc:creator>areid2</dc:creator>
    <dc:date>2016-11-24T03:45:06Z</dc:date>
    <item>
      <title>MKL Pardiso fails to solve complex unsymmetric sparse matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-fails-to-solve-complex-unsymmetric-sparse-matrix/m-p/1081486#M22819</link>
      <description>&lt;P&gt;I've run into a matrix where Pardiso is producing an incorrect result. I've checked that exact same matrix can be solved in other matrix solvers like Matlab and with both dense and sparse solvers. Pardiso doesn't return an error code, but the solution that it provides is clearly quite bad.&lt;/P&gt;

&lt;P&gt;I have a Premier support account where I've tried to report this issue, but for some reason when I create a new case it doesn't show up under my account. I do get an issue reference number. Does anyone know if there is a phone number for Premier support? Any other ideas how I can report this issue?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2016 23:09:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-fails-to-solve-complex-unsymmetric-sparse-matrix/m-p/1081486#M22819</guid>
      <dc:creator>areid2</dc:creator>
      <dc:date>2016-11-09T23:09:03Z</dc:date>
    </item>
    <item>
      <title>Areid, this is also good</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-fails-to-solve-complex-unsymmetric-sparse-matrix/m-p/1081487#M22820</link>
      <description>&lt;P&gt;Areid, this is also good place to report the issue! &amp;nbsp;Could you give us some more details to check the problem on our side?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2016 02:16:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-fails-to-solve-complex-unsymmetric-sparse-matrix/m-p/1081487#M22820</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2016-11-10T02:16:15Z</dc:date>
    </item>
    <item>
      <title>Thanks for the help. I've</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-fails-to-solve-complex-unsymmetric-sparse-matrix/m-p/1081488#M22821</link>
      <description>&lt;P&gt;Thanks for the help. I've attached a Matlab data file that contains the matrices A, b and Pardiso_x. Pardiso_x is the solution that Pardiso produces to the problem Ax=b. There's also a bit of Matlab code that computes b from A and Pardiso_x and compares that with the original b which shows it isn't a good solution.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;We have tried to solve this problem with mtype = 13 and a sparse matrix input. We have tried the default initialization of iparam (using pardisoinit) as well as with iparam[1]=0 (zero-based indexing on iparam) to workaround an issue in 11.3 update 3, as well as with 11.3 update 4.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;You can also see that Matlab can easily invert this matrix as a dense matrix and find a good solution, so it doesn't seem to be an issue with the conditioning of the matrix. Pardiso also didn't produce an error when it computed this result.&lt;/P&gt;

&lt;P&gt;If you aren't a Matlab user then let me know what formats you could support to check out this test case.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Adam&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2016 05:32:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-fails-to-solve-complex-unsymmetric-sparse-matrix/m-p/1081488#M22821</guid>
      <dc:creator>areid2</dc:creator>
      <dc:date>2016-11-10T05:32:00Z</dc:date>
    </item>
    <item>
      <title>Sorry, the attachment didn't</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-fails-to-solve-complex-unsymmetric-sparse-matrix/m-p/1081489#M22822</link>
      <description>&lt;P&gt;Sorry, the attachment didn't work with the last comment. It should be attached to this comment.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2016 05:34:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-fails-to-solve-complex-unsymmetric-sparse-matrix/m-p/1081489#M22822</guid>
      <dc:creator>areid2</dc:creator>
      <dc:date>2016-11-10T05:34:03Z</dc:date>
    </item>
    <item>
      <title>Areid, Is it possible to send</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-fails-to-solve-complex-unsymmetric-sparse-matrix/m-p/1081490#M22823</link>
      <description>&lt;P&gt;Areid, Is it possible to send us matrix without matlab call? We see matlab run but doesn’t see the way how you call pardiso to reproduce issue on our side&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2016 09:18:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-fails-to-solve-complex-unsymmetric-sparse-matrix/m-p/1081490#M22823</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2016-11-10T09:18:15Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-fails-to-solve-complex-unsymmetric-sparse-matrix/m-p/1081491#M22824</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I've put together a self contained C++ example that reproduces the problem. We've tried on Linux and Windows with different versions of MKL and most configurations fail but in different ways. Some configurations fail with an error, some just return a bad result. There is a second copy of the matrix commented out in the file that is nearly identical with some differences in the 14th decimal place. Strange thing is that it often gives a different result even though it is only slightly different. In some configurations one of the 2 matrices will solve and the other won't!&lt;/P&gt;

&lt;P&gt;I'd appreciate if anyone has some insight into this bug. We've tried lots of different cases with matrices similar to these and many of them give good solutions. It just seems that certain matrices fail to solve but it's not at all clear what is different about these matrices compared to the ones that work. It would appear pardiso is very sensitive to some very small differences in these cases. The correct answer that we're comparing with was computed by converting to a dense matrix and solving with Matlab.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Adam&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 06:17:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-fails-to-solve-complex-unsymmetric-sparse-matrix/m-p/1081491#M22824</guid>
      <dc:creator>areid2</dc:creator>
      <dc:date>2016-11-22T06:17:49Z</dc:date>
    </item>
    <item>
      <title>thanks Adam for the test. we</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-fails-to-solve-complex-unsymmetric-sparse-matrix/m-p/1081492#M22825</link>
      <description>&lt;P&gt;thanks Adam for the test. we will check asap with the latest versions.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 14:39:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-fails-to-solve-complex-unsymmetric-sparse-matrix/m-p/1081492#M22825</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2016-11-22T14:39:18Z</dc:date>
    </item>
    <item>
      <title>i see with mkl 2017 u1</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-fails-to-solve-complex-unsymmetric-sparse-matrix/m-p/1081493#M22826</link>
      <description>&lt;P&gt;i see with mkl 2017 u1 version of mkl on win64 system, the&amp;nbsp;&lt;SPAN style="font-size: 1em;"&gt;******************&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;max relative difference with correct solution: 734.89125654341649&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Do you see the similar difference?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 15:31:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-fails-to-solve-complex-unsymmetric-sparse-matrix/m-p/1081493#M22826</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2016-11-22T15:31:41Z</dc:date>
    </item>
    <item>
      <title>Yes, I see almost the same</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-fails-to-solve-complex-unsymmetric-sparse-matrix/m-p/1081494#M22827</link>
      <description>&lt;P&gt;Yes, I see almost the same value on mkl 2016 u2 under Linux too. When I found a configuration that gave the correct result, the number is more like 1e-5 which seems more reasonable.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The way that the relative difference is calculated means that the difference between the pardiso solution and the correct solution at some specific element in x is about 700x larger than the largest value in the correct solution. Since these are complex values we are using absolute values. So max relative error is max_element(abs(pardiso_x - correct_x))/max_element(abs(correct_x))&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks for looking into this.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 20:28:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-fails-to-solve-complex-unsymmetric-sparse-matrix/m-p/1081494#M22827</guid>
      <dc:creator>areid2</dc:creator>
      <dc:date>2016-11-22T20:28:39Z</dc:date>
    </item>
    <item>
      <title>Adam, could you please try to</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-fails-to-solve-complex-unsymmetric-sparse-matrix/m-p/1081495#M22828</link>
      <description>&lt;P&gt;Adam, could you please try to disable matching (ipatm[12]==0; With this setting, I see the max relative difference with correct solution: 9.9900102025820376e-010&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2016 08:30:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-fails-to-solve-complex-unsymmetric-sparse-matrix/m-p/1081495#M22828</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2016-11-23T08:30:34Z</dc:date>
    </item>
    <item>
      <title>Thanks, I also get the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-fails-to-solve-complex-unsymmetric-sparse-matrix/m-p/1081496#M22829</link>
      <description>&lt;P&gt;Thanks, I also get the correct result with that setting. We'll try it on a few more of our test cases to see whether they all work with that setting. I'll let you know how it goes.&lt;/P&gt;

&lt;P&gt;The weighted matching option appears to be the default for a nonsymmetric matrix and supposed to increase reliability. Do you think this is a bug, or does that technique not work well on some matrices?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Adam&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2016 08:45:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-fails-to-solve-complex-unsymmetric-sparse-matrix/m-p/1081496#M22829</guid>
      <dc:creator>areid2</dc:creator>
      <dc:date>2016-11-23T08:45:36Z</dc:date>
    </item>
    <item>
      <title>yes, I agree with you, the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-fails-to-solve-complex-unsymmetric-sparse-matrix/m-p/1081497#M22830</link>
      <description>&lt;P&gt;yes, I agree with you, the matching is the default setting and it looks like this case is the real issue but we need to investigate this case.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2016 08:54:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-fails-to-solve-complex-unsymmetric-sparse-matrix/m-p/1081497#M22830</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2016-11-23T08:54:10Z</dc:date>
    </item>
    <item>
      <title>So far we haven't been able</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-fails-to-solve-complex-unsymmetric-sparse-matrix/m-p/1081498#M22831</link>
      <description>&lt;P&gt;So far we haven't been able to find any test cases that fail with iparm[12]=0, so it would appear that works around the problem and the bug must be in the weighted matching.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 03:45:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-fails-to-solve-complex-unsymmetric-sparse-matrix/m-p/1081498#M22831</guid>
      <dc:creator>areid2</dc:creator>
      <dc:date>2016-11-24T03:45:06Z</dc:date>
    </item>
  </channel>
</rss>

