<?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 if you expect to see the same in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-results-from-Pardiso-solver-with-multi-threading/m-p/1065606#M21904</link>
    <description>&lt;P&gt;if you expect to see the same output with multithreading case, then pls try to use CNR mode ( see iparm[33] ). with MKL 2017 v2 ( latest release, 4 weeks ago), I don't see the significant differences between 16, 24 and 32 threads.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 25 Mar 2017 13:23:34 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2017-03-25T13:23:34Z</dc:date>
    <item>
      <title>Wrong results from Pardiso solver with multi-threading</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-results-from-Pardiso-solver-with-multi-threading/m-p/1065605#M21903</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm having problems with multi-threading in the Pardiso solver.&lt;/P&gt;

&lt;P&gt;For a given sparse matrix (csr format in mat.txt) and right hand side (rhs.txt) I obtain a different and wrong solution with a number of threads equal or greater than 16.&lt;/P&gt;

&lt;P&gt;I'm working on windows 7 and I'm compiling with the compiler C++ Visual Studio 2013 and the MKL 11.3 Update 4 (Intel Parallel Studio XE 2016 Update 4). I'm linking with the librairies: mkl_intel_lp64, mkl_intel_thread, mkl_core and libiomp5md.&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	Could you reproduce the problem? or is there a mistake in my Pardiso usage?&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	Attached please find my program (./test_mt.exe nb_threads).&lt;/P&gt;

&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;

&lt;P&gt;Best regards.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 16:25:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-results-from-Pardiso-solver-with-multi-threading/m-p/1065605#M21903</guid>
      <dc:creator>Fanny_D_</dc:creator>
      <dc:date>2017-03-24T16:25:09Z</dc:date>
    </item>
    <item>
      <title>if you expect to see the same</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-results-from-Pardiso-solver-with-multi-threading/m-p/1065606#M21904</link>
      <description>&lt;P&gt;if you expect to see the same output with multithreading case, then pls try to use CNR mode ( see iparm[33] ). with MKL 2017 v2 ( latest release, 4 weeks ago), I don't see the significant differences between 16, 24 and 32 threads.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Mar 2017 13:23:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-results-from-Pardiso-solver-with-multi-threading/m-p/1065606#M21904</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2017-03-25T13:23:34Z</dc:date>
    </item>
    <item>
      <title>Thanks for this information.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-results-from-Pardiso-solver-with-multi-threading/m-p/1065607#M21905</link>
      <description>&lt;P&gt;Thanks for this information.&lt;/P&gt;

&lt;P&gt;My original problem was that the results obtained with 16 (24 or 32) threads were wrong and completely different from those obtained with 1 thread and 8 threads.&lt;/P&gt;

&lt;P&gt;Do you observe the same?&lt;/P&gt;

&lt;P&gt;If I set iparm[33] to the desired number of threads n_threads (i.e threads specified in mkl_set_number_threads()) I obtain with n_threads=16 good results.&lt;/P&gt;

&lt;P&gt;Could you please explain the consequences on performances? If I set iparm[33] to the number of threads specified in mkl_set_num_thread() do I obtain good performances?&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;

&lt;P&gt;Best regards.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 11:29:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Wrong-results-from-Pardiso-solver-with-multi-threading/m-p/1065607#M21905</guid>
      <dc:creator>Fanny_D_</dc:creator>
      <dc:date>2017-03-27T11:29:49Z</dc:date>
    </item>
  </channel>
</rss>

