<?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 OK, my MKL version is 11.1.3 in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-with-DSS-Interface-with-multiple-right-hand-side/m-p/1006235#M18909</link>
    <description>&lt;P&gt;OK, my MKL version is 11.1.3 and there are 8 cores on my machine&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jul 2014 20:16:56 GMT</pubDate>
    <dc:creator>Chaowen_G_</dc:creator>
    <dc:date>2014-07-23T20:16:56Z</dc:date>
    <item>
      <title>problem with DSS Interface with multiple right hand side</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-with-DSS-Interface-with-multiple-right-hand-side/m-p/1006230#M18904</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I try to use mkl_dss to solve a complex symmetric linear algebra. And the c++ code is:&lt;/P&gt;

&lt;P&gt;#include&amp;lt;iostream&amp;gt;&lt;BR /&gt;
	#include&amp;lt;iterator&amp;gt;&lt;BR /&gt;
	#include&amp;lt;complex&amp;gt;&lt;BR /&gt;
	#include&amp;lt;vector&amp;gt;&lt;BR /&gt;
	#include&amp;lt;mkl_dss.h&amp;gt;&lt;/P&gt;

&lt;P&gt;int main()&lt;BR /&gt;
	{&lt;BR /&gt;
	&amp;nbsp; _MKL_DSS_HANDLE_t handle;&lt;BR /&gt;
	&amp;nbsp; int opt{MKL_DSS_DEFAULTS};&lt;BR /&gt;
	&amp;nbsp; dss_create(handle,opt);&lt;BR /&gt;
	&amp;nbsp; std::vector&amp;lt;int&amp;gt;rowIndex{1,5,9,13,17,21,25,27,29,30},columns{1,3,7,8,2,3,8,9,3,7,8,9,4,6,7,8,5,6,8,9,6,7,8,9,7,8,8,9,9};&lt;BR /&gt;
	&amp;nbsp; int sym{MKL_DSS_SYMMETRIC_COMPLEX},nRows{rowIndex.size()-1},nCols{nRows},nNonZeros{columns.size()};&lt;BR /&gt;
	&amp;nbsp; dss_define_structure(handle,sym,rowIndex.data(),nRows,nCols,columns.data(),nNonZeros);&lt;BR /&gt;
	&amp;nbsp; dss_reorder(handle,opt,0);&lt;BR /&gt;
	&amp;nbsp; int type{MKL_DSS_INDEFINITE};&lt;BR /&gt;
	&amp;nbsp; std::vector&amp;lt;std::complex&amp;lt;double&amp;gt;&amp;gt;values{14,{-1,-0.05},{-1,-0.05},{-3,-0.15},14,{-1,-0.05},{-3,-0.15},{-1,-0.05},16,{-2,-0.1},{-4,-0.2},{-2,-0.1},14,{-1,-0.05},{-1,-0.05},{-3,-0.15},14,{-1,-0.05},{-3,-0.15},{-1,-0.05},16,{-2,-0.1},{-4,-0.2},{-2,-0.1},16,{-4,-0.2},71,{-4,-0.2},16};&lt;BR /&gt;
	&amp;nbsp; dss_factor_complex(handle,type,values.data());&lt;BR /&gt;
	&amp;nbsp; int nRhs{10};&lt;BR /&gt;
	&amp;nbsp; std::vector&amp;lt;std::complex&amp;lt;double&amp;gt;&amp;gt;rhs(nRows*nRhs,{1,0.05}),solValues(rhs.size());&lt;BR /&gt;
	&amp;nbsp; std::cout&amp;lt;&amp;lt;dss_solve_complex(handle,opt,rhs.data(),nRhs,solValues.data())&amp;lt;&amp;lt;std::endl;&lt;BR /&gt;
	&amp;nbsp; std::copy(solValues.cbegin(),solValues.cend(),std::ostream_iterator&amp;lt;std::complex&amp;lt;double&amp;gt;&amp;gt;{std::cout," "});&lt;BR /&gt;
	&amp;nbsp; dss_delete(handle,opt);&lt;BR /&gt;
	&amp;nbsp; std::cout&amp;lt;&amp;lt;std::endl;&lt;BR /&gt;
	}&lt;/P&gt;

&lt;P&gt;the weird stuff is if I just set nRhs less than 6, then it works fine and the answer is correct. However, if I set nRhs greater than 7 then, it will print:&lt;/P&gt;

&lt;P&gt;0&lt;/P&gt;

&lt;P&gt;segmentation fault&lt;/P&gt;

&lt;P&gt;it seems that there is something wrong with dss_solve_complex, it can not deal with multiple right hand side correctly.&lt;/P&gt;

&lt;P&gt;I use g++-4.9 and the compile command is g++-4.9 -std=c++11 source.cpp -lmkl_rt, os: linux64&lt;/P&gt;

&lt;P&gt;I already check that, if I use the pardiso interface then it works fine.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2014 22:07:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-with-DSS-Interface-with-multiple-right-hand-side/m-p/1006230#M18904</guid>
      <dc:creator>Chaowen_G_</dc:creator>
      <dc:date>2014-07-21T22:07:41Z</dc:date>
    </item>
    <item>
      <title>Hi Chaowen, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-with-DSS-Interface-with-multiple-right-hand-side/m-p/1006231#M18905</link>
      <description>&lt;P&gt;Hi Chaowen,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;What is MKL version you are using and how many core of your machine? &amp;nbsp;The bug looks familiar. we will check the internal bug record.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;

&lt;P&gt;Ying&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2014 02:05:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-with-DSS-Interface-with-multiple-right-hand-side/m-p/1006231#M18905</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2014-07-22T02:05:05Z</dc:date>
    </item>
    <item>
      <title>Hi </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-with-DSS-Interface-with-multiple-right-hand-side/m-p/1006232#M18906</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The issue looks similar to&amp;nbsp;DPD200530039, &amp;nbsp;the fix will be in MKL 11.2 gold and MKL 11.1.4. ( targeted to be released in the two months)&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;

&lt;P&gt;Ying&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2014 08:18:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-with-DSS-Interface-with-multiple-right-hand-side/m-p/1006232#M18906</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2014-07-22T08:18:43Z</dc:date>
    </item>
    <item>
      <title>I install form l_psxe_online</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-with-DSS-Interface-with-multiple-right-hand-side/m-p/1006233#M18907</link>
      <description>&lt;P&gt;I install form l_psxe_online_p_2.1.3.020.sh. I know that I can use icc -V or icpc -V to check the version of icc or icpc. But I do not know how to check the version of mkl. Could you tell me how to do that?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2014 19:57:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-with-DSS-Interface-with-multiple-right-hand-side/m-p/1006233#M18907</guid>
      <dc:creator>Chaowen_G_</dc:creator>
      <dc:date>2014-07-22T19:57:44Z</dc:date>
    </item>
    <item>
      <title>One can usually tell the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-with-DSS-Interface-with-multiple-right-hand-side/m-p/1006234#M18908</link>
      <description>&lt;P&gt;One can usually tell the version of MKL from the path of the directory where the MKL files are installed. Or, you can compile and run the following program:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;#include &amp;lt;mkl.h&amp;gt;
#include &amp;lt;stdio.h&amp;gt;
int main(){
char version[200];

mkl_get_version_string(version,200);
puts(version);
}
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2014 20:13:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-with-DSS-Interface-with-multiple-right-hand-side/m-p/1006234#M18908</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2014-07-22T20:13:26Z</dc:date>
    </item>
    <item>
      <title>OK, my MKL version is 11.1.3</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-with-DSS-Interface-with-multiple-right-hand-side/m-p/1006235#M18909</link>
      <description>&lt;P&gt;OK, my MKL version is 11.1.3 and there are 8 cores on my machine&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2014 20:16:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-with-DSS-Interface-with-multiple-right-hand-side/m-p/1006235#M18909</guid>
      <dc:creator>Chaowen_G_</dc:creator>
      <dc:date>2014-07-23T20:16:56Z</dc:date>
    </item>
    <item>
      <title>Have you tried the latest MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-with-DSS-Interface-with-multiple-right-hand-side/m-p/1006236#M18910</link>
      <description>&lt;P&gt;Have you tried the latest MKL version 11.2 that was released recently as Ying mentioned above that the fix?&lt;/P&gt;

&lt;P&gt;Vipin&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2014 04:10:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-with-DSS-Interface-with-multiple-right-hand-side/m-p/1006236#M18910</guid>
      <dc:creator>VipinKumar_E_Intel</dc:creator>
      <dc:date>2014-09-23T04:10:30Z</dc:date>
    </item>
    <item>
      <title>Yes, the latest MKL version</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-with-DSS-Interface-with-multiple-right-hand-side/m-p/1006237#M18911</link>
      <description>&lt;P&gt;Yes, the latest MKL version 11.2 solve the problem&lt;/P&gt;</description>
      <pubDate>Sun, 05 Oct 2014 02:27:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problem-with-DSS-Interface-with-multiple-right-hand-side/m-p/1006237#M18911</guid>
      <dc:creator>Chaowen_G_</dc:creator>
      <dc:date>2014-10-05T02:27:14Z</dc:date>
    </item>
  </channel>
</rss>

