<?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 - unknown cgs_error in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-unknown-cgs-error/m-p/875394#M8869</link>
    <description>&lt;P&gt;Unfortunatley I'm not allowed to post the matrix on which the problem has been identified (due to confidentiality restriction).&lt;/P&gt;
&lt;P&gt;I've tried to reproduce the problem on a smaller matrix but without success.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;However I've found the origin of the "problem". When I modified the matrix, I was using the following code:&lt;/P&gt;
&lt;P&gt;M-&amp;gt;x&lt;I&gt; = M-&amp;gt;x&lt;I&gt; * (1 + (rand()-0.5)/100.0 );&lt;/I&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;I've forgot to divide by RAND_MAX. It means that I was modifying my matrix much more than expected. My matrix was quite large (around 130,000 variables) and very sparse (+/- 8 elements per line). Maybe you can reproduce the same problem on one of your testcase.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Dividing by RAND_MAX I obtain more reasonable results (either convergence or an error explained in the PARIDISO documentation).&lt;/P&gt;</description>
    <pubDate>Tue, 09 Mar 2010 10:09:54 GMT</pubDate>
    <dc:creator>bertrand_haut</dc:creator>
    <dc:date>2010-03-09T10:09:54Z</dc:date>
    <item>
      <title>PARDISO - unknown cgs_error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-unknown-cgs-error/m-p/875392#M8867</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;
&lt;P&gt;I'm using PARDISO to do the following:&lt;/P&gt;
&lt;P&gt;1) Solve a linear system for a given matrix A using a direct method&lt;/P&gt;
&lt;P&gt;I'm using the following options:&lt;/P&gt;
&lt;P&gt;for (i = 0; i &amp;lt; 64; i++) {&lt;BR /&gt; iparm&lt;I&gt; = 0;&lt;BR /&gt; }&lt;BR /&gt; iparm[0] = 1; /* No solver default */&lt;BR /&gt;iparm[1] = 2; /* Fill-in reordering from METIS */&lt;BR /&gt;iparm[2] = 1;&lt;BR /&gt;iparm[3] = 0; /* No iterative-direct algorithm */&lt;BR /&gt;iparm[4] = 0; /* No user fill-in reducing permutation */&lt;BR /&gt;iparm[5] = 0; /* Write solution into x */&lt;BR /&gt;iparm[6] = 0; /* Not in use */&lt;BR /&gt;iparm[7] = 2; /* Max numbers of iterative refinement steps */&lt;BR /&gt;iparm[8] = 0; /* Not in use */&lt;BR /&gt; iparm[9] = 13; /* Perturb the pivot elements with 1E-13 */&lt;BR /&gt;iparm[10] = 1; /* Use nonsymmetric permutation and scaling MPS */&lt;BR /&gt; iparm[11] = 0; /* Not in use */&lt;BR /&gt; iparm[12] = 1; /* Maximum weighted matching algorithm is switched-on (default for non-symmetric) */&lt;BR /&gt;iparm[13] = 0; /* Output: Number of perturbed pivots */&lt;BR /&gt; iparm[14] = 0; /* Not in use */&lt;BR /&gt; iparm[15] = 0; /* Not in use */&lt;BR /&gt; iparm[16] = 0; /* Not in use */&lt;BR /&gt; iparm[17] = -1; /* Output: Number of nonzeros in the factor LU */&lt;BR /&gt; iparm[18] = -1; /* Output: Mflops for LU factorization */&lt;BR /&gt; iparm[19] = 0; /* Output: Numbers of CG Iterations */&lt;BR /&gt;iparm[26]=1; /*Check matrix consistency*/&lt;BR /&gt;&lt;BR /&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;2) Modify slightly the matrix A, (only the values are changed, not the structure of the matrix)&lt;/P&gt;
&lt;P&gt;3) Solve a new linear system by using an iterative method :&lt;/P&gt;
&lt;P&gt;iparm[3] = 41;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;The steps 1 and 2 are working well however I've a problem with step 3.&lt;/P&gt;
&lt;P&gt;The call to PARDISO ends with an error code - 4. The value of iparm[19] is -16. It means that cgs_error is equal to 6. However in the PARDISO documentation only the values 1 to 5 are documented.&lt;/P&gt;
&lt;P&gt;What does cgs_error = 6 means ?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks in advance,&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2010 08:00:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-unknown-cgs-error/m-p/875392#M8867</guid>
      <dc:creator>bertrand_haut</dc:creator>
      <dc:date>2010-03-08T08:00:36Z</dc:date>
    </item>
    <item>
      <title>PARDISO - unknown cgs_error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-unknown-cgs-error/m-p/875393#M8868</link>
      <description>&lt;P&gt;Bertrand,&lt;/P&gt;
&lt;P&gt;This is an unexpected result. Could you give us the example for reproducing the problem?&lt;/P&gt;
&lt;P&gt;--Gennady&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2010 05:55:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-unknown-cgs-error/m-p/875393#M8868</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-03-09T05:55:50Z</dc:date>
    </item>
    <item>
      <title>PARDISO - unknown cgs_error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-unknown-cgs-error/m-p/875394#M8869</link>
      <description>&lt;P&gt;Unfortunatley I'm not allowed to post the matrix on which the problem has been identified (due to confidentiality restriction).&lt;/P&gt;
&lt;P&gt;I've tried to reproduce the problem on a smaller matrix but without success.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;However I've found the origin of the "problem". When I modified the matrix, I was using the following code:&lt;/P&gt;
&lt;P&gt;M-&amp;gt;x&lt;I&gt; = M-&amp;gt;x&lt;I&gt; * (1 + (rand()-0.5)/100.0 );&lt;/I&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;I've forgot to divide by RAND_MAX. It means that I was modifying my matrix much more than expected. My matrix was quite large (around 130,000 variables) and very sparse (+/- 8 elements per line). Maybe you can reproduce the same problem on one of your testcase.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Dividing by RAND_MAX I obtain more reasonable results (either convergence or an error explained in the PARIDISO documentation).&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2010 10:09:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-unknown-cgs-error/m-p/875394#M8869</guid>
      <dc:creator>bertrand_haut</dc:creator>
      <dc:date>2010-03-09T10:09:54Z</dc:date>
    </item>
    <item>
      <title>PARDISO - unknown cgs_error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-unknown-cgs-error/m-p/875395#M8870</link>
      <description>&lt;P&gt;Bertrand,&lt;/P&gt;
&lt;P&gt;I wasn't able to do that on my side. The 130K of nnz is not very big task, I believe ( &amp;lt; 1.5 Mb) . Can you give us the testcase and attached it to this post? If it's the private data, then you can submit the private post.&lt;/P&gt;
&lt;P&gt;--Gennady&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2010 15:41:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-unknown-cgs-error/m-p/875395#M8870</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-03-12T15:41:58Z</dc:date>
    </item>
  </channel>
</rss>

