<?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 Lapack and Pardiso results are not the same. in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855542#M6965</link>
    <description>Thought I would bring this thread up instead of creating new one.&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;I have 3 programs to solve linear equations system - Pardiso, Lapack and one written with OpenMP by hand.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;2nd and 3rd always give identical results, but Pardiso results are same with 2nd and 3rd programs only when system is not big, i.e. 100 equations or so.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;After 200 there is huge difference in results, example:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Pardiso:&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;PRE&gt;[bash]x[190] = 0.148965665581836 
x[191] = 0.070085873857829 
x[192] = -0.081967888801244 
x[193] = -0.004636397132979 
x[194] = 0.144152764617072 
x[195] = 0.068992992279192 
x[196] = -0.075972409973426 
x[197] = -0.002248602377340 
x[198] = 0.139676431782044 
x[199] = 0.067989446179749 
x[200] = -0.043945941466850[/bash]&lt;/PRE&gt; &lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Lapack:&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;PRE&gt;[bash]x[190] = 0.000054015242395 
x[191] = -0.000008779165926 
x[192] = 0.000032009486079 
x[193] = 0.000074904450179 
x[194] = 0.000016875289852 
x[195] = -0.000043032478423 
x[196] = -0.000004206083729 
x[197] = 0.000036651462645 
x[198] = -0.000018741413415 
x[199] = -0.000075950902342 
x[200] = -0.000038955173214[/bash]&lt;/PRE&gt; &lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Hand Made:&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;PRE&gt;[bash]x[190] = 0.000054015242395 
x[191] = -0.000008779165926 
x[192] = 0.000032009486079 
x[193] = 0.000074904450179 
x[194] = 0.000016875289852 
x[195] = -0.000043032478423 
x[196] = -0.000004206083729 
x[197] = 0.000036651462645 
x[198] = -0.000018741413415 
x[199] = -0.000075950902342 
x[200] = -0.000038955173214[/bash]&lt;/PRE&gt; &lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;My Pardiso settings are:&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;PRE&gt;[bash]        for (i = 0; i &amp;lt; 64; i++) {
                iparm&lt;I&gt; = 0;
        }
        iparm[0] = 1; /* No solver default */
        iparm[1] = 2; /* Fill-in reordering from METIS */
        /* Numbers of processors, value of OMP_NUM_THREADS */
        iparm[2] = 2;
        iparm[3] = 0; /* No iterative-direct algorithm */
        iparm[4] = 0; /* No user fill-in reducing permutation */
        iparm[5] = 0; /* Write solution into x */
        iparm[6] = 0; /* Not in use */
        iparm[7] = 2; /* Max numbers of iterative refinement steps */
        iparm[8] = 0; /* Not in use */
        iparm[9] = 13; /* Perturb the pivot elements with 1E-13 */
        iparm[10] = 1; /* Use nonsymmetric permutation and scaling MPS */
        iparm[11] = 0; /* Not in use */
        iparm[12] = 0; /* Maximum weighted matching algorithm is switched-on (default for non-symmetric) */
        iparm[13] = 0; /* Output: Number of perturbed pivots */
        iparm[14] = 0; /* Not in use */
        iparm[15] = 0; /* Not in use */
        iparm[16] = 0; /* Not in use */
        iparm[17] = -1; /* Output: Number of nonzeros in the factor LU */
        iparm[18] = -1; /* Output: Mflops for LU factorization */
        iparm[19] = 0; /* Output: Numbers of CG Iterations */
        maxfct = 1; /* Maximum number of numerical factorizations. */
        mnum = 1; /* Which factorization to use. */
        msglvl = 0; /* Print statistical information in file */
        error = 0; /* Initialize error flag */
        for (i = 0; i &amp;lt; 64; i++) {
                pt&lt;I&gt; = 0;
        }
[/bash]&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt; &lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Which is pretty similar to the ones in example.&lt;/DIV&gt;&lt;DIV&gt;Once again, results are same in all 3 programs when system has 100 equations or under.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 27 Apr 2010 21:42:58 GMT</pubDate>
    <dc:creator>slavaua</dc:creator>
    <dc:date>2010-04-27T21:42:58Z</dc:date>
    <item>
      <title>Lapack and Pardiso results are not the same.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855524#M6947</link>
      <description>Hello!&lt;BR /&gt;

I have a problem with Pardiso set up. Previously to solve my linear 
system i have used two lapack procedures dgetrf for factorization and 
dgetrs for solving system. Now i want to use Pardiso i have compressed 
my matrix and run solver over it, but results from Pardiso are different
 than this one obtained from (i have used default settings of Pardiso) 
does any one know maybe how should i set up Pardiso to obtain similar 
results ?&lt;BR /&gt;&lt;BR /&gt;I want to add, that i have zeroes on diagonal and i am using following configuration:&lt;BR /&gt;iparm[0] = 0; &lt;BR /&gt;iparm[1] = 1; &lt;BR /&gt;iparm[2] = 1;&lt;BR /&gt;iparm[3] = 0; &lt;BR /&gt;iparm[4] = 0; &lt;BR /&gt;iparm[5] = 0; &lt;BR /&gt;iparm[6] = 0; &lt;BR /&gt;iparm[7] = 20;&lt;BR /&gt;iparm[8] = 0; &lt;BR /&gt;iparm[9] = 8; &lt;BR /&gt;iparm[10] = 1;&lt;BR /&gt;iparm[11] = 0; &lt;BR /&gt;iparm[12] = 1; &lt;BR /&gt;iparm[13] = 0; &lt;BR /&gt;iparm[14] = 0; &lt;BR /&gt;iparm[15] = 0;&lt;BR /&gt;iparm[16] = 0;&lt;BR /&gt;iparm[17] = -1;&lt;BR /&gt;iparm[18] = -1;&lt;BR /&gt;iparm[19] = 0;&lt;BR /&gt;iparm[21] = 0;&lt;BR /&gt;iparm[26] =1;&lt;BR /&gt;I am running PARDISO in three phases 11,22,33.&lt;BR /&gt;&lt;BR /&gt;Best regards, Michael.</description>
      <pubDate>Fri, 02 Apr 2010 08:18:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855524#M6947</guid>
      <dc:creator>michaelmoc</dc:creator>
      <dc:date>2010-04-02T08:18:59Z</dc:date>
    </item>
    <item>
      <title>Lapack and Pardiso results are not the same.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855525#M6948</link>
      <description>Hi Michael,&lt;BR /&gt;&lt;BR /&gt;It's a little unclear to me the nature of the problem that you are trying to solve, but I see a few inconsistencies in your settings I believe.&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;You set iparm[0] to 0 (iparm(1) in the &lt;A href="http://software.intel.com/sites/products/documentation/hpc/compilerpro/en-us/cpp/win/mkl/refman/index.htm"&gt;reference manual&lt;/A&gt; or use this new &lt;A href="http://software.intel.com/en-us/articles/pardiso-parameter-table/"&gt;PARDISO parameter table&lt;/A&gt;) to use default values, but the proceed to set the rest.&lt;/LI&gt;&lt;LI&gt;You set iparm[1] to 1, but the default value is 2. Which value would you like?&lt;/LI&gt;&lt;LI&gt;You set iparm[7] to 20, but it has a default value of 0.&lt;/LI&gt;&lt;LI&gt;You set iparm[21] (which is undefined in the manual), but do not set iparm[20] to the default value of 1&lt;/LI&gt;&lt;/UL&gt;Some of these might mean PARDISO is not doing what you wanted expected or wanted it to do.&lt;BR /&gt;&lt;BR /&gt;Do you have a simple test case you can provide?&lt;BR /&gt;&lt;BR /&gt;Todd&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Apr 2010 16:13:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855525#M6948</guid>
      <dc:creator>Todd_R_Intel</dc:creator>
      <dc:date>2010-04-02T16:13:20Z</dc:date>
    </item>
    <item>
      <title>Lapack and Pardiso results are not the same.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855526#M6949</link>
      <description>Hi Todd&lt;BR /&gt;I pasted wrong initialization :/. I have removed all assignment to iparm and i set iparm[0](iparm(1)) to 0.&lt;BR /&gt;Then i want to solve a sparse matrix (which have some 0 values on diagonal) of size 80x80 (its just small sample). The matrix origins are from Finite Elements Method. Matrix type is real unsymetric, mtype=11 (probably is symetric but i am compressing it to unsymetric form). So now i have standard settings of PARDISO and following results (LPK - are results from Lapack and PRD -from PARDISO (sorry for that:) ):&lt;BR /&gt;&lt;BR /&gt;LPK[0]: 0.786590 PAR[0]: -0.411848&lt;BR /&gt;LPK[1]: -0.021839 PAR[1]: 1.322760&lt;BR /&gt;LPK[2]: -0.056615 PAR[2]: -2.966042&lt;BR /&gt;LPK[3]: -0.391792 PAR[3]: 0.257903&lt;BR /&gt;LPK[4]: 0.009292 PAR[4]: -1.766065&lt;BR /&gt;LPK[5]: 0.038043 PAR[5]: 0.676759&lt;BR /&gt;LPK[6]: -1.685003 PAR[6]: -3.789905&lt;BR /&gt;LPK[7]: -0.890598 PAR[7]: -2.279749&lt;BR /&gt;LPK[8]: 0.410337 PAR[8]: 1.222382&lt;BR /&gt;LPK[9]: 1.202881 PAR[9]: 5.315492&lt;BR /&gt;LPK[10]: -1.635822 PAR[10]: 9.369398&lt;BR /&gt;LPK[11]: 1.577946 PAR[11]: 2.168596&lt;BR /&gt;LPK[12]: 1.026373 PAR[12]: -6.362875&lt;BR /&gt;LPK[13]: 0.846750 PAR[13]: 6.724189&lt;BR /&gt;LPK[14]: 0.448387 PAR[14]: 3.193257&lt;BR /&gt;LPK[15]: -0.207959 PAR[15]: -1.647199&lt;BR /&gt;LPK[16]: -0.614929 PAR[16]: -6.553944&lt;BR /&gt;LPK[17]: 0.792811 PAR[17]: -4.023097&lt;BR /&gt;LPK[18]: -0.793406 PAR[18]: -4.861817&lt;BR /&gt;LPK[19]: -0.498558 PAR[19]: 3.358251&lt;BR /&gt;LPK[20]: -0.096015 PAR[20]: 0.030691&lt;BR /&gt;LPK[21]: 0.001481 PAR[21]: -0.882419&lt;BR /&gt;LPK[22]: 0.009519 PAR[22]: -0.046186&lt;BR /&gt;LPK[23]: 0.213747 PAR[23]: 3.493633&lt;BR /&gt;LPK[24]: 0.111353 PAR[24]: 1.729788&lt;BR /&gt;LPK[25]: -0.051658 PAR[25]: -0.930219&lt;BR /&gt;LPK[26]: -0.157391 PAR[26]: -3.200128&lt;BR /&gt;LPK[27]: 0.196809 PAR[27]: -0.732047&lt;BR /&gt;LPK[28]: -0.202826 PAR[28]: -2.594379&lt;BR /&gt;LPK[29]: -0.125007 PAR[29]: 0.850935&lt;BR /&gt;LPK[30]: 0.073628 PAR[30]: -0.100059&lt;BR /&gt;LPK[31]: -0.000673 PAR[31]: 0.056713&lt;BR /&gt;LPK[32]: -0.024724 PAR[32]: -0.245212&lt;BR /&gt;LPK[33]: -0.160592 PAR[33]: -0.139697&lt;BR /&gt;LPK[34]: -0.089182 PAR[34]: 0.041665&lt;BR /&gt;LPK[35]: 0.043562 PAR[35]: -0.064295&lt;BR /&gt;LPK[36]: 0.130618 PAR[36]: 0.219946&lt;BR /&gt;LPK[37]: -0.104556 PAR[37]: 1.017802&lt;BR /&gt;LPK[38]: 0.147956 PAR[38]: 0.049902&lt;BR /&gt;LPK[39]: 0.065511 PAR[39]: -0.705388&lt;BR /&gt;LPK[40]: 0.786590 PAR[40]: -0.411848&lt;BR /&gt;LPK[41]: -0.056615 PAR[41]: -2.966042&lt;BR /&gt;LPK[42]: -0.021839 PAR[42]: 1.322760&lt;BR /&gt;LPK[43]: -0.391792 PAR[43]: 0.257903&lt;BR /&gt;LPK[44]: 0.038043 PAR[44]: 0.676759&lt;BR /&gt;LPK[45]: 0.009292 PAR[45]: -1.766065&lt;BR /&gt;LPK[46]: -1.685003 PAR[46]: -3.789905&lt;BR /&gt;LPK[47]: -1.635822 PAR[47]: 9.369398&lt;BR /&gt;LPK[48]: 1.026373 PAR[48]: -6.362875&lt;BR /&gt;LPK[49]: 1.577946 PAR[49]: 2.168596&lt;BR /&gt;LPK[50]: -0.890598 PAR[50]: -2.279749&lt;BR /&gt;LPK[51]: 1.202881 PAR[51]: 5.315492&lt;BR /&gt;LPK[52]: 0.410337 PAR[52]: 1.222382&lt;BR /&gt;LPK[53]: 0.846750 PAR[53]: 6.724189&lt;BR /&gt;LPK[54]: 0.792811 PAR[54]: -4.023097&lt;BR /&gt;LPK[55]: -0.498558 PAR[55]: 3.358251&lt;BR /&gt;LPK[56]: -0.793406 PAR[56]: -4.861817&lt;BR /&gt;LPK[57]: 0.448387 PAR[57]: 3.193257&lt;BR /&gt;LPK[58]: -0.614929 PAR[58]: -6.553944&lt;BR /&gt;LPK[59]: -0.207959 PAR[59]: -1.647199&lt;BR /&gt;LPK[60]: -0.096015 PAR[60]: 0.030691&lt;BR /&gt;LPK[61]: 0.009519 PAR[61]: -0.046186&lt;BR /&gt;LPK[62]: 0.001481 PAR[62]: -0.882419&lt;BR /&gt;LPK[63]: 0.213747 PAR[63]: 3.493633&lt;BR /&gt;LPK[64]: 0.196809 PAR[64]: -0.732047&lt;BR /&gt;LPK[65]: -0.125007 PAR[65]: 0.850935&lt;BR /&gt;LPK[66]: -0.202826 PAR[66]: -2.594379&lt;BR /&gt;LPK[67]: 0.111353 PAR[67]: 1.729788&lt;BR /&gt;LPK[68]: -0.157391 PAR[68]: -3.200128&lt;BR /&gt;LPK[69]: -0.051658 PAR[69]: -0.930219&lt;BR /&gt;LPK[70]: 0.073628 PAR[70]: -0.100059&lt;BR /&gt;LPK[71]: -0.024724 PAR[71]: -0.245212&lt;BR /&gt;LPK[72]: -0.000673 PAR[72]: 0.056713&lt;BR /&gt;LPK[73]: -0.160592 PAR[73]: -0.139697&lt;BR /&gt;LPK[74]: -0.104556 PAR[74]: 1.017802&lt;BR /&gt;LPK[75]: 0.065511 PAR[75]: -0.705388&lt;BR /&gt;LPK[76]: 0.147956 PAR[76]: 0.049902&lt;BR /&gt;LPK[77]: -0.089182 PAR[77]: 0.041665&lt;BR /&gt;LPK[78]: 0.130618 PAR[78]: 0.219946&lt;BR /&gt;LPK[79]: 0.043562 PAR[79]: -0.064295&lt;BR /&gt;&lt;BR /&gt;As you can see the diff is quite big, i have tried many options of PARDISO, but is always resulting in identical solution. &lt;BR /&gt;&lt;BR /&gt;Best regards, Michael.</description>
      <pubDate>Fri, 02 Apr 2010 17:39:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855526#M6949</guid>
      <dc:creator>michaelmoc</dc:creator>
      <dc:date>2010-04-02T17:39:17Z</dc:date>
    </item>
    <item>
      <title>Lapack and Pardiso results are not the same.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855527#M6950</link>
      <description>Michael,&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;Could you please check the relativeresidualof the solution or please give us the original matrix you are using.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;I will check the the problem on our side.&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;--Gennady&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 Apr 2010 08:10:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855527#M6950</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-04-05T08:10:36Z</dc:date>
    </item>
    <item>
      <title>Lapack and Pardiso results are not the same.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855528#M6951</link>
      <description>Hello Gennady!&lt;BR /&gt;It tooked me a little bit, because of easters :).&lt;BR /&gt;I have taken two snapshots of this matrixes, one with dense matrix and second with sparse matrix for PARDISO. I will also try with smaler examples. Thank for your help.&lt;BR /&gt;&lt;BR /&gt;Best regards, Michael.</description>
      <pubDate>Tue, 06 Apr 2010 21:03:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855528#M6951</guid>
      <dc:creator>michaelmoc</dc:creator>
      <dc:date>2010-04-06T21:03:45Z</dc:date>
    </item>
    <item>
      <title>Lapack and Pardiso results are not the same.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855529#M6952</link>
      <description>Michael,&lt;SPAN style="font-family: verdana, sans-serif;"&gt;how many RHS in this case?&lt;/SPAN&gt;&lt;DIV&gt;&lt;SPAN style="font-family: verdana, sans-serif;"&gt;&lt;/SPAN&gt;--Gennady&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 07 Apr 2010 08:14:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855529#M6952</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-04-07T08:14:19Z</dc:date>
    </item>
    <item>
      <title>Lapack and Pardiso results are not the same.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855530#M6953</link>
      <description>It is one RHS. In both files it is written under RHS tag.&lt;BR /&gt;&lt;BR /&gt;Best regards, Michael.</description>
      <pubDate>Wed, 07 Apr 2010 08:21:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855530#M6953</guid>
      <dc:creator>michaelmoc</dc:creator>
      <dc:date>2010-04-07T08:21:32Z</dc:date>
    </item>
    <item>
      <title>Lapack and Pardiso results are not the same.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855531#M6954</link>
      <description>I was able to run PARDISO and Lapack on small example from MKL manual.&lt;BR /&gt;PARDISO was running with default values, results was the same as results from Lapack.</description>
      <pubDate>Thu, 08 Apr 2010 10:07:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855531#M6954</guid>
      <dc:creator>michaelmoc</dc:creator>
      <dc:date>2010-04-08T10:07:29Z</dc:date>
    </item>
    <item>
      <title>Lapack and Pardiso results are not the same.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855532#M6955</link>
      <description>Hello Gennady,&lt;BR /&gt;Where you able to look into my problem? If you want i can write a simple application in which i will hardcode mentioned matrixes and i will resolve them using both lapack and PARDISO to compare results.&lt;BR /&gt;&lt;BR /&gt;Best regards, Michael.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Apr 2010 11:43:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855532#M6955</guid>
      <dc:creator>michaelmoc</dc:creator>
      <dc:date>2010-04-12T11:43:47Z</dc:date>
    </item>
    <item>
      <title>Lapack and Pardiso results are not the same.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855533#M6956</link>
      <description>Michael, apologies  - I was not able to get to this problem. If you give the hardcoded example - I will look into it asap.&lt;BR /&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;</description>
      <pubDate>Mon, 12 Apr 2010 15:45:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855533#M6956</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-04-12T15:45:47Z</dc:date>
    </item>
    <item>
      <title>Lapack and Pardiso results are not the same.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855534#M6957</link>
      <description>Hello Gennady,&lt;BR /&gt;I have written a simple example which resolve 80x80 matrix (which is hardocded). Compression is performed via mkl_ddnscsr method.Than PARDISO and Lapack procedures are run, yet still i am not able to obtain even similar results. I really appreciate if you could help me out with 
this.&lt;BR /&gt;&lt;BR /&gt;Best regards, Michael.&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Apr 2010 21:26:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855534#M6957</guid>
      <dc:creator>michaelmoc</dc:creator>
      <dc:date>2010-04-12T21:26:41Z</dc:date>
    </item>
    <item>
      <title>Lapack and Pardiso results are not the same.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855535#M6958</link>
      <description>Michael,&lt;DIV&gt;ooking at your code, I cannot see how you initializing the iparm[64] arrays.&lt;/DIV&gt;&lt;DIV&gt;I can see only&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;iparm[0] = 1;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;	iparm[2] = 1;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;how about others?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;tips: for the first step, lease try to set&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;SAMP class="codeph"&gt;&lt;SPAN class="parmname"&gt;iparm[0]&lt;/SPAN&gt;= 0&lt;/SAMP&gt;, and&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;enable matrix checker iparm[26] = 1,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;then check the error status after each calculation phase.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;--Gennady&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 Apr 2010 08:19:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855535#M6958</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-04-15T08:19:00Z</dc:date>
    </item>
    <item>
      <title>Lapack and Pardiso results are not the same.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855536#M6959</link>
      <description>Hello Gennady,&lt;BR /&gt;It was my mistake (i was experimenting with code and i must give you later version). Change iparm[0] to 0 and run it. I have done many combinations of iparm configuration and yet i was not able to obtain similar results. If you need additional code or smaller code example i will provide it (It is quite urgent for me) :). Also i have noticed that iparm(7) after execution of 33 (with default parameters) is 0 (no iterative refinement performed?). Question - iparm(14) - reports number of non successfull pivots performed or number of all performed pivots ? &lt;BR /&gt;Thank You in advance for your help.&lt;BR /&gt;&lt;BR /&gt;Best regards, Michael.&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Apr 2010 08:58:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855536#M6959</guid>
      <dc:creator>michaelmoc</dc:creator>
      <dc:date>2010-04-15T08:58:27Z</dc:date>
    </item>
    <item>
      <title>Lapack and Pardiso results are not the same.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855537#M6960</link>
      <description>Michael,&lt;DIV&gt;did you enable matrix checker?&lt;/DIV&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 Apr 2010 12:04:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855537#M6960</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-04-15T12:04:53Z</dc:date>
    </item>
    <item>
      <title>Lapack and Pardiso results are not the same.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855538#M6961</link>
      <description>Hi, &lt;BR /&gt;Yes i have enabled checker (I dont think that matrix is wrongly compressed, because i have used MKL for compression - you can see it in code). &lt;BR /&gt;&lt;BR /&gt;Regards, Michael.</description>
      <pubDate>Thu, 15 Apr 2010 12:16:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855538#M6961</guid>
      <dc:creator>michaelmoc</dc:creator>
      <dc:date>2010-04-15T12:16:01Z</dc:date>
    </item>
    <item>
      <title>Lapack and Pardiso results are not the same.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855539#M6962</link>
      <description>Hello Gennady,&lt;BR /&gt;It seems that i have resolved my issue (it is not problem with PARDISO). I will describe the problem later when i will perform some tests on my code. Sorry fro problem. &lt;BR /&gt;&lt;BR /&gt;Best regards, Michael.</description>
      <pubDate>Fri, 16 Apr 2010 10:13:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855539#M6962</guid>
      <dc:creator>michaelmoc</dc:creator>
      <dc:date>2010-04-16T10:13:39Z</dc:date>
    </item>
    <item>
      <title>Lapack and Pardiso results are not the same.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855540#M6963</link>
      <description>Hello Michael,&lt;DIV&gt;not a problem! Anyway, thanks for the update. Please let us know the reason of this problem.&lt;/DIV&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;</description>
      <pubDate>Mon, 19 Apr 2010 05:24:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855540#M6963</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-04-19T05:24:18Z</dc:date>
    </item>
    <item>
      <title>Lapack and Pardiso results are not the same.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855541#M6964</link>
      <description>Hello Gennady&lt;BR /&gt;I my application i can't obtain directly whole matrix so i am assembling it in few steps and than i am passing my CSR matrix to PARDISO (and as you know, results was not as supposed to be). &lt;B&gt;Wrong results was, because i compressed columnwise stored matrix as rowwise matrix&lt;/B&gt;. Due to that i obtained a matrix which was transposed to the original :/. It was the source of problem. Later i run Lapack with transposition option enabled and it work out that the results are the same.&lt;BR /&gt;&lt;BR /&gt;Thank Your for your help ans sorry for problem :).&lt;BR /&gt;&lt;BR /&gt;Best regards, Michael.</description>
      <pubDate>Sat, 24 Apr 2010 10:58:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855541#M6964</guid>
      <dc:creator>michaelmoc</dc:creator>
      <dc:date>2010-04-24T10:58:26Z</dc:date>
    </item>
    <item>
      <title>Lapack and Pardiso results are not the same.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855542#M6965</link>
      <description>Thought I would bring this thread up instead of creating new one.&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;I have 3 programs to solve linear equations system - Pardiso, Lapack and one written with OpenMP by hand.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;2nd and 3rd always give identical results, but Pardiso results are same with 2nd and 3rd programs only when system is not big, i.e. 100 equations or so.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;After 200 there is huge difference in results, example:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Pardiso:&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;PRE&gt;[bash]x[190] = 0.148965665581836 
x[191] = 0.070085873857829 
x[192] = -0.081967888801244 
x[193] = -0.004636397132979 
x[194] = 0.144152764617072 
x[195] = 0.068992992279192 
x[196] = -0.075972409973426 
x[197] = -0.002248602377340 
x[198] = 0.139676431782044 
x[199] = 0.067989446179749 
x[200] = -0.043945941466850[/bash]&lt;/PRE&gt; &lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Lapack:&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;PRE&gt;[bash]x[190] = 0.000054015242395 
x[191] = -0.000008779165926 
x[192] = 0.000032009486079 
x[193] = 0.000074904450179 
x[194] = 0.000016875289852 
x[195] = -0.000043032478423 
x[196] = -0.000004206083729 
x[197] = 0.000036651462645 
x[198] = -0.000018741413415 
x[199] = -0.000075950902342 
x[200] = -0.000038955173214[/bash]&lt;/PRE&gt; &lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Hand Made:&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;PRE&gt;[bash]x[190] = 0.000054015242395 
x[191] = -0.000008779165926 
x[192] = 0.000032009486079 
x[193] = 0.000074904450179 
x[194] = 0.000016875289852 
x[195] = -0.000043032478423 
x[196] = -0.000004206083729 
x[197] = 0.000036651462645 
x[198] = -0.000018741413415 
x[199] = -0.000075950902342 
x[200] = -0.000038955173214[/bash]&lt;/PRE&gt; &lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;My Pardiso settings are:&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;PRE&gt;[bash]        for (i = 0; i &amp;lt; 64; i++) {
                iparm&lt;I&gt; = 0;
        }
        iparm[0] = 1; /* No solver default */
        iparm[1] = 2; /* Fill-in reordering from METIS */
        /* Numbers of processors, value of OMP_NUM_THREADS */
        iparm[2] = 2;
        iparm[3] = 0; /* No iterative-direct algorithm */
        iparm[4] = 0; /* No user fill-in reducing permutation */
        iparm[5] = 0; /* Write solution into x */
        iparm[6] = 0; /* Not in use */
        iparm[7] = 2; /* Max numbers of iterative refinement steps */
        iparm[8] = 0; /* Not in use */
        iparm[9] = 13; /* Perturb the pivot elements with 1E-13 */
        iparm[10] = 1; /* Use nonsymmetric permutation and scaling MPS */
        iparm[11] = 0; /* Not in use */
        iparm[12] = 0; /* Maximum weighted matching algorithm is switched-on (default for non-symmetric) */
        iparm[13] = 0; /* Output: Number of perturbed pivots */
        iparm[14] = 0; /* Not in use */
        iparm[15] = 0; /* Not in use */
        iparm[16] = 0; /* Not in use */
        iparm[17] = -1; /* Output: Number of nonzeros in the factor LU */
        iparm[18] = -1; /* Output: Mflops for LU factorization */
        iparm[19] = 0; /* Output: Numbers of CG Iterations */
        maxfct = 1; /* Maximum number of numerical factorizations. */
        mnum = 1; /* Which factorization to use. */
        msglvl = 0; /* Print statistical information in file */
        error = 0; /* Initialize error flag */
        for (i = 0; i &amp;lt; 64; i++) {
                pt&lt;I&gt; = 0;
        }
[/bash]&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt; &lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Which is pretty similar to the ones in example.&lt;/DIV&gt;&lt;DIV&gt;Once again, results are same in all 3 programs when system has 100 equations or under.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 27 Apr 2010 21:42:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855542#M6965</guid>
      <dc:creator>slavaua</dc:creator>
      <dc:date>2010-04-27T21:42:58Z</dc:date>
    </item>
    <item>
      <title>Lapack and Pardiso results are not the same.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855543#M6966</link>
      <description>Slava, what is the matrix type?&lt;DIV&gt;did you check the condition number of this matrix?&lt;DIV&gt;--Gennady&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 28 Apr 2010 09:43:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Lapack-and-Pardiso-results-are-not-the-same/m-p/855543#M6966</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-04-28T09:43:03Z</dc:date>
    </item>
  </channel>
</rss>

