<?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   in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-Multithreading-Issue/m-p/1040382#M20673</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2;"&gt;Thank you for answer!&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2;"&gt;It seems so. Could you tell me please, what libraries are necessary to link in order to use PARDISO in a parallel? I mean, static libs?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Aug 2015 11:43:38 GMT</pubDate>
    <dc:creator>Roman_S_7</dc:creator>
    <dc:date>2015-08-05T11:43:38Z</dc:date>
    <item>
      <title>MKL / PARDISO Multithreading Issue</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-Multithreading-Issue/m-p/1040380#M20671</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;

&lt;P&gt;I am using PARDISO for factorization of symmetrical complex matrices. Recently I downloaded evaluation library v. 11.2 upd3 and run a code that was developed for v.10 library some time ago. It solves the problem with success but only with 1 thread. I.e. I failed to enable multithreading for PARDISO. Last time I used OMP_NUM_THREADS variable and it was ok.&lt;/P&gt;

&lt;P&gt;How can I enable multithreading? Can the evaluation (trial) license be locked for more than 1 thread?&lt;/P&gt;

&lt;P&gt;Environment:&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;
		&lt;P&gt;Win7 OS&lt;/P&gt;
	&lt;/LI&gt;
	&lt;LI&gt;
		&lt;P&gt;MS Visual Studio 2010 C++&lt;/P&gt;
	&lt;/LI&gt;
	&lt;LI&gt;
		&lt;P&gt;Desktop PC with Intel i5 CPU&lt;/P&gt;
	&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Pardiso iparm:&lt;/P&gt;

&lt;P&gt;iparm[0] = 0; // No solver default.&lt;/P&gt;

&lt;P&gt;iparm[1] = 3; // The parallel (OpenMP) version of the nested dissection algorithm&lt;/P&gt;

&lt;P&gt;iparm[2] = 0; //&lt;/P&gt;

&lt;P&gt;iparm[3] = 0; // No iterative-direct algorithm.&lt;/P&gt;

&lt;P&gt;iparm[4] = 0; // No user fill-in reducing permutation.&lt;/P&gt;

&lt;P&gt;iparm[5] = 0; // Write solution into x.&lt;/P&gt;

&lt;P&gt;iparm[6] = 0; // Not in use.&lt;/P&gt;

&lt;P&gt;iparm[7] = 2; // Max numbers of iterative refinement steps.&lt;/P&gt;

&lt;P&gt;iparm[8] = 0; // Not in use.&lt;/P&gt;

&lt;P&gt;iparm[9] = 13; // Perturb the pivot elements with 1E-13.&lt;/P&gt;

&lt;P&gt;iparm[10] = 1; // Use nonsymmetric permutation and scaling MPS.&lt;/P&gt;

&lt;P&gt;iparm[11] = 0; // Not in use.&lt;/P&gt;

&lt;P&gt;iparm[12] = 0; // Not in use.&lt;/P&gt;

&lt;P&gt;iparm[13] = 0; // Output: Number of perturbed pivots.&lt;/P&gt;

&lt;P&gt;iparm[14] = 0; // Not in use.&lt;/P&gt;

&lt;P&gt;iparm[15] = 0; // Not in use.&lt;/P&gt;

&lt;P&gt;iparm[16] = 0; // Not in use.&lt;/P&gt;

&lt;P&gt;iparm[17] = -1; // Output: Number of nonzeros in the factor LU.&lt;/P&gt;

&lt;P&gt;iparm[18] = -1; // Output: Mflops for LU factorization.&lt;/P&gt;

&lt;P&gt;iparm[19] = 0; // Output: Numbers of CG Iterations.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Task: Reordering + factorization of Complex symmetrical matrix;&lt;/P&gt;

&lt;P&gt;Goal: multithread run within OpenMP paradigm&lt;/P&gt;

&lt;P&gt;I tried following methods for multithreading:&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;
		&lt;P&gt;Set environment variable OMP_NUM_THREADS– &lt;STRONG&gt;does not work&lt;/STRONG&gt; (process uses 1 thread/CPU kernel)&lt;/P&gt;
	&lt;/LI&gt;
	&lt;LI&gt;
		&lt;P&gt;Set variable MKL_NUM_THREADS– &lt;STRONG&gt;does not work&lt;/STRONG&gt; (process uses 1 thread)&lt;/P&gt;
	&lt;/LI&gt;
	&lt;LI&gt;
		&lt;P&gt;Call function omp_set_num_threads(num_threads) – &lt;STRONG&gt;does not work&lt;/STRONG&gt; (process uses 1 thread)&lt;/P&gt;
	&lt;/LI&gt;
	&lt;LI&gt;
		&lt;P&gt;Call function mkl_set_num_thread(num threads) – &lt;STRONG&gt;does not work&lt;/STRONG&gt; (process uses 1 thread)&lt;/P&gt;
	&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;All “*_set_num_thread” functions call are in the main() before calling any Pardiso routine. Variables are set for the process or in the main function.&lt;/P&gt;

&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2015 07:42:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-Multithreading-Issue/m-p/1040380#M20671</guid>
      <dc:creator>Roman_S_7</dc:creator>
      <dc:date>2015-08-05T07:42:40Z</dc:date>
    </item>
    <item>
      <title>Roman, the evaluation version</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-Multithreading-Issue/m-p/1040381#M20672</link>
      <description>&lt;P&gt;Roman, the evaluation version of MKL is the same as the product version.&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;How do you link your application? it looks like you linked &lt;/SPAN&gt;sequential threading libs.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2015 11:30:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-Multithreading-Issue/m-p/1040381#M20672</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2015-08-05T11:30:10Z</dc:date>
    </item>
    <item>
      <title> </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-Multithreading-Issue/m-p/1040382#M20673</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2;"&gt;Thank you for answer!&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2;"&gt;It seems so. Could you tell me please, what libraries are necessary to link in order to use PARDISO in a parallel? I mean, static libs?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2015 11:43:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-Multithreading-Issue/m-p/1040382#M20673</guid>
      <dc:creator>Roman_S_7</dc:creator>
      <dc:date>2015-08-05T11:43:38Z</dc:date>
    </item>
    <item>
      <title>static or dynamic - doesn't</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-Multithreading-Issue/m-p/1040383#M20674</link>
      <description>&lt;P&gt;static or dynamic - doesn't make a sense from threading point of view. &amp;nbsp;P&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;lease refer to the mkl linker adviser follow with the link:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&lt;A href="https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/" target="_blank"&gt;https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/&lt;/A&gt; &amp;nbsp;to find how to link with threading version.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2015 13:31:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-Multithreading-Issue/m-p/1040383#M20674</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2015-08-05T13:31:08Z</dc:date>
    </item>
    <item>
      <title>The link is very helpful.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-Multithreading-Issue/m-p/1040384#M20675</link>
      <description>&lt;P&gt;The link is very helpful. Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2015 13:36:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-Multithreading-Issue/m-p/1040384#M20675</guid>
      <dc:creator>Roman_S_7</dc:creator>
      <dc:date>2015-08-05T13:36:03Z</dc:date>
    </item>
  </channel>
</rss>

