<?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 If your program runs &amp;gt; 1 in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Set-environment-variables-for-programs-being-profiled/m-p/932358#M1570</link>
    <description>&lt;P&gt;If your program runs &amp;gt; 1 second I would say no.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Dec 2013 10:51:49 GMT</pubDate>
    <dc:creator>Roman_D_Intel</dc:creator>
    <dc:date>2013-12-16T10:51:49Z</dc:date>
    <item>
      <title>Intel PCM: Set environment variables for programs being profiled</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Set-environment-variables-for-programs-being-profiled/m-p/932355#M1567</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm trying to get stats for an OpenMP program using `pcm.x "path/to/executable"` after setting OMP_NUM_THEADS environment variable to `1`. PCM doesn't seem to respect that. It runs the program on all the available cores. Tried&amp;nbsp;`pcm.x "export OMP_NUM_THREADS=1 &amp;amp;&amp;amp;&amp;nbsp;path/to/executable"` and also&amp;nbsp;`pcm.x "OMP_NUM_THEADS=1 path/to/executable"`. Both doesn't work.&lt;/P&gt;

&lt;P&gt;Any help on how to get this done&amp;nbsp;is much appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2013 08:20:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Set-environment-variables-for-programs-being-profiled/m-p/932355#M1567</guid>
      <dc:creator>Irshad_P_</dc:creator>
      <dc:date>2013-12-09T08:20:39Z</dc:date>
    </item>
    <item>
      <title>you can try to put the two</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Set-environment-variables-for-programs-being-profiled/m-p/932356#M1568</link>
      <description>&lt;P&gt;you can try to put the two lines&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;export OMP_NUM_THREADS=1&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;path/to/executable&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;into "run.sh" script&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;and then execute&lt;STRONG&gt; pcm.x "sh run.sh"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;Roman&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2013 09:20:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Set-environment-variables-for-programs-being-profiled/m-p/932356#M1568</guid>
      <dc:creator>Roman_D_Intel</dc:creator>
      <dc:date>2013-12-16T09:20:33Z</dc:date>
    </item>
    <item>
      <title>Hi Roman,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Set-environment-variables-for-programs-being-profiled/m-p/932357#M1569</link>
      <description>&lt;P&gt;Hi Roman,&lt;/P&gt;

&lt;P&gt;Thanks for the reply. But, wouldn't that pollute the numbers obtained ?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2013 10:47:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Set-environment-variables-for-programs-being-profiled/m-p/932357#M1569</guid>
      <dc:creator>Irshad_P_</dc:creator>
      <dc:date>2013-12-16T10:47:31Z</dc:date>
    </item>
    <item>
      <title>If your program runs &gt; 1</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Set-environment-variables-for-programs-being-profiled/m-p/932358#M1570</link>
      <description>&lt;P&gt;If your program runs &amp;gt; 1 second I would say no.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2013 10:51:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Set-environment-variables-for-programs-being-profiled/m-p/932358#M1570</guid>
      <dc:creator>Roman_D_Intel</dc:creator>
      <dc:date>2013-12-16T10:51:49Z</dc:date>
    </item>
    <item>
      <title>Thanks :)</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Set-environment-variables-for-programs-being-profiled/m-p/932359#M1571</link>
      <description>&lt;P&gt;Thanks :)&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2013 11:10:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Set-environment-variables-for-programs-being-profiled/m-p/932359#M1571</guid>
      <dc:creator>Irshad_P_</dc:creator>
      <dc:date>2013-12-16T11:10:54Z</dc:date>
    </item>
  </channel>
</rss>

