<?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 computes wrong solution in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-computes-wrong-solution/m-p/1042072#M20763</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;I'm trying to use&amp;nbsp;cluster_sparse_solver and solve a system in-place (iparm(6) = 1), with a distributed format (iparm(40) = 1). I adapted the example&amp;nbsp;cl_solver_unsym_distr_c.c as you can see attached, and at runtime, on two MPI processes, I get the following output:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;$&amp;nbsp;icpc -V&lt;BR /&gt;
	Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 15.0.1.133 Build 20141023&lt;/P&gt;

&lt;P&gt;$&amp;nbsp;mpicc -cc=icc cl_solver_unsym_distr_c.c -lmkl_intel_thread -lmkl_core -lmkl_intel_lp64 -liomp5&lt;/P&gt;

&lt;P&gt;$&amp;nbsp;mpirun -np 2 ./a.out&lt;/P&gt;

&lt;P&gt;The solution out-of-place of the system is:&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;on zero process x [0] = &amp;nbsp;0.149579 &amp;nbsp; &amp;nbsp; &amp;nbsp; rhs [0] = &amp;nbsp;1.000000&lt;BR /&gt;
	&amp;nbsp;on zero process x [1] = &amp;nbsp;0.259831 &amp;nbsp; &amp;nbsp; &amp;nbsp; rhs [1] = &amp;nbsp;1.000000&lt;BR /&gt;
	&amp;nbsp;on zero process x [2] = -0.370084 &amp;nbsp; &amp;nbsp; &amp;nbsp; rhs [2] = &amp;nbsp;0.250000&lt;BR /&gt;
	&amp;nbsp;on zero process x [3] = &amp;nbsp;0.011236 &amp;nbsp; &amp;nbsp; &amp;nbsp; rhs [3] = &amp;nbsp;1.000000&lt;BR /&gt;
	&amp;nbsp;on zero process x [4] = &amp;nbsp;0.415730 &amp;nbsp; &amp;nbsp; &amp;nbsp; rhs [4] = &amp;nbsp;1.000000&lt;/P&gt;

&lt;P&gt;Solving system in-place...&lt;BR /&gt;
	The solution in-place of the system is:&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;on zero process x [0] = &amp;nbsp;0.149579&lt;BR /&gt;
	&amp;nbsp;on zero process x [1] = &amp;nbsp;0.259831&lt;BR /&gt;
	&amp;nbsp;on zero process x [2] = -0.370084&lt;BR /&gt;
	&amp;nbsp;on zero process x [3] = &amp;nbsp;1.000000&lt;BR /&gt;
	&amp;nbsp;on zero process x [4] = &amp;nbsp;1.000000&lt;/P&gt;

&lt;P&gt;Can you reproduce this behavior ? The solution in-place is obviously wrong. Do you see how to fix that ? Thank you in advance.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jan 2015 08:07:04 GMT</pubDate>
    <dc:creator>asd__asdqwe</dc:creator>
    <dc:date>2015-01-07T08:07:04Z</dc:date>
    <item>
      <title>cluster_sparse_solver computes wrong solution</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-computes-wrong-solution/m-p/1042072#M20763</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;I'm trying to use&amp;nbsp;cluster_sparse_solver and solve a system in-place (iparm(6) = 1), with a distributed format (iparm(40) = 1). I adapted the example&amp;nbsp;cl_solver_unsym_distr_c.c as you can see attached, and at runtime, on two MPI processes, I get the following output:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;$&amp;nbsp;icpc -V&lt;BR /&gt;
	Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 15.0.1.133 Build 20141023&lt;/P&gt;

&lt;P&gt;$&amp;nbsp;mpicc -cc=icc cl_solver_unsym_distr_c.c -lmkl_intel_thread -lmkl_core -lmkl_intel_lp64 -liomp5&lt;/P&gt;

&lt;P&gt;$&amp;nbsp;mpirun -np 2 ./a.out&lt;/P&gt;

&lt;P&gt;The solution out-of-place of the system is:&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;on zero process x [0] = &amp;nbsp;0.149579 &amp;nbsp; &amp;nbsp; &amp;nbsp; rhs [0] = &amp;nbsp;1.000000&lt;BR /&gt;
	&amp;nbsp;on zero process x [1] = &amp;nbsp;0.259831 &amp;nbsp; &amp;nbsp; &amp;nbsp; rhs [1] = &amp;nbsp;1.000000&lt;BR /&gt;
	&amp;nbsp;on zero process x [2] = -0.370084 &amp;nbsp; &amp;nbsp; &amp;nbsp; rhs [2] = &amp;nbsp;0.250000&lt;BR /&gt;
	&amp;nbsp;on zero process x [3] = &amp;nbsp;0.011236 &amp;nbsp; &amp;nbsp; &amp;nbsp; rhs [3] = &amp;nbsp;1.000000&lt;BR /&gt;
	&amp;nbsp;on zero process x [4] = &amp;nbsp;0.415730 &amp;nbsp; &amp;nbsp; &amp;nbsp; rhs [4] = &amp;nbsp;1.000000&lt;/P&gt;

&lt;P&gt;Solving system in-place...&lt;BR /&gt;
	The solution in-place of the system is:&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;on zero process x [0] = &amp;nbsp;0.149579&lt;BR /&gt;
	&amp;nbsp;on zero process x [1] = &amp;nbsp;0.259831&lt;BR /&gt;
	&amp;nbsp;on zero process x [2] = -0.370084&lt;BR /&gt;
	&amp;nbsp;on zero process x [3] = &amp;nbsp;1.000000&lt;BR /&gt;
	&amp;nbsp;on zero process x [4] = &amp;nbsp;1.000000&lt;/P&gt;

&lt;P&gt;Can you reproduce this behavior ? The solution in-place is obviously wrong. Do you see how to fix that ? Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2015 08:07:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-computes-wrong-solution/m-p/1042072#M20763</guid>
      <dc:creator>asd__asdqwe</dc:creator>
      <dc:date>2015-01-07T08:07:04Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-computes-wrong-solution/m-p/1042073#M20764</link>
      <description>&lt;P&gt;&lt;SPAN style="font: 13px/19.51px Arial, 宋体, Tahoma, Helvetica, sans-serif; color: rgb(83, 87, 94); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font: 13px/19.51px Arial, 宋体, Tahoma, Helvetica, sans-serif; color: rgb(83, 87, 94); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;"&gt;Everything is correct, current version of &lt;SPAN style="font: 13px/19.51px Arial, 宋体, Tahoma, Helvetica, sans-serif; color: rgb(83, 87, 94); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;"&gt;Direct Sparse Solver for Clusters doesn't support combination of in-place (iparm(6) = 1)&amp;nbsp;solution with distributed rhs and non-distributed solution vector (iparm(40)=1)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font: 13px/19.51px Arial, 宋体, Tahoma, Helvetica, sans-serif; color: rgb(83, 87, 94); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;"&gt;&lt;SPAN style="font: 13px/19.51px Arial, 宋体, Tahoma, Helvetica, sans-serif; color: rgb(83, 87, 94); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font: 13px/19.51px Arial, 宋体, Tahoma, Helvetica, sans-serif; color: rgb(83, 87, 94); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;"&gt;&lt;SPAN style="font: 13px/19.51px Arial, 宋体, Tahoma, Helvetica, sans-serif; color: rgb(83, 87, 94); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;"&gt;Alex&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2015 12:08:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cluster-sparse-solver-computes-wrong-solution/m-p/1042073#M20764</guid>
      <dc:creator>Alexander_K_Intel2</dc:creator>
      <dc:date>2015-01-08T12:08:51Z</dc:date>
    </item>
  </channel>
</rss>

