<?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: threading problem in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/threading-problem/m-p/1290552#M31533</link>
    <description>&lt;P&gt;could you ask your question in English please?&lt;/P&gt;</description>
    <pubDate>Thu, 17 Jun 2021 03:06:25 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2021-06-17T03:06:25Z</dc:date>
    <item>
      <title>threading problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/threading-problem/m-p/1290544#M31532</link>
      <description>&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;我在使用 MLK 并行函数时遇到问题。&lt;/FONT&gt;&lt;FONT style="vertical-align: inherit;"&gt;我正在尝试将串行程序修改为并行程序，并设置 openMP 线程数=5。当我使用编译命令时&amp;nbsp;&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;ifort ... -mkl=parallel -fopenmp&amp;nbsp;&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;可正确设置线程数=5&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;但是如果我使用makefile来编译这个程序，线程数总是1。&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt;我应该将 -mkl=parallel 添加到我的 makefile 中吗？&lt;/FONT&gt;&lt;FONT style="vertical-align: inherit;"&gt;我应该怎么办？&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&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;&amp;nbsp;&lt;/P&gt;
&lt;P&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;</description>
      <pubDate>Thu, 17 Jun 2021 02:46:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/threading-problem/m-p/1290544#M31532</guid>
      <dc:creator>littlewang</dc:creator>
      <dc:date>2021-06-17T02:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: threading problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/threading-problem/m-p/1290552#M31533</link>
      <description>&lt;P&gt;could you ask your question in English please?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 03:06:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/threading-problem/m-p/1290552#M31533</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2021-06-17T03:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: threading problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/threading-problem/m-p/1290619#M31534</link>
      <description>&lt;P class="tgt" data-section="0"&gt;&lt;SPAN class="tgt" data-section="0" data-sentence="0" data-group="0-0"&gt;hello&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="tgt" data-section="1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="tgt" data-section="2"&gt;&lt;SPAN class="tgt" data-section="2" data-sentence="0" data-group="2-0"&gt;I'm having problems using MLK parallel functions.&lt;/SPAN&gt;&lt;SPAN class="tgt" data-section="2" data-sentence="1" data-group="2-1"&gt; I am trying to change the serial program to a parallel program and set the number of OpenMP threads to 5.&lt;/SPAN&gt;&lt;SPAN class="tgt" data-section="2" data-sentence="2" data-group="2-2"&gt; When I use the compile command&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="tgt" data-section="3"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="tgt" data-section="4"&gt;&lt;SPAN class="tgt" data-section="4" data-sentence="0" data-group="4-0"&gt;ifort ... &lt;/SPAN&gt;&lt;SPAN class="tgt" data-section="4" data-sentence="1" data-group="4-1"&gt;- MKL = parallel&amp;nbsp; - fopenmp&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="tgt" data-section="5"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="tgt" data-section="6"&gt;&lt;SPAN class="tgt" data-section="6" data-sentence="0" data-group="6-0"&gt;The number of threads can be set correctly to 5&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="tgt" data-section="7"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="tgt" data-section="8"&gt;&lt;SPAN class="tgt" data-section="8" data-sentence="0" data-group="8-0"&gt;But if I compile this program using a Makefile, the number of threads is always 1.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="tgt" data-section="9"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="tgt" data-section="10"&gt;&lt;SPAN class="tgt" data-section="10" data-sentence="0" data-group="10-0"&gt;Should I add -mkl=parallel to my makefile?&lt;/SPAN&gt;&lt;SPAN class="tgt" data-section="10" data-sentence="1" data-group="10-1"&gt; What should I do?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="tgt" data-section="11"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="tgt" data-section="12"&gt;&lt;SPAN class="tgt" data-section="12" data-sentence="0" data-group="12-0"&gt;I put my files in the attachment&lt;/SPAN&gt;&lt;SPAN class="tgt" data-section="14" data-sentence="0" data-group="14-0"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="tgt" data-section="15"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="tgt" data-section="16"&gt;&lt;SPAN class="tgt" data-section="16" data-sentence="0" data-group="16-0"&gt;I appreciate any comments and ideas!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 06:47:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/threading-problem/m-p/1290619#M31534</guid>
      <dc:creator>littlewang</dc:creator>
      <dc:date>2021-06-17T06:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: threading problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/threading-problem/m-p/1290639#M31536</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please try using the latest version of MKL, we don't support the older versions.and use the latest oneMKL Link Line Advisor tool:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/onemkl/link-line-advisor.html" target="_blank" rel="noopener"&gt;https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/onemkl/link-line-advisor.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let us know if you have any issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Rajesh.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 08:22:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/threading-problem/m-p/1290639#M31536</guid>
      <dc:creator>MRajesh_intel</dc:creator>
      <dc:date>2021-06-17T08:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: threading problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/threading-problem/m-p/1290659#M31537</link>
      <description>&lt;P&gt;I'm sorry I still don't know how to deal with this problem. Here is a screenshot of the option I made in the above URL. Could you please help me modify my Makefile?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="littlewang_0-1623918975876.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/17593i88B9CF793F037743/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="littlewang_0-1623918975876.png" alt="littlewang_0-1623918975876.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 08:36:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/threading-problem/m-p/1290659#M31537</guid>
      <dc:creator>littlewang</dc:creator>
      <dc:date>2021-06-17T08:36:28Z</dc:date>
    </item>
    <item>
      <title>Re:threading problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/threading-problem/m-p/1290706#M31541</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Can you please share the Fortran compiler version, MKL version used, required files for the make, build steps. So that we can see if the issue is reproducible from our end?&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, 17 Jun 2021 10:55:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/threading-problem/m-p/1290706#M31541</guid>
      <dc:creator>MRajesh_intel</dc:creator>
      <dc:date>2021-06-17T10:55:12Z</dc:date>
    </item>
    <item>
      <title>Re:threading problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/threading-problem/m-p/1292313#M31586</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Can you please provide the required details?&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>Wed, 23 Jun 2021 03:11:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/threading-problem/m-p/1292313#M31586</guid>
      <dc:creator>MRajesh_intel</dc:creator>
      <dc:date>2021-06-23T03:11:05Z</dc:date>
    </item>
    <item>
      <title>Re:threading problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/threading-problem/m-p/1293823#M31604</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Since we didn't hear back from you, we are closing this thread for now. If you require any additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Have a Good day.&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>Mon, 28 Jun 2021 07:50:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/threading-problem/m-p/1293823#M31604</guid>
      <dc:creator>MRajesh_intel</dc:creator>
      <dc:date>2021-06-28T07:50:49Z</dc:date>
    </item>
  </channel>
</rss>

