<?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 Sorry I attached a wrong file in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929094#M13608</link>
    <description>&lt;P&gt;Sorry I attached a wrong file. The correct project was attached.&lt;/P&gt;
&lt;P&gt;I figured out that if we use the ilp64 library (with the option /DMKL_ILP64) the pardiso library has linking problem (I guess)&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Kien&lt;/P&gt;</description>
    <pubDate>Fri, 12 Apr 2013 22:10:56 GMT</pubDate>
    <dc:creator>bryce155</dc:creator>
    <dc:date>2013-04-12T22:10:56Z</dc:date>
    <item>
      <title>Pardiso unable to solve a symmetric matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929083#M13597</link>
      <description>&lt;P&gt;Hello MKL tech support,&lt;/P&gt;
&lt;P&gt;I have a positive definite matrix and using Pardiso to solve the problem. I kept receiving the error -4 for the solver. It is interative refinement problem in phase 33.&lt;/P&gt;
&lt;P&gt;My params for pardiso are:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iparm[7] = 15; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;iparm[10] = 0; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;iparm[12] = 0; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; iparm[0] = 1; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;iparm[1] = 0; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iparm[3] = 0; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;iparm[4] = 0; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;iparm[5] = 0; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;iparm[6] = 0; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;iparm[9] = 13;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iparm[11] = 0;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iparm[13] = 0; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;iparm[17] = -1; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;iparm[18] = 0; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;iparm[19] = 0; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;iparm[20] = 0; &lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;iparm[26] = 1; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;iparm[27] = 0; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;iparm[34] = 1; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;iparm[59] = 0;&lt;/P&gt;
&lt;P&gt;I am trying to solve Ax = y but there was no error in the factorization phase until the phase 33.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2013 21:35:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929083#M13597</guid>
      <dc:creator>bryce155</dc:creator>
      <dc:date>2013-04-09T21:35:07Z</dc:date>
    </item>
    <item>
      <title>Please show us the code</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929084#M13598</link>
      <description>&lt;P&gt;Please show us the code snippet that calls pardiso, in particular:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;value of mtype?&lt;/LI&gt;
&lt;LI&gt;value of phase?&lt;/LI&gt;
&lt;LI&gt;Please set msglvl = 1 to produce statistical report &lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Check your iparm:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Check the value of iparm[29] on output to see if there're any zero or negative pivots.&lt;/LI&gt;
&lt;LI&gt;Because you set iparm[0] = 1, then you must make sure you supply *all* values in iparm[1] through iparm[63].&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Also, please let us know your MKL version, OS, compiler, and CPU type. Thanks.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2013 22:53:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929084#M13598</guid>
      <dc:creator>Zhang_Z_Intel</dc:creator>
      <dc:date>2013-04-09T22:53:24Z</dc:date>
    </item>
    <item>
      <title>Hi Zhang,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929085#M13599</link>
      <description>&lt;P&gt;Hi Zhang,&lt;/P&gt;
&lt;P&gt;mtype = -2;&lt;/P&gt;
&lt;P&gt;Please find the code snippet attached. The matrix was attached in the zip file in the previous post under CRS format. stiffness.txt is the values, and I tried to solve&amp;nbsp; Ax = y.&lt;/P&gt;
&lt;P&gt;I am using vc10 compiler, MKL 11.0.3. The error only produced at the phase = 33. No zero pivot was detected.&lt;/P&gt;
&lt;P&gt;Even when I set the maximum number of refinement iterative to 15 but it still stop at 4.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2013 03:30:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929085#M13599</guid>
      <dc:creator>bryce155</dc:creator>
      <dc:date>2013-04-10T03:30:33Z</dc:date>
    </item>
    <item>
      <title>Thanks for providing the code</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929086#M13600</link>
      <description>&lt;P&gt;Thanks for providing the code. Your matrix can be solved using PARDISO. Please change the following iparm parameters:&lt;/P&gt;
&lt;P&gt;iparm[7] = -5; // negative number means accumulation with extended precision&lt;/P&gt;
&lt;P&gt;iparm[9] = 8; // pivot perturbation eps, 10&lt;SUP&gt;-8&lt;/SUP&gt; is recommended for symmetric indifinite matrices&lt;/P&gt;
&lt;P&gt;iparm[20] = 1; // pivotting method, Bunch-Kaufman is recommended for symmetric indifinite matrices&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2013 22:13:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929086#M13600</guid>
      <dc:creator>Zhang_Z_Intel</dc:creator>
      <dc:date>2013-04-10T22:13:57Z</dc:date>
    </item>
    <item>
      <title>Hi Zhang,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929087#M13601</link>
      <description>&lt;P&gt;Hi Zhang,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thank you for your prompt response. I tried with your suggestion but it still stopped at 4 iterative refinement. I just wonder that if you really tried to solve the matrix. I attached a smaller matrix with similar problem. also stop at 4 refinement steps even when I increased the iparm[7] to -10.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thank you for your helps,&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2013 04:00:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929087#M13601</guid>
      <dc:creator>bryce155</dc:creator>
      <dc:date>2013-04-11T04:00:06Z</dc:date>
    </item>
    <item>
      <title>Of course I solved the matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929088#M13602</link>
      <description>&lt;P&gt;Of course I solved the matrix successfully before posting my response! See my full program attached. It's based on your original version.&lt;/P&gt;
&lt;P&gt;Note that iparm[7] sets the *maximum* number of iterative refinement steps. It doesn't mean it always goes through that many steps.&lt;/P&gt;
&lt;P&gt;In my program, it actually needed 5 steps.&lt;/P&gt;
&lt;P&gt;Do you still get an error in the solving step? What is it?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2013 04:52:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929088#M13602</guid>
      <dc:creator>Zhang_Z_Intel</dc:creator>
      <dc:date>2013-04-11T04:52:44Z</dc:date>
    </item>
    <item>
      <title>By the way, I'm using MKL 11</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929089#M13603</link>
      <description>&lt;P&gt;By the way, I'm using MKL 11.0.2 and the compiler is ICC 13.1.0. This is how I build the code:&lt;/P&gt;
&lt;P&gt;icc -std=c99 -DMKL_ILP64 -I$MKLROOT/include pardiso_code.c -L$MKLROOT/lib/intel64 -lmkl_rt -lpthread -lm&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2013 05:04:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929089#M13603</guid>
      <dc:creator>Zhang_Z_Intel</dc:creator>
      <dc:date>2013-04-11T05:04:03Z</dc:date>
    </item>
    <item>
      <title>Thanks Zhang.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929090#M13604</link>
      <description>&lt;P&gt;Thanks Zhang.&lt;/P&gt;
&lt;P&gt;Ididnt have the intel compiler so I created a projectfrom your code with Microsoft Visual Studio 10 and Intel Composer XE 13 in 64 machine with 64bits library . It compiled successfully but when I ran the program it crashed right at the first call to PARDIO (phase = 11). (both with single dynamic layer (mkl_rt) or with the lirary from the Advisor line) (with both the interger32 and 64)&lt;/P&gt;
&lt;P&gt;However, linking with 32bit with 32bit library was working fine. It didnt have enough memoryto solve for the first one that I sent you but for the second one it could solve the matrix.&lt;/P&gt;
&lt;P&gt;My MKL version is 11.0.3 and intel composer XE 13 (the latest update for both)&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2013 00:30:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929090#M13604</guid>
      <dc:creator>Hoang_Kien_D_</dc:creator>
      <dc:date>2013-04-12T00:30:42Z</dc:date>
    </item>
    <item>
      <title>I included the project so</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929091#M13605</link>
      <description>&lt;P&gt;I included the project so that you can see the configuration. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2013 00:37:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929091#M13605</guid>
      <dc:creator>Hoang_Kien_D_</dc:creator>
      <dc:date>2013-04-12T00:37:53Z</dc:date>
    </item>
    <item>
      <title>Hi Bryce,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929092#M13606</link>
      <description>&lt;P&gt;Hi Bryce,&lt;/P&gt;
&lt;P&gt;I have checked your matrix with the following settings:&lt;/P&gt;
&lt;P&gt;iparm[0] =1, iparm[1]=2, iparm[7]=2, iparm[9]=13, iparm[34]=1, all other iparm set to 0. With this setting the relative residual of the solution is equal to 1.12e-12.&lt;/P&gt;
&lt;P&gt;Increasing the number of iterations for this matrix&amp;nbsp;cannot improve the solution of the system,&amp;nbsp;that's why&amp;nbsp;solving step return error. Nevertheless, as wrote above, norm of residual quite good, so you can switch off iterative refinement&lt;/P&gt;
&lt;P&gt;Regards, Roman&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2013 07:56:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929092#M13606</guid>
      <dc:creator>Roman_A_Intel</dc:creator>
      <dc:date>2013-04-12T07:56:51Z</dc:date>
    </item>
    <item>
      <title>Thanks Roman. Could you take</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929093#M13607</link>
      <description>&lt;UL&gt;
&lt;LI&gt;Thanks Roman. Could you take alook at the ms project file to see that why it crashed when compile in 64 bits?Many thanks for your help.Kien&lt;/LI&gt;
&lt;LI&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 12 Apr 2013 12:16:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929093#M13607</guid>
      <dc:creator>Hoang_Kien_D_</dc:creator>
      <dc:date>2013-04-12T12:16:53Z</dc:date>
    </item>
    <item>
      <title>Sorry I attached a wrong file</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929094#M13608</link>
      <description>&lt;P&gt;Sorry I attached a wrong file. The correct project was attached.&lt;/P&gt;
&lt;P&gt;I figured out that if we use the ilp64 library (with the option /DMKL_ILP64) the pardiso library has linking problem (I guess)&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Kien&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2013 22:10:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929094#M13608</guid>
      <dc:creator>bryce155</dc:creator>
      <dc:date>2013-04-12T22:10:56Z</dc:date>
    </item>
    <item>
      <title>I was able to reproduce this</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929095#M13609</link>
      <description>&lt;P&gt;I was able to reproduce this problem. The execution ended abruptly in the analysis step (phase=11). I'm conducting more investigations and will update here as soon as possible.&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;bryce155 wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Sorry I attached a wrong file. The correct project was attached.&lt;/P&gt;
&lt;P&gt;I figured out that if we use the ilp64 library (with the option /DMKL_ILP64) the pardiso library has linking problem (I guess)&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Kien&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2013 16:30:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929095#M13609</guid>
      <dc:creator>Zhang_Z_Intel</dc:creator>
      <dc:date>2013-04-15T16:30:06Z</dc:date>
    </item>
    <item>
      <title>Finally, we know what's wrong</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929096#M13610</link>
      <description>&lt;P&gt;Finally, we know what's wrong with the code. You need to use "%lld" as the format string in those fscanf statements when reading integers from input files. This is because you want to use the 64-bit version of PARDISO (by either calling pardiso_64 or by defining MKL_ILP64). Then you must make sure every integer you read in is 64-bit!&lt;/P&gt;
&lt;P&gt;After fixing this fscanf format problem, the code runs like a charm. &lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2013 17:39:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929096#M13610</guid>
      <dc:creator>Zhang_Z_Intel</dc:creator>
      <dc:date>2013-04-16T17:39:47Z</dc:date>
    </item>
    <item>
      <title>Hi Zhang,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929097#M13611</link>
      <description>&lt;P&gt;Hi Zhang,&lt;/P&gt;
&lt;P&gt;Thank you so much for your helps. When I changed the string format to lld it did worked. However, when I used pardiso call the residual was 2.893196e-12 and when I call pardiso_64 (ilp64) the residual went to to 1.596730e+6. I attached the matrix.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2013 21:42:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-unable-to-solve-a-symmetric-matrix/m-p/929097#M13611</guid>
      <dc:creator>bryce155</dc:creator>
      <dc:date>2013-04-17T21:42:23Z</dc:date>
    </item>
  </channel>
</rss>

