<?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: Error in I_MPI_PIN_DOMAIN when combining Intel MPI and OpenMP in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/Error-in-I-MPI-PIN-DOMAIN-when-combining-Intel-MPI-and-OpenMP/m-p/1456531#M10396</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for testing - I have been attempting to run this on AMD processors, which therefore must be the cause of the problem. Thanks anyway!&lt;/P&gt;</description>
    <pubDate>Thu, 16 Feb 2023 12:25:20 GMT</pubDate>
    <dc:creator>as14</dc:creator>
    <dc:date>2023-02-16T12:25:20Z</dc:date>
    <item>
      <title>Error in I_MPI_PIN_DOMAIN when combining Intel MPI and OpenMP</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Error-in-I-MPI-PIN-DOMAIN-when-combining-Intel-MPI-and-OpenMP/m-p/1455299#M10373</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am running a Coarray Fortran code with Intel-MPI, and additionally am trying to combine this with OpenMP. Intel-MPI should assign a rank to each node I am using, and within that node, all cores should be available to OpenMP as threads.&lt;/P&gt;
&lt;P&gt;In my case, each node consists of two sockets with 64 threads each. I only run with 10 for testing, as you will see below.&lt;/P&gt;
&lt;P&gt;The MPI functionality and communication between nodes works perfectly, however only one OpenMP thread is visible when running&amp;nbsp;omp_get_num_procs() .&lt;/P&gt;
&lt;P&gt;I am using SLURM, and in my job script, I set:&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;export&lt;/SPAN&gt;&lt;SPAN&gt; I_MPI_OFI_PROVIDER=Verbs&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;export&lt;/SPAN&gt;&lt;SPAN&gt; I_MPI_PIN_DOMAIN=node&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;export&lt;/SPAN&gt;&lt;SPAN&gt; OMP_NUM_THREADS=10&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Setting the OFI provider to Verbs specifies the communications provider between notes, and the I_MPI_PIN_DOMAIN sets how threads should be pinned within an MPI domain (see here:&amp;nbsp;&lt;A href="https://www.intel.com/content/www/us/en/develop/documentation/mpi-developer-reference-linux/top/environment-variable-reference/process-pinning/interoperability-with-openmp-api.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/develop/documentation/mpi-developer-reference-linux/top/environment-variable-reference/process-pinning/interoperability-with-openmp-api.html&lt;/A&gt;).&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I submit the job with:&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;#SBATCH --nodes=2&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;#SBATCH --ntasks-per-node=1&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;#SBATCH --cpus-per-task=10&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;I have tested with:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;1. intel/19.1.3.304 (2020.4.304) with intel/mpi/2021.5.0&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;2.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;intel-oneapi-compilers/2022.0.2-gcc-11.2.0-yzi4tsu with&amp;nbsp;intel-oneapi-mpi/2021.4.0-gcc-11.2.0-2e7zm7z&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Any help would be greatly appreciated! Thanks &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 10 Feb 2023 13:53:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Error-in-I-MPI-PIN-DOMAIN-when-combining-Intel-MPI-and-OpenMP/m-p/1455299#M10373</guid>
      <dc:creator>as14</dc:creator>
      <dc:date>2023-02-10T13:53:39Z</dc:date>
    </item>
    <item>
      <title>Re:Error in I_MPI_PIN_DOMAIN when combining Intel MPI and OpenMP</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Error-in-I-MPI-PIN-DOMAIN-when-combining-Intel-MPI-and-OpenMP/m-p/1455556#M10376</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting in Intel Communities.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please try using 'omp' instead 'node' in&amp;nbsp;I_MPI_PIN_DOMAIN&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please provide us with a complete sample reproducer code and steps to reproduce the issue so that we can try it from our end?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Aishwarya&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Feb 2023 06:13:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Error-in-I-MPI-PIN-DOMAIN-when-combining-Intel-MPI-and-OpenMP/m-p/1455556#M10376</guid>
      <dc:creator>AishwaryaCV_Intel</dc:creator>
      <dc:date>2023-02-14T06:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Error in I_MPI_PIN_DOMAIN when combining Intel MPI and OpenMP</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Error-in-I-MPI-PIN-DOMAIN-when-combining-Intel-MPI-and-OpenMP/m-p/1455662#M10378</link>
      <description>&lt;P&gt;Thanks for getting back to me. I had already tried&amp;nbsp;&lt;SPAN&gt;I_MPI_PIN_DOMAIN as omp, and I have tried again now, but still not working. Please find attached a zip file with the code. You simply need to execute "./run.sh" to create the executable and submit a job to the SLURM job management system.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Let me know what you figure out! Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 11:45:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Error-in-I-MPI-PIN-DOMAIN-when-combining-Intel-MPI-and-OpenMP/m-p/1455662#M10378</guid>
      <dc:creator>as14</dc:creator>
      <dc:date>2023-02-14T11:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error in I_MPI_PIN_DOMAIN when combining Intel MPI and OpenMP</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Error-in-I-MPI-PIN-DOMAIN-when-combining-Intel-MPI-and-OpenMP/m-p/1456495#M10393</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have run your code with Intel processor: Intel(R) Xeon(R) Platinum 8360Y CPU @ 2.40GHz&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We were successfully able to run the code and was able to get 10 threads by assigning omp to I_MPI_PIN_DOMAIN&lt;/P&gt;
&lt;P&gt;Can find the following attached screenshots for using node and omp as node.png and omp.png respectively.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;NOTE:&lt;/STRONG&gt;&lt;/U&gt; Could you please check I_MPI_PIN_DOMAIN=omp with&lt;EM&gt; Intel Processors&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Can find the supported Intel Processors here &lt;A href="https://www.intel.in/content/www/in/en/support/products/873/processors.html#122139" target="_blank" rel="noopener"&gt;https://www.intel.in/content/www/in/en/support/products/873/processors.html#122139&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks And Regards,&lt;/P&gt;
&lt;P&gt;Aishwarya&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 09:58:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Error-in-I-MPI-PIN-DOMAIN-when-combining-Intel-MPI-and-OpenMP/m-p/1456495#M10393</guid>
      <dc:creator>AishwaryaCV_Intel</dc:creator>
      <dc:date>2023-02-16T09:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error in I_MPI_PIN_DOMAIN when combining Intel MPI and OpenMP</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Error-in-I-MPI-PIN-DOMAIN-when-combining-Intel-MPI-and-OpenMP/m-p/1456531#M10396</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for testing - I have been attempting to run this on AMD processors, which therefore must be the cause of the problem. Thanks anyway!&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 12:25:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Error-in-I-MPI-PIN-DOMAIN-when-combining-Intel-MPI-and-OpenMP/m-p/1456531#M10396</guid>
      <dc:creator>as14</dc:creator>
      <dc:date>2023-02-16T12:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error in I_MPI_PIN_DOMAIN when combining Intel MPI and OpenMP</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Error-in-I-MPI-PIN-DOMAIN-when-combining-Intel-MPI-and-OpenMP/m-p/1457437#M10407</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your inquiry. We can only offer direct support for Intel hardware platforms that the Intel® oneAPI product supports. Intel provides instructions on how to compile oneAPI code for both CPU and a wide range of GPU accelerators. &lt;A href="https://intel.github.io/llvm-docs/GetStartedGuide.html" target="_blank" rel="noopener noreferrer"&gt;https://intel.github.io/llvm-docs/GetStartedGuide.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This thread will no longer be monitored by Intel. If you need further assistance, please post a new question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Aishwarya&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 06:51:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Error-in-I-MPI-PIN-DOMAIN-when-combining-Intel-MPI-and-OpenMP/m-p/1457437#M10407</guid>
      <dc:creator>AishwaryaCV_Intel</dc:creator>
      <dc:date>2023-04-28T06:51:46Z</dc:date>
    </item>
  </channel>
</rss>

