<?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 error Real symmetric matrix in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-error-Real-symmetric-matrix/m-p/783433#M1632</link>
    <description>Hi mecej4,&lt;BR /&gt;&lt;BR /&gt;I found that there was a problem while assembling the matrix which made it indefinite. I had a print statement in my code to output content which was truncating the double till 6 digit places after decimal. And this made matrix look like positive definite. I printed some more decimal places in matrix and found that it is not positive definite. &lt;BR /&gt;&lt;BR /&gt;Here is content&lt;BR /&gt;&lt;BR /&gt;{4.564347977772266, 0.000000000000000, 0.000000000000000, -3.042423867081960, -1.521924110690306, 7.606773629731492, -6.087562211441041, 0.000000000000000, 1.521211933540980, -3.040423351831432, 7.606774711348293, -6.088179968041103, 0.000000000000000, 1.521211933540980, -3.039806676848170, 27.400923272820172, -9.137043110816320, -4.569465236748068, -0.001010321139017, -0.000392564538955, 1.525154006986292, 10.656404978781763, 1.522569172179540, 1.522878050479571, -4.564809090624554, 2010.166596681374100, -2000.278354385391800, -2000.278045507091700, -4.559016394738700, 1994.953937031492400, 3.043848054711660, 2010.168622855250500, 1994.954802754721400, 1.520566788717270, -2000.279206463460500, -1.525440582246566, -3.042126466799454, 2010.168624264110300, 1.520257910417239, -2000.279515341760500, -1.526058338846628, -3.042744550642403, 10.643689148584869, -9.125497452980678, 0.000000000000000, 0.000000000000000, 2010.168918568560700, -3.041526141973496, 1.520061628147761, 1.520061628147761, -1.523075825515666, 27.376693628491292, -6.081256833730062, -6.080639077130000, -3.040123256295522, 7.603321672381755, 0.000000000000000, 7.603321999624642, 0.000000000000000, 4.563199081811187}&lt;BR /&gt;&lt;BR /&gt;Thanks for all your help,&lt;BR /&gt;Ashish</description>
    <pubDate>Mon, 05 Dec 2011 11:06:11 GMT</pubDate>
    <dc:creator>negi__ashish</dc:creator>
    <dc:date>2011-12-05T11:06:11Z</dc:date>
    <item>
      <title>PARDISO error Real symmetric matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-error-Real-symmetric-matrix/m-p/783426#M1625</link>
      <description>Hello Everyone,&lt;BR /&gt;&lt;BR /&gt;I use MKL 10.1 to solve sparse linear system. System is symmetric and positive definite but during phase 22 PARDISO fails with error code -1 and message is &lt;I&gt;'Error in PARDISO: zero or negative pivot, A is not SPD-matrix'&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;Can anyone help me to find the reason for this error? I have attached a part of code from my software and some statistical information printed by PARDISO. Please see the attachment. Please find the sparse matrix at the end of this mail.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ashish&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rowIndex&lt;BR /&gt;1 &lt;BR /&gt;6 &lt;BR /&gt;11 &lt;BR /&gt;16 &lt;BR /&gt;22 &lt;BR /&gt;26 &lt;BR /&gt;32 &lt;BR /&gt;38 &lt;BR /&gt;43 &lt;BR /&gt;47 &lt;BR /&gt;52 &lt;BR /&gt;56 &lt;BR /&gt;58 &lt;BR /&gt;60 &lt;BR /&gt;61 &lt;BR /&gt;&lt;BR /&gt;columns&lt;BR /&gt;1 2 3 4 6 &lt;BR /&gt;2 4 5 6 7 &lt;BR /&gt;3 4 5 6 8 &lt;BR /&gt;4 5 6 7 8 10 &lt;BR /&gt;5 7 8 10 &lt;BR /&gt;6 7 8 9 10 11 &lt;BR /&gt;7 8 9 10 11 12 &lt;BR /&gt;8 9 10 11 13 &lt;BR /&gt;9 11 12 13 &lt;BR /&gt;10 11 12 13 14 &lt;BR /&gt;11 12 13 14 &lt;BR /&gt;12 14 &lt;BR /&gt;13 14 &lt;BR /&gt;14 &lt;BR /&gt;&lt;BR /&gt;values&lt;BR /&gt;4.564348 0.000000 0.000000 -3.042424 -1.521924 &lt;BR /&gt;7.606774 -6.087562 0.000000 1.521212 -3.040423 &lt;BR /&gt;7.606775 -6.088180 0.000000 1.521212 -3.039807 &lt;BR /&gt;27.400923 -9.137043 -4.569465 -0.001010 -0.000393 1.525154 &lt;BR /&gt;10.656405 1.522569 1.522878 -4.564809 &lt;BR /&gt;2010.166597 -2000.278354 -2000.278046 -4.559016 1994.953937 3.043848 &lt;BR /&gt;2010.168623 1994.954803 1.520567 -2000.279206 -1.525441 -3.042126 &lt;BR /&gt;2010.168624 1.520258 -2000.279515 -1.526058 -3.042745 &lt;BR /&gt;10.643689 -9.125497 0.000000 0.000000 &lt;BR /&gt;2010.168919 -3.041526 1.520062 1.520062 -1.523076 &lt;BR /&gt;27.376694 -6.081257 -6.080639 -3.040123&lt;BR /&gt;7.603322 0.000000 &lt;BR /&gt;7.603322 0.000000 &lt;BR /&gt;4.563199 &lt;BR /&gt;</description>
      <pubDate>Thu, 01 Dec 2011 13:23:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-error-Real-symmetric-matrix/m-p/783426#M1625</guid>
      <dc:creator>negi__ashish</dc:creator>
      <dc:date>2011-12-01T13:23:02Z</dc:date>
    </item>
    <item>
      <title>PARDISO error Real symmetric matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-error-Real-symmetric-matrix/m-p/783427#M1626</link>
      <description>error code == -1 means the input inconsistent. Please switch on the matrix checker (iparm(27) ) andPARDISO will check integer arrays ia and ja.</description>
      <pubDate>Thu, 01 Dec 2011 14:06:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-error-Real-symmetric-matrix/m-p/783427#M1626</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2011-12-01T14:06:36Z</dc:date>
    </item>
    <item>
      <title>PARDISO error Real symmetric matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-error-Real-symmetric-matrix/m-p/783428#M1627</link>
      <description>It is rarely possible to find errors if you give only fragments of code. In particular, declarations of arrays and variables are most often where errors are made.&lt;BR /&gt;&lt;BR /&gt;By adapting the MKL example &lt;I&gt;pardiso_sym_c.c&lt;/I&gt;, with data from your input matrix, I found that Pardiso handles the matrix without error, and that the matrix is positive definite.&lt;BR /&gt;&lt;BR /&gt;The modified file is attached.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Dec 2011 18:46:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-error-Real-symmetric-matrix/m-p/783428#M1627</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-12-01T18:46:32Z</dc:date>
    </item>
    <item>
      <title>PARDISO error Real symmetric matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-error-Real-symmetric-matrix/m-p/783429#M1628</link>
      <description>Fedorov,&lt;BR /&gt;&lt;BR /&gt;Thanks for reply.&lt;BR /&gt;&lt;BR /&gt;I switched matrix checker on but I do not see output of this check. Where can I get output from matrix checker?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ashish</description>
      <pubDate>Fri, 02 Dec 2011 11:28:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-error-Real-symmetric-matrix/m-p/783429#M1628</guid>
      <dc:creator>negi__ashish</dc:creator>
      <dc:date>2011-12-02T11:28:55Z</dc:date>
    </item>
    <item>
      <title>PARDISO error Real symmetric matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-error-Real-symmetric-matrix/m-p/783430#M1629</link>
      <description>Note that, in C, you need to specify iparm[26] = 1 since C uses zero based array indices.&lt;BR /&gt;&lt;BR /&gt;You will see output from the matrix checker only if there are errors. To test this, present the first row of the matrix in unsorted order, i.e., instead of &lt;BR /&gt;&lt;BR /&gt; 1,2,3,4,6,&lt;BR /&gt;&lt;BR /&gt;give&lt;BR /&gt;&lt;BR /&gt; 1,2,3,6,4,&lt;BR /&gt;&lt;BR /&gt;and you will see&lt;BR /&gt;&lt;BR /&gt; *** Error in PARDISO (incorrect input matrix ) error_num= 24&lt;BR /&gt; *** Input check: j=4, ja(j)=6, ja(j+1)=4 are incompatible&lt;BR /&gt;&lt;BR /&gt; ERROR during symbolic factorization: -1</description>
      <pubDate>Fri, 02 Dec 2011 12:27:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-error-Real-symmetric-matrix/m-p/783430#M1629</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-12-02T12:27:12Z</dc:date>
    </item>
    <item>
      <title>PARDISO error Real symmetric matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-error-Real-symmetric-matrix/m-p/783431#M1630</link>
      <description>Hi mecej4,&lt;B&gt;&lt;BR /&gt;
  &lt;BR /&gt;
&lt;/B&gt;Thanks for quick reply.&lt;BR /&gt;
&lt;BR /&gt;
That means sparse matrix structure is correct. I too solved this matrix by modifying MKL sample program. Its strange 
that it did not give any such error and easily factorised the matrix in phase 22. After you pointed out, I made sure that all the data and data type are 
same in both MKL sample program and my software.&lt;BR /&gt;
&lt;BR /&gt;
As a matter of fact, I have been using this code for solving sparse system for quite some time. Recently, I made changes to add few more terms in coefficient matrix. Since, then I have been getting such error.&lt;BR /&gt;&lt;BR /&gt;Can you suggest some way to get more information on what is going wrong?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ashish&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Dec 2011 13:01:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-error-Real-symmetric-matrix/m-p/783431#M1630</guid>
      <dc:creator>negi__ashish</dc:creator>
      <dc:date>2011-12-02T13:01:43Z</dc:date>
    </item>
    <item>
      <title>PARDISO error Real symmetric matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-error-Real-symmetric-matrix/m-p/783432#M1631</link>
      <description>&lt;I&gt;&amp;gt;Can you suggest some way to get more information on what is going wrong?&lt;BR /&gt;&lt;BR /&gt;&lt;/I&gt;Begin by giving a complete, compilable, example where you expect a solution but experience a failure. The code fragment that you provided earlier is not enough.&lt;BR /&gt;&lt;BR /&gt;Note that changing the value of even one element of a positive definite matrix can make the resulting matrix indefinite.</description>
      <pubDate>Fri, 02 Dec 2011 14:22:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-error-Real-symmetric-matrix/m-p/783432#M1631</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-12-02T14:22:01Z</dc:date>
    </item>
    <item>
      <title>PARDISO error Real symmetric matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-error-Real-symmetric-matrix/m-p/783433#M1632</link>
      <description>Hi mecej4,&lt;BR /&gt;&lt;BR /&gt;I found that there was a problem while assembling the matrix which made it indefinite. I had a print statement in my code to output content which was truncating the double till 6 digit places after decimal. And this made matrix look like positive definite. I printed some more decimal places in matrix and found that it is not positive definite. &lt;BR /&gt;&lt;BR /&gt;Here is content&lt;BR /&gt;&lt;BR /&gt;{4.564347977772266, 0.000000000000000, 0.000000000000000, -3.042423867081960, -1.521924110690306, 7.606773629731492, -6.087562211441041, 0.000000000000000, 1.521211933540980, -3.040423351831432, 7.606774711348293, -6.088179968041103, 0.000000000000000, 1.521211933540980, -3.039806676848170, 27.400923272820172, -9.137043110816320, -4.569465236748068, -0.001010321139017, -0.000392564538955, 1.525154006986292, 10.656404978781763, 1.522569172179540, 1.522878050479571, -4.564809090624554, 2010.166596681374100, -2000.278354385391800, -2000.278045507091700, -4.559016394738700, 1994.953937031492400, 3.043848054711660, 2010.168622855250500, 1994.954802754721400, 1.520566788717270, -2000.279206463460500, -1.525440582246566, -3.042126466799454, 2010.168624264110300, 1.520257910417239, -2000.279515341760500, -1.526058338846628, -3.042744550642403, 10.643689148584869, -9.125497452980678, 0.000000000000000, 0.000000000000000, 2010.168918568560700, -3.041526141973496, 1.520061628147761, 1.520061628147761, -1.523075825515666, 27.376693628491292, -6.081256833730062, -6.080639077130000, -3.040123256295522, 7.603321672381755, 0.000000000000000, 7.603321999624642, 0.000000000000000, 4.563199081811187}&lt;BR /&gt;&lt;BR /&gt;Thanks for all your help,&lt;BR /&gt;Ashish</description>
      <pubDate>Mon, 05 Dec 2011 11:06:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-error-Real-symmetric-matrix/m-p/783433#M1632</guid>
      <dc:creator>negi__ashish</dc:creator>
      <dc:date>2011-12-05T11:06:11Z</dc:date>
    </item>
  </channel>
</rss>

