<?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 I have the same problem. No in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/MPI-and-the-KMP-PLACE-THREADS-OpenMP-affinity-variable/m-p/966709#M23059</link>
    <description>&lt;P&gt;I have the same problem. No one here have any idea? I need to set the offset depending on the MPI rank, and the MPI process are running on host processor, offloading to Xeon Phi, but I need this offload is done to different cores, depending on the rank. I'm surprised I haven't found a way to do that.&lt;/P&gt;</description>
    <pubDate>Sat, 24 Jan 2015 17:07:17 GMT</pubDate>
    <dc:creator>Silva__Rafael</dc:creator>
    <dc:date>2015-01-24T17:07:17Z</dc:date>
    <item>
      <title>MPI and the KMP_PLACE_THREADS OpenMP affinity variable</title>
      <link>https://community.intel.com/t5/Software-Archive/MPI-and-the-KMP-PLACE-THREADS-OpenMP-affinity-variable/m-p/966707#M23057</link>
      <description>&lt;P&gt;Read about this new feature on here:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://software.intel.com/en-us/blogs/2013/02/15/new-kmp-place-threads-openmp-affinity-variable-in-update-2-compiler" target="_blank"&gt;http://software.intel.com/en-us/blogs/2013/02/15/new-kmp-place-threads-openmp-affinity-variable-in-update-2-compiler&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In this, the author describes two separate processes offloading to different parts of the MIC, effectively partitioning the MIC cores into 2.&lt;/P&gt;
&lt;P&gt;What I would like to know is if it is possible to do this with say 2 different MPI processes. Could we either have it so that different MPI processes have different environmental variables i.e. each has its own unique KMP_PLACE_THREADS value?&lt;/P&gt;
&lt;P&gt;Or ideally can I set this in the program as a call to some API?&lt;/P&gt;
&lt;P&gt;(yes this is the same question I posted in the link, but I figured it would get more coverage if I posted it here too.)&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2013 11:51:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/MPI-and-the-KMP-PLACE-THREADS-OpenMP-affinity-variable/m-p/966707#M23057</guid>
      <dc:creator>james_B_8</dc:creator>
      <dc:date>2013-05-20T11:51:00Z</dc:date>
    </item>
    <item>
      <title>Sorry this is a duplicate</title>
      <link>https://community.intel.com/t5/Software-Archive/MPI-and-the-KMP-PLACE-THREADS-OpenMP-affinity-variable/m-p/966708#M23058</link>
      <description>&lt;P&gt;Sorry this is a duplicate post. Delete me :)&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2013 16:45:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/MPI-and-the-KMP-PLACE-THREADS-OpenMP-affinity-variable/m-p/966708#M23058</guid>
      <dc:creator>james_B_8</dc:creator>
      <dc:date>2013-05-20T16:45:00Z</dc:date>
    </item>
    <item>
      <title>I have the same problem. No</title>
      <link>https://community.intel.com/t5/Software-Archive/MPI-and-the-KMP-PLACE-THREADS-OpenMP-affinity-variable/m-p/966709#M23059</link>
      <description>&lt;P&gt;I have the same problem. No one here have any idea? I need to set the offset depending on the MPI rank, and the MPI process are running on host processor, offloading to Xeon Phi, but I need this offload is done to different cores, depending on the rank. I'm surprised I haven't found a way to do that.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Jan 2015 17:07:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/MPI-and-the-KMP-PLACE-THREADS-OpenMP-affinity-variable/m-p/966709#M23059</guid>
      <dc:creator>Silva__Rafael</dc:creator>
      <dc:date>2015-01-24T17:07:17Z</dc:date>
    </item>
    <item>
      <title>Usually done by specifying a</title>
      <link>https://community.intel.com/t5/Software-Archive/MPI-and-the-KMP-PLACE-THREADS-OpenMP-affinity-variable/m-p/966710#M23060</link>
      <description>Usually done by specifying a 


Mic_kmp_place_threads for each host rank</description>
      <pubDate>Sat, 24 Jan 2015 20:08:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/MPI-and-the-KMP-PLACE-THREADS-OpenMP-affinity-variable/m-p/966710#M23060</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2015-01-24T20:08:16Z</dc:date>
    </item>
    <item>
      <title>How? In the case of MPI</title>
      <link>https://community.intel.com/t5/Software-Archive/MPI-and-the-KMP-PLACE-THREADS-OpenMP-affinity-variable/m-p/966711#M23061</link>
      <description>&lt;P&gt;How? In the case of MPI processes launched with "mpirun", the different ranks has the same environment, so how can I specify MIC_KMP_PLACE_THREADS differently for different ranks?&lt;/P&gt;</description>
      <pubDate>Sat, 24 Jan 2015 22:16:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/MPI-and-the-KMP-PLACE-THREADS-OpenMP-affinity-variable/m-p/966711#M23061</guid>
      <dc:creator>Silva__Rafael</dc:creator>
      <dc:date>2015-01-24T22:16:53Z</dc:date>
    </item>
    <item>
      <title>Set -env for each rank</title>
      <link>https://community.intel.com/t5/Software-Archive/MPI-and-the-KMP-PLACE-THREADS-OpenMP-affinity-variable/m-p/966712#M23062</link>
      <description>Set -env for each rank example in my own and other white papers as well as reinders Jeffers book.  I'll repost a URL later.</description>
      <pubDate>Sat, 24 Jan 2015 23:06:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/MPI-and-the-KMP-PLACE-THREADS-OpenMP-affinity-variable/m-p/966712#M23062</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2015-01-24T23:06:29Z</dc:date>
    </item>
    <item>
      <title>Apparently, I didn't update</title>
      <link>https://community.intel.com/t5/Software-Archive/MPI-and-the-KMP-PLACE-THREADS-OpenMP-affinity-variable/m-p/966713#M23063</link>
      <description>&lt;P&gt;Apparently, I didn't update my white paper on this "new" topic for more than a year (since my MIC access became restricted to the early B0 model).&amp;nbsp; I will do so, including a sample mpirun command adapted from Jeffers Reinders book (which itself isn't easy to search), and post to my google site page.&amp;nbsp; Jeffers and Reinders went to press before kmp_place_threads was released, so you will see there how it was done without that environment variable.&amp;nbsp;&amp;nbsp; For "industrial strength" examples you may want to take advantage of the ability of mpirun configfile.&lt;/P&gt;

&lt;P&gt;You should have noticed that we discussed the subject at &lt;A href="https://software.intel.com/en-us/forums/topic/507595&amp;nbsp;Expert" target="_blank"&gt;https://software.intel.com/en-us/forums/topic/507595&amp;nbsp;Expert&lt;/A&gt; advice was given in that forum thread.&amp;nbsp; Back then I still thought there was a chance that Intel would support on-line publishing on these subjects, including OpenMP 4.&amp;nbsp; Since then,&amp;nbsp; the people responsible have taken a position that there isn't sufficient demand for literature on MIC or on programming languages other than Microsoft style C++.&amp;nbsp; So much for Cilk(tm) Plus.&amp;nbsp;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Perhaps you noticed the wry comments by Michael Klemm et al in their kindle book "optimizing hpc applications with intel cluster tools" about how poor the Kindle search capabilities are.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jan 2015 13:47:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/MPI-and-the-KMP-PLACE-THREADS-OpenMP-affinity-variable/m-p/966713#M23063</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2015-01-25T13:47:00Z</dc:date>
    </item>
    <item>
      <title>You might note that the</title>
      <link>https://community.intel.com/t5/Software-Archive/MPI-and-the-KMP-PLACE-THREADS-OpenMP-affinity-variable/m-p/966714#M23064</link>
      <description>&lt;P&gt;You might note that the advice for VTune mentions how to use a configfile to specify that VTune collects only for 1 or 2 ranks, in its examples of using settings which differ among ranks.&amp;nbsp; It shouldn't be considered unusual to take advantage of that capability.&lt;/P&gt;

&lt;P&gt;I discuss the multiple rank offload affinity in my Parallel Optimiization Environment section on &lt;A href="https://sites.google.com/site/tprincesite/" target="_blank"&gt;https://sites.google.com/site/tprincesite/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jan 2015 17:49:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/MPI-and-the-KMP-PLACE-THREADS-OpenMP-affinity-variable/m-p/966714#M23064</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2015-01-25T17:49:52Z</dc:date>
    </item>
  </channel>
</rss>

