<?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 Re: Re:pardiso thread in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-thread/m-p/1275998#M31240</link>
    <description>&lt;P&gt;Hi Rajesh,&lt;/P&gt;
&lt;P&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt;非常感谢您的建议。&lt;/FONT&gt;&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt;这是正确的。&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt;我已经按照上述方法成功解决了这个问题！&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt;此致，&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt;小王&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Apr 2021 01:29:35 GMT</pubDate>
    <dc:creator>littlewang</dc:creator>
    <dc:date>2021-04-23T01:29:35Z</dc:date>
    <item>
      <title>pardiso thread</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-thread/m-p/1275631#M31225</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Threading Problem in Pardiso&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;hello,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We meet a problem in using Pardiso with multiple threads.&lt;SPAN class="tgt highlight" data-section="0" data-sentence="0" data-group="0-0"&gt;This is the first time I used the MKL library.&lt;/SPAN&gt;&lt;SPAN class="tgt" data-section="0" data-sentence="1" data-group="0-1"&gt;&amp;nbsp;I want to set the number of parallel threads in pardiso. How to modify the following example program to get four threads in parallel?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="tgt" data-section="0" data-sentence="1" data-group="0-1"&gt;I'm trying to use&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="tgt" data-section="0" data-sentence="1" data-group="0-1"&gt;Call mkl_set_dynamic(1)&lt;BR /&gt;Call mkl_set_num_threads (4)&lt;BR /&gt;Call omp_set_num_threads (4)&lt;BR /&gt;To set the number of threads, but the output is&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;=== PARDISO: solving a symmetric indefinite system ===&lt;BR /&gt;1-based array indexing is turned ON&lt;BR /&gt;PARDISO double precision computation is turned ON&lt;BR /&gt;METIS algorithm at reorder step is turned ON&lt;BR /&gt;Scaling is turned ON&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Summary: ( reordering phase )&lt;BR /&gt;================&lt;/P&gt;
&lt;P&gt;Times:&lt;BR /&gt;======&lt;BR /&gt;Time spent in calculations of symmetric matrix portrait (fulladj): 0.000010 s&lt;BR /&gt;Time spent in reordering of the initial matrix (reorder) : 0.000102 s&lt;BR /&gt;Time spent in symbolic factorization (symbfct) : 0.000015 s&lt;BR /&gt;Time spent in data preparations for factorization (parlist) : 0.000005 s&lt;BR /&gt;Time spent in allocation of internal data structures (malloc) : 0.001037 s&lt;BR /&gt;Time spent in additional calculations : 0.000012 s&lt;BR /&gt;Total time spent : 0.001181 s&lt;/P&gt;
&lt;P&gt;Statistics:&lt;BR /&gt;===========&lt;BR /&gt;Parallel Direct Factorization is running on 1 OpenMP&lt;/P&gt;
&lt;P&gt;&amp;lt; Linear system Ax = b &amp;gt;&lt;BR /&gt;number of equations: 8&lt;BR /&gt;number of non-zeros in A: 18&lt;BR /&gt;number of non-zeros in A (%): 28.125000&lt;/P&gt;
&lt;P&gt;number of right-hand sides: 1&lt;/P&gt;
&lt;P&gt;&amp;lt; Factors L and U &amp;gt;&lt;BR /&gt;number of columns for each panel: 128&lt;BR /&gt;number of independent subgraphs: 0&lt;BR /&gt;&amp;lt; Preprocessing with state of the art partitioning metis&amp;gt;&lt;BR /&gt;number of supernodes: 4&lt;BR /&gt;size of largest supernode: 4&lt;BR /&gt;number of non-zeros in L: 31&lt;BR /&gt;number of non-zeros in U: 1&lt;BR /&gt;number of non-zeros in L+U: 32&lt;BR /&gt;Reordering completed ... &lt;BR /&gt;Number of nonzeros in factors = 32&lt;BR /&gt;Number of factorization MFLOPS = 0&lt;BR /&gt;=== PARDISO is running in In-Core mode, because iparam(60)=0 ===&lt;/P&gt;
&lt;P&gt;Percentage of computed non-zeros for LL^T factorization&lt;BR /&gt;25 % 38 % 48 % 100 %&lt;/P&gt;
&lt;P&gt;=== PARDISO: solving a symmetric indefinite system ===&lt;BR /&gt;Single-level factorization algorithm is turned ON&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Summary: ( factorization phase )&lt;BR /&gt;================&lt;/P&gt;
&lt;P&gt;Times:&lt;BR /&gt;======&lt;BR /&gt;Time spent in copying matrix to internal data structure (A to LU): 0.000000 s&lt;BR /&gt;Time spent in factorization step (numfct) : 0.000109 s&lt;BR /&gt;Time spent in allocation of internal data structures (malloc) : 0.000014 s&lt;BR /&gt;Time spent in additional calculations : 0.000001 s&lt;BR /&gt;Total time spent : 0.000124 s&lt;/P&gt;
&lt;P&gt;Statistics:&lt;BR /&gt;===========&lt;BR /&gt;Parallel Direct Factorization is running on 1 OpenMP&lt;/P&gt;
&lt;P&gt;&amp;lt; Linear system Ax = b &amp;gt;&lt;BR /&gt;number of equations: 8&lt;BR /&gt;number of non-zeros in A: 18&lt;BR /&gt;number of non-zeros in A (%): 28.125000&lt;/P&gt;
&lt;P&gt;number of right-hand sides: 1&lt;/P&gt;
&lt;P&gt;&amp;lt; Factors L and U &amp;gt;&lt;BR /&gt;number of columns for each panel: 128&lt;BR /&gt;number of independent subgraphs: 0&lt;BR /&gt;&amp;lt; Preprocessing with state of the art partitioning metis&amp;gt;&lt;BR /&gt;number of supernodes: 4&lt;BR /&gt;size of largest supernode: 4&lt;BR /&gt;number of non-zeros in L: 31&lt;BR /&gt;number of non-zeros in U: 1&lt;BR /&gt;number of non-zeros in L+U: 32&lt;BR /&gt;gflop for the numerical factorization: 0.000000&lt;/P&gt;
&lt;P&gt;gflop/s for the numerical factorization: 0.000679&lt;/P&gt;
&lt;P&gt;Factorization completed ...&lt;/P&gt;
&lt;P&gt;=== PARDISO: solving a symmetric indefinite system ===&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Summary: ( solution phase )&lt;BR /&gt;================&lt;/P&gt;
&lt;P&gt;Times:&lt;BR /&gt;======&lt;BR /&gt;Time spent in direct solver at solve step (solve) : 0.000025 s&lt;BR /&gt;Time spent in additional calculations : 0.000041 s&lt;BR /&gt;Total time spent : 0.000066 s&lt;/P&gt;
&lt;P&gt;Statistics:&lt;BR /&gt;===========&lt;BR /&gt;Parallel Direct Factorization is running on 1 OpenMP&lt;/P&gt;
&lt;P&gt;&amp;lt; Linear system Ax = b &amp;gt;&lt;BR /&gt;number of equations: 8&lt;BR /&gt;number of non-zeros in A: 18&lt;BR /&gt;number of non-zeros in A (%): 28.125000&lt;/P&gt;
&lt;P&gt;number of right-hand sides: 1&lt;/P&gt;
&lt;P&gt;&amp;lt; Factors L and U &amp;gt;&lt;BR /&gt;number of columns for each panel: 128&lt;BR /&gt;number of independent subgraphs: 0&lt;BR /&gt;&amp;lt; Preprocessing with state of the art partitioning metis&amp;gt;&lt;BR /&gt;number of supernodes: 4&lt;BR /&gt;size of largest supernode: 4&lt;BR /&gt;number of non-zeros in L: 31&lt;BR /&gt;number of non-zeros in U: 1&lt;BR /&gt;number of non-zeros in L+U: 32&lt;BR /&gt;gflop for the numerical factorization: 0.000000&lt;/P&gt;
&lt;P&gt;gflop/s for the numerical factorization: 0.000679&lt;/P&gt;
&lt;P&gt;Solve completed ... &lt;BR /&gt;The solution of the system is &lt;BR /&gt;x( 1 ) = -4.186020128680938E-002&lt;BR /&gt;x( 2 ) = -3.413124159279142E-003&lt;BR /&gt;x( 3 ) = 0.117250376805018 &lt;BR /&gt;x( 4 ) = -0.112639579923180 &lt;BR /&gt;x( 5 ) = 2.417224446137142E-002&lt;BR /&gt;x( 6 ) = -0.107633340356223 &lt;BR /&gt;x( 7 ) = 0.198719673273585 &lt;BR /&gt;x( 8 ) = 0.190382963551205&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'd appreciate any input and ideas!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 01:26:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-thread/m-p/1275631#M31225</guid>
      <dc:creator>littlewang</dc:creator>
      <dc:date>2021-04-22T01:26:52Z</dc:date>
    </item>
    <item>
      <title>Re:pardiso thread</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-thread/m-p/1275797#M31232</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You can set the no. of threads in two ways:&lt;/P&gt;&lt;P&gt;1)Set command: MKL_DYNAMIC=FALSE MKL_NUM_THREADS=4 OMP_NUM_THREADS=4 ./a.out during runtime.&lt;/P&gt;&lt;P&gt;2) Call &lt;/P&gt;&lt;P&gt; mkl_set_dynamic(0)&lt;/P&gt;&lt;P&gt; mkl_set_num_threads (4)&lt;/P&gt;&lt;P&gt; omp_set_num_threads (4) before parallel region in your code.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you print the omp_get_thread_num() in the parallel region to get confirmation about the no. of threads that are getting launched?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rajesh.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Apr 2021 11:11:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-thread/m-p/1275797#M31232</guid>
      <dc:creator>MRajesh_intel</dc:creator>
      <dc:date>2021-04-22T11:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Re:pardiso thread</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-thread/m-p/1275998#M31240</link>
      <description>&lt;P&gt;Hi Rajesh,&lt;/P&gt;
&lt;P&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt;非常感谢您的建议。&lt;/FONT&gt;&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt;这是正确的。&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt;我已经按照上述方法成功解决了这个问题！&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt;此致，&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt;小王&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 01:29:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-thread/m-p/1275998#M31240</guid>
      <dc:creator>littlewang</dc:creator>
      <dc:date>2021-04-23T01:29:35Z</dc:date>
    </item>
    <item>
      <title>Re:pardiso thread</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-thread/m-p/1276963#M31250</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt; Thanks for the confirmation!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt; As this issue has been resolved, we will no longer respond to this thread.&lt;/P&gt;&lt;P&gt; If you require any additional assistance from Intel, please start a new thread.&lt;/P&gt;&lt;P&gt; Any further interaction in this thread will be considered community only.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Have a Good day.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Apr 2021 10:39:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-thread/m-p/1276963#M31250</guid>
      <dc:creator>MRajesh_intel</dc:creator>
      <dc:date>2021-04-27T10:39:23Z</dc:date>
    </item>
  </channel>
</rss>

