<?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 Troubles with threading under SUSE 11 in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Troubles-with-threading-under-SUSE-11/m-p/878728#M3272</link>
    <description>&lt;P&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt; &lt;w:WordDocument&gt; &lt;w:View&gt;Normal&lt;/w:View&gt; &lt;w:Zoom&gt;0&lt;/w:Zoom&gt; &lt;w:PunctuationKerning /&gt; &lt;w:ValidateAgainstSchemas /&gt; &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt; &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt; &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt; &lt;w:Compatibility&gt; &lt;w:BreakWrappedTables /&gt; &lt;w:SnapToGridInCell /&gt; &lt;w:WrapTextWithPunct /&gt; &lt;w:UseAsianBreakRules /&gt; &lt;w:DontGrowAutofit /&gt; &lt;/w:Compatibility&gt; &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt; &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt; &lt;w:LatentStyles DefLockedState="false" LatentStyleCount="156"&gt; &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:Tahoma; 	panose-1:2 11 6 4 3 5 4 4 2 4; 	mso-font-charset:204; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:1627421319 -2147483648 8 0 66047 0;} @font-face 	{font-family:"Book Antiqua"; 	panose-1:2 4 6 2 5 3 5 3 3 4; 	mso-font-charset:204; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:647 0 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0cm; 	margin-bottom:.0001pt; 	text-align:justify; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	mso-bidi-font-size:12.0pt; 	font-family:Tahoma; 	mso-fareast-font-family:"Times New Roman"; 	mso-bidi-font-family:"Times New Roman"; 	mso-fareast-language:BE;} @page Section1 	{size:612.0pt 792.0pt; 	margin:2.0cm 42.5pt 2.0cm 3.0cm; 	mso-header-margin:36.0pt; 	mso-footer-margin:36.0pt; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:" ";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;/P&gt;&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-family: " book="" antiqua=""&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-family: " book="" antiqua=""&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-family: " book="" antiqua=""&gt;I've use Intel Fortran 9.0 compiler on Core2Duo PC (openSUSE 10.3 64 bit and MPICH2) to compile scientific package, which I plan to run in parallel on 2 CPU's via mpirun. Everything works fine.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-family: " book="" antiqua=""&gt;Now I've installed openSUSE 11.0 64 bit with the same versions of MPICH2 and Intel Fortran compiler. But when I run my program as mpirun -np 2 my_program, it runs as two processes at one CPU only. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-family: " book="" antiqua=""&gt;I've used mpif90 from MPICH2, OMP_NUM_THREADS environment variable is not set.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-family: " book="" antiqua=""&gt;Does anybody have an idea what to do? Any help will be greatly appreciated.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-family: " book="" antiqua=""&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-family: " book="" antiqua=""&gt;Victor&lt;/SPAN&gt;&lt;SPAN style="font-family: " book="" antiqua=""&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Dec 2008 19:43:02 GMT</pubDate>
    <dc:creator>vixel</dc:creator>
    <dc:date>2008-12-19T19:43:02Z</dc:date>
    <item>
      <title>Troubles with threading under SUSE 11</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Troubles-with-threading-under-SUSE-11/m-p/878728#M3272</link>
      <description>&lt;P&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt; &lt;w:WordDocument&gt; &lt;w:View&gt;Normal&lt;/w:View&gt; &lt;w:Zoom&gt;0&lt;/w:Zoom&gt; &lt;w:PunctuationKerning /&gt; &lt;w:ValidateAgainstSchemas /&gt; &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt; &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt; &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt; &lt;w:Compatibility&gt; &lt;w:BreakWrappedTables /&gt; &lt;w:SnapToGridInCell /&gt; &lt;w:WrapTextWithPunct /&gt; &lt;w:UseAsianBreakRules /&gt; &lt;w:DontGrowAutofit /&gt; &lt;/w:Compatibility&gt; &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt; &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt; &lt;w:LatentStyles DefLockedState="false" LatentStyleCount="156"&gt; &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:Tahoma; 	panose-1:2 11 6 4 3 5 4 4 2 4; 	mso-font-charset:204; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:1627421319 -2147483648 8 0 66047 0;} @font-face 	{font-family:"Book Antiqua"; 	panose-1:2 4 6 2 5 3 5 3 3 4; 	mso-font-charset:204; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:647 0 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0cm; 	margin-bottom:.0001pt; 	text-align:justify; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	mso-bidi-font-size:12.0pt; 	font-family:Tahoma; 	mso-fareast-font-family:"Times New Roman"; 	mso-bidi-font-family:"Times New Roman"; 	mso-fareast-language:BE;} @page Section1 	{size:612.0pt 792.0pt; 	margin:2.0cm 42.5pt 2.0cm 3.0cm; 	mso-header-margin:36.0pt; 	mso-footer-margin:36.0pt; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:" ";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;/P&gt;&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-family: " book="" antiqua=""&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-family: " book="" antiqua=""&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-family: " book="" antiqua=""&gt;I've use Intel Fortran 9.0 compiler on Core2Duo PC (openSUSE 10.3 64 bit and MPICH2) to compile scientific package, which I plan to run in parallel on 2 CPU's via mpirun. Everything works fine.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-family: " book="" antiqua=""&gt;Now I've installed openSUSE 11.0 64 bit with the same versions of MPICH2 and Intel Fortran compiler. But when I run my program as mpirun -np 2 my_program, it runs as two processes at one CPU only. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-family: " book="" antiqua=""&gt;I've used mpif90 from MPICH2, OMP_NUM_THREADS environment variable is not set.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-family: " book="" antiqua=""&gt;Does anybody have an idea what to do? Any help will be greatly appreciated.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-family: " book="" antiqua=""&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-family: " book="" antiqua=""&gt;Victor&lt;/SPAN&gt;&lt;SPAN style="font-family: " book="" antiqua=""&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2008 19:43:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Troubles-with-threading-under-SUSE-11/m-p/878728#M3272</guid>
      <dc:creator>vixel</dc:creator>
      <dc:date>2008-12-19T19:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Troubles with threading under SUSE 11</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Troubles-with-threading-under-SUSE-11/m-p/878729#M3273</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;It would appeare that the two processes are restricted to one core. This is not an OpenMP problem. This is likely a configuration problem with SUSE. What may be happening is when you start the main process a setting on SUSE is restricting the main process to one core (Affinity to one core). Then when the main process spawns the second process, the spawing is performed in a manner that inherits the affinity restrictions of the main process. I would start my search for problems in those areas first.&lt;/P&gt;
&lt;P&gt;Why are you running as MPI on a single system? OpenMP would have lower overhead.&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Sat, 20 Dec 2008 13:01:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Troubles-with-threading-under-SUSE-11/m-p/878729#M3273</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2008-12-20T13:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Troubles with threading under SUSE 11</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Troubles-with-threading-under-SUSE-11/m-p/878730#M3274</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;Follow-up on last reply&lt;/P&gt;
&lt;P&gt;Also check for the following&lt;/P&gt;
&lt;P&gt;Your intentions are to affix the affinity of each process to one but seperate cores. You have a bug in your programming that does the following&lt;/P&gt;
&lt;P&gt;1) Start main program&lt;BR /&gt;2) Set Affinity to 1 core&lt;BR /&gt;3) Spawn second program&lt;BR /&gt;4) Set Affinity to 1 core&lt;/P&gt;
&lt;P&gt;The problem with the above is the process hardware thread set at step 4 is only 1 thread (that of the main program)&lt;/P&gt;
&lt;P&gt;Change to&lt;/P&gt;
&lt;P&gt;1) Start main program&lt;BR /&gt;2) Spawn second program&lt;BR /&gt;3) Second program sets affinity to 1 core&lt;BR /&gt;4) Second program replies to initialization (indicating present)&lt;BR /&gt;5) main program sets affinity to other core&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Dec 2008 13:07:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Troubles-with-threading-under-SUSE-11/m-p/878730#M3274</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2008-12-20T13:07:49Z</dc:date>
    </item>
  </channel>
</rss>

