<?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 Re: Pardiso: refinement contraction rate in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-refinement-contraction-rate/m-p/856697#M7061</link>
    <description>&lt;DIV style="margin:0px;"&gt;Hi all,&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;I can run the program now by using the default value. But the result is very absurd for large size problem. I am wondering it might due to thenumber of nonzero elements are really small when problem size is increased. It can be small as 10^(-25). Is pardiso package can accept that small element? Does any one have any idea about this? Thanks,&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Wen&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Nov 2008 20:04:53 GMT</pubDate>
    <dc:creator>wjiang123</dc:creator>
    <dc:date>2008-11-04T20:04:53Z</dc:date>
    <item>
      <title>Pardiso: refinement contraction rate</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-refinement-contraction-rate/m-p/856692#M7056</link>
      <description>&lt;P&gt;Dear Pardiso users:&lt;/P&gt;
&lt;P&gt;I got the following errors by using pardiso (with ilp64 interface):&lt;/P&gt;
&lt;P&gt;The following ERROE was detected: -4&lt;BR /&gt;*** error PARDISO ( numerical_factorization) error_num= -112&lt;BR /&gt;*** error pardiso: iterative refinement contraction rate greater 0.9, interrupt&lt;BR /&gt;*** error pardiso: zero pivot&lt;/P&gt;
&lt;P&gt;There are 38436 equations with 58210068 nonzeros. Parameters and call sentence are as follows:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt; iparm(1) = 1 ! no solver default&lt;BR /&gt; iparm(2) = 2 ! fill-in reordering from METIS&lt;BR /&gt; iparm(3) = nproc ! number of processors&lt;BR /&gt; iparm(8) = 25&lt;BR /&gt; iparm(10) = 20&lt;BR /&gt; iparm(11) = 1&lt;BR /&gt; iparm(13) = 1&lt;BR /&gt; iparm(18) = -1 ! Output: number of nonzeros in the factor LU&lt;BR /&gt; iparm(19) = -1 ! Output: Mflops for LU factorization&lt;BR /&gt; iparm(20) = 0 ! Output: Numbers of CG Interations&lt;BR /&gt; write(*,*)'OK!'&lt;BR /&gt; call pardiso(pt,1,1,11,13,Total_unknown,AG,IA,JA,0,1,iparm,&lt;BR /&gt; * 1,Y,X,ERROR)&lt;/P&gt;
&lt;P&gt;Those works well for smaller size problems.&lt;/P&gt;
&lt;P&gt;Could anyone give some suggestions on how to deal with this problem? Thanks,&lt;/P&gt;
&lt;P&gt;Wen&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2008 18:36:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-refinement-contraction-rate/m-p/856692#M7056</guid>
      <dc:creator>wjiang123</dc:creator>
      <dc:date>2008-10-30T18:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pardiso: refinement contraction rate</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-refinement-contraction-rate/m-p/856693#M7057</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; color: black; font-family: Verdana;"&gt;Dear Wen!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; color: black; font-family: Verdana;"&gt;Thank You for your question. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; color: black; font-family: Verdana;"&gt;This error indicates that calculated relative residual in iterative refinement process becomes almost the same as the one on previous step or even bigger.Let me add some notes about this situation.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; color: black; font-family: Verdana;"&gt;1. Parameter iparam(10) looks too big (eps = 10^(-20) istoo small). This parameter instructs PARDISO how to handle small pivots or zero pivots for solving matrices.Try to use default value iparam(10)=13 for un-symmetric matrices (mtype=11 or mtype=13).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; color: black; font-family: Verdana;"&gt;2. Also try to use lessnumber for maximalamount of refinement steps (iparam(8)). It will be better to use iparam(8)= -MaxRefinamentStepsNumber (for example, iparam(8)=-5). In this case(when iparam(8) is less than zero) iterative refinement steps will beperformed in quad precision.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; color: black; font-family: Verdana;"&gt;Hope that these advises will help you to solve the problem. Otherwise weneed to examine your matrix to find bettersolution.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; color: black; font-family: Verdana;"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; color: black; font-family: Verdana; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Sergey&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2008 06:58:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-refinement-contraction-rate/m-p/856693#M7057</guid>
      <dc:creator>Sergey_P_Intel2</dc:creator>
      <dc:date>2008-10-31T06:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Pardiso: refinement contraction rate</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-refinement-contraction-rate/m-p/856694#M7058</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;Dear Wen,&lt;/P&gt;
&lt;P&gt;have you tried to solve with default parameter?&lt;BR /&gt;I actually got the same problems/error and today i tried the default parameter&lt;/P&gt;
&lt;P&gt;iparm(1) = 0&lt;/P&gt;
&lt;P&gt;iparm(3) = nProc&lt;/P&gt;
&lt;P&gt;and now it works.&lt;/P&gt;
&lt;P&gt;But im still searching for the correct parameter configuration, because in my opinion there are some inconsistency between the Pardiso code sample from the reference manual, the reference manual parameter description itself and for instance the pardiso reference sheet.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Dear Pardiso User:&lt;/P&gt;
&lt;P&gt;where can i find the correct description of iparm for intel mkl 10 ?&lt;BR /&gt;The iparm configuration from the code example&lt;/P&gt;
&lt;P&gt;nIparm[0] = 1; /* No solver default */&lt;BR /&gt; nIparm[1] = 2; /* Fill-in reordering from METIS */&lt;BR /&gt; /* Numbers of processors, value of MKL_NUM_THREADS */&lt;BR /&gt; nIparm[2] = mkl_get_max_threads();&lt;BR /&gt; nIparm[3] = 0; /* No iterative-direct algorithm */&lt;BR /&gt; nIparm[4] = 0; /* No user fill-in reducing permutation */&lt;BR /&gt; nIparm[5] = 0; /* Write solution into x */&lt;BR /&gt; nIparm[6] = 0; /* Not in use */&lt;BR /&gt; nIparm[7] = 2; /* Max numbers of iterative refinement steps */&lt;BR /&gt; nIparm[8] = 0; /* Not in use */&lt;BR /&gt; nIparm[9] = 13; /* Perturb the pivot elements with 1E-13 */&lt;BR /&gt; nIparm[10] = 1; /* Use nonsymmetric permutation and scaling MPS */&lt;BR /&gt; nIparm[11] = 0; /* Not in use */&lt;BR /&gt; nIparm[12] = 0; /* Not in use */&lt;BR /&gt; nIparm[13] = 0; /* Output: Number of perturbed pivots */&lt;BR /&gt; nIparm[14] = 0; /* Not in use */&lt;BR /&gt; nIparm[15] = 0; /* Not in use */&lt;BR /&gt; nIparm[16] = 0; /* Not in use */&lt;BR /&gt; nIparm[17] = -1; /* Output: Number of nonzeros in the factor LU */&lt;BR /&gt; nIparm[18] = -1; /* Output: Mflops for LU factorization */&lt;BR /&gt; nIparm[19] = 0; /* Output: Numbers of CG Iterations */&lt;/P&gt;
&lt;P&gt;must be different to&lt;/P&gt;
&lt;P&gt;nIparm[0]=0;&lt;BR /&gt; nIparm[2] = mkl_get_max_threads();&lt;/P&gt;
&lt;P&gt;because latter works....&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks for any advise!&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Volker&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2008 12:03:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-refinement-contraction-rate/m-p/856694#M7058</guid>
      <dc:creator>kasimir88</dc:creator>
      <dc:date>2008-10-31T12:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pardiso: refinement contraction rate</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-refinement-contraction-rate/m-p/856695#M7059</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Hi, Volker,&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;I think you can find all documents of mkl 10 from &lt;A href="http://www.intel.com/cd/software/products/asmo-na/eng/345631.htm"&gt;http://www.intel.com/cd/software/products/asmo-na/eng/345631.htm&lt;/A&gt;. And the default value of iparm can be found in Reference Manual. Thanks for your reply,&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Wen&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2008 17:26:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-refinement-contraction-rate/m-p/856695#M7059</guid>
      <dc:creator>wjiang123</dc:creator>
      <dc:date>2008-10-31T17:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Pardiso: refinement contraction rate</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-refinement-contraction-rate/m-p/856696#M7060</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; color: black; font-family: Verdana; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Sergey:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; color: black; font-family: Verdana; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;I tried to follow what you suggested but got the same error. Would you mind helping me studying my matrix? Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; color: black; font-family: Verdana; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Wen&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2008 19:34:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-refinement-contraction-rate/m-p/856696#M7060</guid>
      <dc:creator>wjiang123</dc:creator>
      <dc:date>2008-10-31T19:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Pardiso: refinement contraction rate</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-refinement-contraction-rate/m-p/856697#M7061</link>
      <description>&lt;DIV style="margin:0px;"&gt;Hi all,&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;I can run the program now by using the default value. But the result is very absurd for large size problem. I am wondering it might due to thenumber of nonzero elements are really small when problem size is increased. It can be small as 10^(-25). Is pardiso package can accept that small element? Does any one have any idea about this? Thanks,&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Wen&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Nov 2008 20:04:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-refinement-contraction-rate/m-p/856697#M7061</guid>
      <dc:creator>wjiang123</dc:creator>
      <dc:date>2008-11-04T20:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Pardiso: refinement contraction rate</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-refinement-contraction-rate/m-p/856698#M7062</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: small; font-family: Times New Roman;"&gt;Dear Wen,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: small; font-family: Times New Roman;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: small; font-family: Times New Roman;"&gt;PARDISO doesnt have any limitations on values of non-zeroes elements. So, small input values like 10^(-25) are valid. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: small; font-family: Times New Roman;"&gt;We think that your matrix is ill-conditioned, so the solution process is very sensible to any input parameters. By default PARDISO used METIS reordering (see documentation). In your first attempt you also used METIS. Try to change reordering on other one, for example, try to use &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: small; font-family: Times New Roman;"&gt;iparm(2) = 0 &lt;SPAN style="mso-spacerun: yes;"&gt;&lt;/SPAN&gt;! Minimum degree algorithm. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: small;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: small;"&gt;&lt;SPAN style="font-family: Times New Roman;"&gt;Also, PARDISO admit to use your own reordering by using &lt;EM style="mso-bidi-font-style: normal;"&gt;perm&lt;/EM&gt; input vector and setting iparm(5)=1. &lt;SPAN style="mso-spacerun: yes;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: small;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: small;"&gt;&lt;SPAN style="font-family: Times New Roman;"&gt;If this idea doesnt help you to solve the problem, we will help you studying your matrix. &lt;SPAN style="mso-spacerun: yes;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: small; font-family: Times New Roman;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: small; font-family: Times New Roman;"&gt;- Sergey&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Nov 2008 12:31:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-refinement-contraction-rate/m-p/856698#M7062</guid>
      <dc:creator>Sergey_P_Intel2</dc:creator>
      <dc:date>2008-11-07T12:31:49Z</dc:date>
    </item>
  </channel>
</rss>

