<?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 Threads migrate across all available OS procs in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Threads-migrate-across-all-available-OS-procs/m-p/985518#M5823</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Recently i am facing the problem while i run my fortran code as shown below;(I am running the code in Ubuntu 12.04&amp;nbsp; with parallel studio xe 2013 update4 intel64 from windows 7 using Virtual Machine Player)&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;OMP: Warning #122: Threads may migrate across all available OS procs (granularity setting too coarse)&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;Added the following to .bashrc file:&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;PATH=$PATH:/home/vijay/intel/vtune_amplifier_xe_2013/bin64:/home/vijay/intel/inspector_xe_2013/bin64:/home/vijay/bin/gmsh-2.5.0-Linux/bin:.&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;source /home/vijay/intel/bin/compilervars.sh intel64&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;export MALLOC_TRIM_THRESHOLD_=-1&lt;BR /&gt;
	export MALLOC_MMAP_MAX_=0&lt;BR /&gt;
	export NCPUS=8&lt;BR /&gt;
	export OMP_NUM_THREADS=2&lt;BR /&gt;
	export MP_BIND=yes&lt;BR /&gt;
	export KMP_STACKSIZE=16m&lt;BR /&gt;
	export OMP_DYNAMIC=.TRUE.&lt;BR /&gt;
	export WSMP_NUM_THREADS=2&lt;BR /&gt;
	export KMP_AFFINITY=granularity=core,compact,1,0&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;can anyone help me how to solve this problem...&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 15 Feb 2014 16:08:29 GMT</pubDate>
    <dc:creator>vijaymohan_K_</dc:creator>
    <dc:date>2014-02-15T16:08:29Z</dc:date>
    <item>
      <title>Threads migrate across all available OS procs</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Threads-migrate-across-all-available-OS-procs/m-p/985518#M5823</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Recently i am facing the problem while i run my fortran code as shown below;(I am running the code in Ubuntu 12.04&amp;nbsp; with parallel studio xe 2013 update4 intel64 from windows 7 using Virtual Machine Player)&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;OMP: Warning #122: Threads may migrate across all available OS procs (granularity setting too coarse)&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;Added the following to .bashrc file:&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;PATH=$PATH:/home/vijay/intel/vtune_amplifier_xe_2013/bin64:/home/vijay/intel/inspector_xe_2013/bin64:/home/vijay/bin/gmsh-2.5.0-Linux/bin:.&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;source /home/vijay/intel/bin/compilervars.sh intel64&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;export MALLOC_TRIM_THRESHOLD_=-1&lt;BR /&gt;
	export MALLOC_MMAP_MAX_=0&lt;BR /&gt;
	export NCPUS=8&lt;BR /&gt;
	export OMP_NUM_THREADS=2&lt;BR /&gt;
	export MP_BIND=yes&lt;BR /&gt;
	export KMP_STACKSIZE=16m&lt;BR /&gt;
	export OMP_DYNAMIC=.TRUE.&lt;BR /&gt;
	export WSMP_NUM_THREADS=2&lt;BR /&gt;
	export KMP_AFFINITY=granularity=core,compact,1,0&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;can anyone help me how to solve this problem...&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Feb 2014 16:08:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Threads-migrate-across-all-available-OS-procs/m-p/985518#M5823</guid>
      <dc:creator>vijaymohan_K_</dc:creator>
      <dc:date>2014-02-15T16:08:29Z</dc:date>
    </item>
    <item>
      <title>use</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Threads-migrate-across-all-available-OS-procs/m-p/985519#M5824</link>
      <description>&lt;P&gt;use&lt;/P&gt;

&lt;P&gt;export KMP_AFFINITY=scatter&lt;BR /&gt;
	export OMP_NUM_THREADS=2&lt;/P&gt;

&lt;P&gt;This will give you 1 thread per core, 2 threads&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2014 13:59:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Threads-migrate-across-all-available-OS-procs/m-p/985519#M5824</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2014-02-17T13:59:00Z</dc:date>
    </item>
  </channel>
</rss>

