<?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 cluster_sparse_solver discrepancy in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-discrepancy/m-p/1050341#M21132</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I'm trying to solve a general system with CPARDISO. When using two processes, there is no issue if I don't use the coefficient array during the solution phase. When using only one process, then I get a segmentation fault. Could you give me some insight into this issue, please ? Thank you in advance.&lt;/P&gt;

&lt;P&gt;$ mpicxx -cxx=icpc cl_solver_unsym_complex_c.cpp &amp;nbsp;-lmkl_intel_thread -lmkl_core -lmkl_intel_lp64 -liomp5 -std=c++11&lt;BR /&gt;
	$ mpirun -np 1 ./a.out&lt;BR /&gt;
	$ echo $?&lt;BR /&gt;
	11&lt;BR /&gt;
	$ mpirun -np 2 ./a.out&lt;BR /&gt;
	$ echo $?&lt;BR /&gt;
	0&lt;BR /&gt;
	$ mpicxx -cxx=icpc cl_solver_unsym_complex_c.cpp &amp;nbsp;-lmkl_intel_thread -lmkl_core -lmkl_intel_lp64 -liomp5 -std=c++11 -DNSEGFAULT&lt;BR /&gt;
	$ mpirun -np 1 ./a.out&lt;BR /&gt;
	$ echo $?&lt;BR /&gt;
	0&lt;BR /&gt;
	$ mpirun -np 2 ./a.out&lt;BR /&gt;
	$ echo $?&lt;BR /&gt;
	0&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Nov 2014 15:03:03 GMT</pubDate>
    <dc:creator>asd__asdqwe</dc:creator>
    <dc:date>2014-11-07T15:03:03Z</dc:date>
    <item>
      <title>cluster_sparse_solver discrepancy</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-discrepancy/m-p/1050341#M21132</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I'm trying to solve a general system with CPARDISO. When using two processes, there is no issue if I don't use the coefficient array during the solution phase. When using only one process, then I get a segmentation fault. Could you give me some insight into this issue, please ? Thank you in advance.&lt;/P&gt;

&lt;P&gt;$ mpicxx -cxx=icpc cl_solver_unsym_complex_c.cpp &amp;nbsp;-lmkl_intel_thread -lmkl_core -lmkl_intel_lp64 -liomp5 -std=c++11&lt;BR /&gt;
	$ mpirun -np 1 ./a.out&lt;BR /&gt;
	$ echo $?&lt;BR /&gt;
	11&lt;BR /&gt;
	$ mpirun -np 2 ./a.out&lt;BR /&gt;
	$ echo $?&lt;BR /&gt;
	0&lt;BR /&gt;
	$ mpicxx -cxx=icpc cl_solver_unsym_complex_c.cpp &amp;nbsp;-lmkl_intel_thread -lmkl_core -lmkl_intel_lp64 -liomp5 -std=c++11 -DNSEGFAULT&lt;BR /&gt;
	$ mpirun -np 1 ./a.out&lt;BR /&gt;
	$ echo $?&lt;BR /&gt;
	0&lt;BR /&gt;
	$ mpirun -np 2 ./a.out&lt;BR /&gt;
	$ echo $?&lt;BR /&gt;
	0&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Nov 2014 15:03:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-discrepancy/m-p/1050341#M21132</guid>
      <dc:creator>asd__asdqwe</dc:creator>
      <dc:date>2014-11-07T15:03:03Z</dc:date>
    </item>
    <item>
      <title>what version of mkl you are</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-discrepancy/m-p/1050342#M21133</link>
      <description>&lt;P&gt;what version of mkl you are using? please look at mklsupport.txt and give the&amp;nbsp;Package ID.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;how about 4 or 8 processes?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Nov 2014 15:45:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-discrepancy/m-p/1050342#M21133</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2014-11-07T15:45:54Z</dc:date>
    </item>
    <item>
      <title>Here are the headers from mkl</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-discrepancy/m-p/1050343#M21134</link>
      <description>&lt;P&gt;Here are the headers from mkl.h (I don't know where the file&amp;nbsp;mklsupport.txt is).&amp;nbsp;&lt;/P&gt;

&lt;P&gt;#define __INTEL_MKL_BUILD_DATE 20140723&lt;/P&gt;

&lt;P&gt;#define __INTEL_MKL__ 11&lt;BR /&gt;
	#define __INTEL_MKL_MINOR__ 2&lt;BR /&gt;
	#define __INTEL_MKL_UPDATE__ 0&lt;/P&gt;

&lt;P&gt;I tried on a larger problem, there was no segfault on 4 or 8 cores, but this time, it was also segfaulting with 2 cores (and 1, just as before).&lt;/P&gt;

&lt;P&gt;I edited my answer and I attached a larger test case: no problem with 4 or 8 cores. Segfault with 1 and 2 cores when NSEGFAULT is not defined. Segfault with 2 cores even when NSEGFAULT is defined. Thank you for looking.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Nov 2014 17:51:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-discrepancy/m-p/1050343#M21134</guid>
      <dc:creator>asd__asdqwe</dc:creator>
      <dc:date>2014-11-07T17:51:16Z</dc:date>
    </item>
    <item>
      <title>Hello qweasd,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-discrepancy/m-p/1050344#M21135</link>
      <description>&lt;P&gt;Hello qweasd,&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;You have to always put matrix values for solution step (phase=33) in case of iterative refinement (iparm[7] != 0) and also for&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;matrix type -2, -4, 6, 11, 13, 1, 3, because in this cases there can appear zero pivots during numerical factorization and iterative refinement will turn on.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;The matrix provided by you has zero pivots, so &lt;/SPAN&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;it has segfault&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;when Pardiso try to get matrix values and run iterative refinement step.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Roman&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2014 08:20:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-discrepancy/m-p/1050344#M21135</guid>
      <dc:creator>Roman_A_Intel</dc:creator>
      <dc:date>2014-11-11T08:20:29Z</dc:date>
    </item>
    <item>
      <title>Hello Roman,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-discrepancy/m-p/1050345#M21136</link>
      <description>&lt;P&gt;Hello Roman,&lt;/P&gt;

&lt;P&gt;In my case, iparm[7] == 0, and output integer error is equal to 0, not -4, after factorization. So is it possible to really force no iterative refinement ? How can I know if PARDISO will need to perform iterative refinement even if iparm[7] is set to 0 by the user ? Also, could you comment on the fact that iterative refinement seems more likely to be performed when less processors are used during numerical factorization ?&lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2014 07:57:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-discrepancy/m-p/1050345#M21136</guid>
      <dc:creator>asd__asdqwe</dc:creator>
      <dc:date>2014-11-12T07:57:13Z</dc:date>
    </item>
    <item>
      <title>Please, see my comments below</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-discrepancy/m-p/1050346#M21137</link>
      <description>&lt;P&gt;Please, see my comments below.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;1)&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;To avoid automatically iterative refinement performed by Pardiso you can use iparm[20] =2 (Note from documentation:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 19.5120010375977px; background-color: rgb(242, 242, 242);"&gt;Apply 1x1 diagonal pivoting during the factorization process. Using this value is the same as using&amp;nbsp;&lt;/SPAN&gt;&lt;CODE style="font-size: 13px; line-height: 19.5120010375977px; font-family: 'Courier New', Courier, monospace; background-color: rgb(242, 242, 242);"&gt;&lt;SPAN class="parmname" style="font-style: italic;"&gt;iparm&lt;/SPAN&gt;(21)&lt;/CODE&gt;&lt;SPAN style="font-size: 1em; line-height: 19.5120010375977px; background-color: rgb(242, 242, 242);"&gt;&amp;nbsp;= 0 except that the solve step does not automatically make iterative refinements when perturbed pivots are obtained during numerical factorization. The number of iterations is limited to the number of iterative refinements specified by&lt;/SPAN&gt;&lt;CODE style="font-size: 13px; line-height: 19.5120010375977px; font-family: 'Courier New', Courier, monospace; background-color: rgb(242, 242, 242);"&gt;&lt;SPAN class="parmname" style="font-style: italic;"&gt;iparm&lt;/SPAN&gt;(8)&lt;/CODE&gt;&lt;SPAN style="font-size: 1em; line-height: 19.5120010375977px; background-color: rgb(242, 242, 242);"&gt;&amp;nbsp;(0 by default).)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="line-height: 19.5120010375977px; background-color: rgb(242, 242, 242);"&gt;or iparm[20] = 3 (&lt;/SPAN&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;Note from documentation:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;Apply 1x1 and 2x2 Bunch-Kaufman pivoting during the factorization process. Bunch-Kaufman pivoting is available for matrices of&amp;nbsp;&lt;/SPAN&gt;&lt;CODE style="font-size: 13px; font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;&lt;SPAN class="parmname" style="font-style: italic;"&gt;mtype&lt;/SPAN&gt;=-2&lt;/CODE&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;CODE style="font-size: 13px; font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;&lt;SPAN class="parmname" style="font-style: italic;"&gt;mtype&lt;/SPAN&gt;=-4&lt;/CODE&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;, or&amp;nbsp;&lt;/SPAN&gt;&lt;CODE style="font-size: 13px; font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;&lt;SPAN class="parmname" style="font-style: italic;"&gt;mtype&lt;/SPAN&gt;=6&lt;/CODE&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;. Using this value is the same as using&amp;nbsp;&lt;/SPAN&gt;&lt;CODE style="font-size: 13px; font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;&lt;SPAN class="parmname" style="font-style: italic;"&gt;iparm&lt;/SPAN&gt;(21)&lt;/CODE&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;&amp;nbsp;= 1 except that the solve step does not automatically make iterative refinements when perturbed pivots are obtained during numerical factorization. The number of iterations is limited to the number of iterative refinements specified by&amp;nbsp;&lt;/SPAN&gt;&lt;CODE style="font-size: 13px; font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;&lt;SPAN class="parmname" style="font-style: italic;"&gt;iparm&lt;/SPAN&gt;(8)&lt;/CODE&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;&amp;nbsp;(0 by default).&lt;/SPAN&gt;&lt;SPAN style="line-height: 19.5120010375977px; background-color: rgb(242, 242, 242);"&gt;)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="background-color: rgb(242, 242, 242);"&gt;2) If CPARDISO is used with distributed input format data (iparm[39] != 0) and the number of MPI processes is more than 1 then CPARDISO gets matrix values for iterative refinement from our internal structure. So it is not needed to put matrix values for solving step. In case of 1 MPI process you have to provide matrix values on solving step, because CPARDISO do not have its in internal structure.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="background-color: rgb(242, 242, 242);"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="background-color: rgb(242, 242, 242);"&gt;Roman&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2014 08:38:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-discrepancy/m-p/1050346#M21137</guid>
      <dc:creator>Roman_A_Intel</dc:creator>
      <dc:date>2014-11-12T08:38:59Z</dc:date>
    </item>
    <item>
      <title>Thank you for the in-depth</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-discrepancy/m-p/1050347#M21138</link>
      <description>&lt;P&gt;Thank you for the in-depth answer ! Last question, in the second test case (attached here&amp;nbsp;https://software.intel.com/en-us/forums/topic/535078#comment-1804141), whether I compile with&amp;nbsp;-DNSEGFAULT or not, mpirun -np 2 ./a.out always segfaults during the solution phase. Could you comment on that please ?&lt;/P&gt;

&lt;P&gt;Thanks again !&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2014 08:46:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-discrepancy/m-p/1050347#M21138</guid>
      <dc:creator>asd__asdqwe</dc:creator>
      <dc:date>2014-11-12T08:46:22Z</dc:date>
    </item>
    <item>
      <title>I have reproduced problem in</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-discrepancy/m-p/1050348#M21139</link>
      <description>&lt;P&gt;I have reproduced problem in the second test. We will investigate it more deeply. Thanks for this testcase.&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Roman&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2014 11:28:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-discrepancy/m-p/1050348#M21139</guid>
      <dc:creator>Roman_A_Intel</dc:creator>
      <dc:date>2014-11-12T11:28:23Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-discrepancy/m-p/1050349#M21140</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;This problem was resolved in MKL11.2 update 1. Please, see this topic for details:&amp;nbsp;&lt;SPAN style="line-height: 19.5120010375977px; font-size: 1em;"&gt;Intel® Math Kernel Library 11.2 Update 1 is now available (&lt;/SPAN&gt;&lt;A href="https://software.intel.com/en-us/forums/topic/535441" target="_blank"&gt;https://software.intel.com/en-us/forums/topic/535441&lt;/A&gt;&lt;SPAN style="line-height: 19.5120010375977px; font-size: 1em;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Roman&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2014 07:19:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-discrepancy/m-p/1050349#M21140</guid>
      <dc:creator>Roman_A_Intel</dc:creator>
      <dc:date>2014-11-17T07:19:16Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-discrepancy/m-p/1050350#M21141</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I've downloaded the new update and I still get the exact same segmentation fault on the 2nd example. What should I do ?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2014 12:23:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-discrepancy/m-p/1050350#M21141</guid>
      <dc:creator>asd__asdqwe</dc:creator>
      <dc:date>2014-11-17T12:23:00Z</dc:date>
    </item>
    <item>
      <title>Could you confirm that you</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-discrepancy/m-p/1050351#M21142</link>
      <description>&lt;P&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;Could you confirm that you can reproduce the segmentation fault with the 2nd example please ? Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2014 08:44:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-discrepancy/m-p/1050351#M21142</guid>
      <dc:creator>asd__asdqwe</dc:creator>
      <dc:date>2014-12-01T08:44:53Z</dc:date>
    </item>
    <item>
      <title>Hi, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-discrepancy/m-p/1050352#M21143</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Sorry for long delay. We see the issue, it is not depend on number of threads and appeared occasionally - for this reason I did not see it in previous reply. Currently we are working on it - I will inform you when it is resolved.&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Roman&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2014 08:55:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-discrepancy/m-p/1050352#M21143</guid>
      <dc:creator>Roman_A_Intel</dc:creator>
      <dc:date>2014-12-01T08:55:35Z</dc:date>
    </item>
    <item>
      <title>pls check the issue with the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-discrepancy/m-p/1050353#M21144</link>
      <description>&lt;P&gt;pls check the issue with the latest 11.2 Update 2 which was released the last week and let us know the results. thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2015 09:24:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-discrepancy/m-p/1050353#M21144</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2015-02-09T09:24:14Z</dc:date>
    </item>
  </channel>
</rss>

