<?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 With a condition number of in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Result-error-in-Pardiso/m-p/977583#M17154</link>
    <description>&lt;P&gt;With a condition number of 4E15, and the 15.95 decimal digits that 64-bit reals provide, you have &lt;STRONG&gt;less than one&lt;/STRONG&gt; reliable digit in your solution. How, then, do you conclude that&amp;nbsp;&amp;nbsp;"the result of the first equation is correct"?&lt;/P&gt;
&lt;P&gt;To proceed further, we need to know more data on a case where you judge the results to be wrong -- for example, you may provide a file containing the Pardiso solutions and another containing the "correct" solutions from another solver (please specify its identity completely).&lt;/P&gt;</description>
    <pubDate>Sat, 17 Aug 2013 09:15:00 GMT</pubDate>
    <dc:creator>mecej4</dc:creator>
    <dc:date>2013-08-17T09:15:00Z</dc:date>
    <item>
      <title>Result error in Pardiso</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Result-error-in-Pardiso/m-p/977582#M17153</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I have many linear equations derived from flow problem at different time steps. These equations have the same structure (same non-zero entries) but different stiffness matrices and right-hand-sides. The condition number for these matrices are around 4E15, close to ill-conditioned. There seems something wrong with the Pardiso that only the result of the first equation is correct.&amp;nbsp; I have successfully solved these equations by PETSc and exported the results so as to compare.&lt;/P&gt;
&lt;P&gt;The parameters used in Pardiso are as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iparm = 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iparm(1) = 1 ! no solver default&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iparm(2) = 2 ! fill-in reordering from METIS&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iparm(3) = 0 ! numbers of processors&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iparm(4) = 0 ! no iterative-direct algorithm&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iparm(5) = 0 ! 0 no user fill-in reducing permutation&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iparm(6) = 0 ! =0 solution on the first n compoments of x&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iparm(7) = 0 ! not in use&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iparm(8) = 9 ! numbers of iterative refinement steps&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iparm(9) = 0 ! not in use&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iparm(10) = 13 ! perturbe the pivot elements with 1E-13&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iparm(11) = 1 ! use nonsymmetric permutation and scaling MPS&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iparm(12) = 0 ! not in use&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iparm(13) = 1 ! maximum weighted matching algorithm is switched-on (default for non-symmetric)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iparm(14) = 0 ! Output: number of perturbed pivots&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iparm(15) = 0 ! not in use&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iparm(16) = 0 ! not in use&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iparm(17) = 0 ! not in use&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iparm(18) = -1 ! Output: number of nonzeros in the factor LU&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iparm(19) = -1 ! Output: Mflops for LU factorization&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iparm(20) = 0 ! Output: Numbers of CG Iterations&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iparm(27) = 0 ! 1: check matrix error &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error = 0 ! initialize error flag&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msglvl = 0 ! print statistical information&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mtype = 11 ! real unsymmetric&lt;/P&gt;
&lt;P&gt;For the source codes, data and results, please look into the attached file.&lt;/P&gt;
&lt;P&gt;Thanks and Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2013 21:13:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Result-error-in-Pardiso/m-p/977582#M17153</guid>
      <dc:creator>danielsue</dc:creator>
      <dc:date>2013-08-16T21:13:32Z</dc:date>
    </item>
    <item>
      <title>With a condition number of</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Result-error-in-Pardiso/m-p/977583#M17154</link>
      <description>&lt;P&gt;With a condition number of 4E15, and the 15.95 decimal digits that 64-bit reals provide, you have &lt;STRONG&gt;less than one&lt;/STRONG&gt; reliable digit in your solution. How, then, do you conclude that&amp;nbsp;&amp;nbsp;"the result of the first equation is correct"?&lt;/P&gt;
&lt;P&gt;To proceed further, we need to know more data on a case where you judge the results to be wrong -- for example, you may provide a file containing the Pardiso solutions and another containing the "correct" solutions from another solver (please specify its identity completely).&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2013 09:15:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Result-error-in-Pardiso/m-p/977583#M17154</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2013-08-17T09:15:00Z</dc:date>
    </item>
    <item>
      <title>Quote:mecej4 wrote:</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Result-error-in-Pardiso/m-p/977584#M17155</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;mecej4 wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;With a condition number of 4E15, and the 15.95 decimal digits that 64-bit reals provide, you have &lt;STRONG&gt;less than one&lt;/STRONG&gt; reliable digit in your solution. How, then, do you conclude that&amp;nbsp;&amp;nbsp;"the result of the first equation is correct"?&lt;/P&gt;
&lt;P&gt;To proceed further, we need to know more data on a case where you judge the results to be wrong -- for example, you may provide a file containing the Pardiso solutions and another containing the "correct" solutions from another (please specify its identity completely).&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I have compared the solution with other two solvers, the origional sequential solver that use ILU precondition and PETSc. The latter two solver can generate close results while Pardiso cannot. More important, this is from a flow problem, we check the results with theoretical analysis and we are sure the results by the other two solvers are correct, at least, resonable.&lt;/P&gt;
&lt;P&gt;One question is that Pardiso can solve one equation correctly, seems that for matrices with high condition number, Pardiso may solve it by chance.&lt;/P&gt;
&lt;P&gt;Please find the results compare in the attached file (some of them have also been included in the previous attachment), where x_pardiso_i.txt is the result of pardiso, x_PETSc_i.txt is the result of PETSc and x_i.txt is the result of origional sequential solver, i is the ith linear equation.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2013 17:54:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Result-error-in-Pardiso/m-p/977584#M17155</guid>
      <dc:creator>danielsue</dc:creator>
      <dc:date>2013-08-17T17:54:37Z</dc:date>
    </item>
  </channel>
</rss>

