<?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 Couldn't create more than 64 OpenMP threads in a test applicati in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801718#M609</link>
    <description>&lt;P&gt;Hi Sergey,&lt;BR /&gt;&lt;BR /&gt;corrected example&lt;/P&gt;[cpp]#include &lt;OMP.H&gt;
#include &lt;STDIO.H&gt;

int main( void )
{
     omp_set_num_threads( 1024 );

     #pragma omp parallel num_threads( 1024 )
     {
          if( omp_get_thread_num() == 0 )
          {
               printf( "Number of threads created: %ldn", ( int )omp_get_num_threads() );
          }

          for( int i = 0; i &amp;lt; 16777216; i++ )
          {
               double dA = ( 2 * 4 * 8 * 16 );
          }
     }

     printf( "Donen" );
     return 0;
}

[/cpp]&lt;P&gt;&lt;BR /&gt;And its output for Composer XE 2011 update 9&lt;/P&gt;[bash]omp_test&amp;gt;omp_test.exe
Number of threads created: 1024
Done[/bash]&lt;BR /&gt;Which compiler did you use?&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;update:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;I wonder if&lt;STRONG&gt;OpenMP&lt;/STRONG&gt;version&lt;STRONG&gt;2.0&lt;/STRONG&gt;( March 2002 )has some limitations and doesn't allow to create more than&lt;STRONG&gt;64&lt;/STRONG&gt;threads?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;Specification does not set any limitation. It is up to implementation.&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;--Vladimir&lt;/DIV&gt;&lt;/STDIO.H&gt;&lt;/OMP.H&gt;</description>
    <pubDate>Tue, 28 Feb 2012 09:48:28 GMT</pubDate>
    <dc:creator>Vladimir_P_1234567890</dc:creator>
    <dc:date>2012-02-28T09:48:28Z</dc:date>
    <item>
      <title>Couldn't create more than 64 OpenMP threads in a test application</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801715#M606</link>
      <description>Hi everybody,&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;I recently done a test in a simple &lt;STRONG&gt;OpenMP&lt;/STRONG&gt; based application and&lt;STRONG&gt;OpenMP&lt;/STRONG&gt;couldn't create more than &lt;STRONG&gt;64&lt;/STRONG&gt; threads.&lt;BR /&gt;&lt;BR /&gt;Here is a code of the test:&lt;/P&gt;&lt;P&gt;#include &amp;lt;&lt;STRONG&gt;omp.h&lt;/STRONG&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;void &lt;STRONG&gt;main&lt;/STRONG&gt;( void )&lt;BR /&gt;{&lt;BR /&gt; int iShowNumOfThreads = 1;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;omp_set_num_threads&lt;/STRONG&gt;( &lt;STRONG&gt;1024&lt;/STRONG&gt; );&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;#pragma omp parallel num_threads&lt;/STRONG&gt;( &lt;STRONG&gt;1024&lt;/STRONG&gt; )&lt;BR /&gt; {&lt;BR /&gt; if( iShowNumOfThreads == 1 )&lt;BR /&gt; {&lt;BR /&gt; iShowNumOfThreads = 0;&lt;BR /&gt; printf( "Number of threads created: %ld\\n", ( int )&lt;STRONG&gt;omp_get_num_threads&lt;/STRONG&gt;() );&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt; for( int i = 0; i &amp;lt; 16777216; i++ )&lt;BR /&gt; {&lt;BR /&gt; double dA = ( 2 * 4 * 8 * 16 );&lt;BR /&gt; }&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt; printf( "Done\\n" );&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;How could I create as many as possible &lt;STRONG&gt;OpenMP&lt;/STRONG&gt; threads? For example, more than &lt;STRONG&gt;32,768&lt;/STRONG&gt;?&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2012 02:28:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801715#M606</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-02-28T02:28:34Z</dc:date>
    </item>
    <item>
      <title>Couldn't create more than 64 OpenMP threads in a test applicati</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801716#M607</link>
      <description>Here is a screenshot for review:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.intel.com/skins/images/7B13F55A7CE623EF42E69096FA81A3A1/2021_redesign/images/image_not_found.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 28 Feb 2012 02:33:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801716#M607</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-02-28T02:33:03Z</dc:date>
    </item>
    <item>
      <title>Couldn't create more than 64 OpenMP threads in a test applicati</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801717#M608</link>
      <description>&lt;P&gt;&lt;STRONG&gt;I'd like to provide some additional information and a new question ( please see 3. ):&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;. I alsoset an environment variable '&lt;STRONG&gt;OMP_NUM_THREADS&lt;/STRONG&gt;' to &lt;STRONG&gt;1024&lt;/STRONG&gt; and it doesn't change the limitation.&lt;BR /&gt; A call to '&lt;STRONG&gt;omp_get_max_threads&lt;/STRONG&gt;' &lt;STRONG&gt;OpenMP&lt;/STRONG&gt; function, like:&lt;BR /&gt; ...&lt;BR /&gt; &lt;STRONG&gt;printf&lt;/STRONG&gt;( "Max Number of threads: %ld\n", &lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;omp_get_max_threads&lt;/SPAN&gt;&lt;/STRONG&gt;() );&lt;BR /&gt; ...&lt;BR /&gt; returns &lt;STRONG&gt;64&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;. Only &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;58&lt;/STRONG&gt; threads&lt;/SPAN&gt; are reported as &lt;SPAN style="text-decoration: underline;"&gt;exited&lt;/SPAN&gt;. So, by some reason &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;6&lt;/STRONG&gt; threads are lost&lt;/SPAN&gt;! Here is&lt;BR /&gt; a &lt;STRONG&gt;Visual Studio 2005&lt;/STRONG&gt; output:&lt;BR /&gt; ...&lt;BR /&gt; The thread 'Win32 Thread' (0x204) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0x1b0) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xc14) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0x910) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0x814) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0x874) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0x9b0) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0x980) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xc4) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xbc0) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xeec) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0x8f4) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0x30c) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xc30) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xca0) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xb44) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0x778) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0x9f8) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xa24) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0x748) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xf70) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xc88) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0x678) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xb94) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xc5c) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xa70) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xc84) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xa98) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xc74) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0x4e0) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xaa8) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xa44) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xbe8) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xa8c) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0x63c) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xca4) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xcc0) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0x518) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xc7c) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0x98c) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xb34) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xa60) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0x96c) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xf90) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xbfc) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xbe0) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xe14) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0x5cc) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xcf8) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xf10) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0x34c) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xb78) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xdc) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xb1c) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xb98) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0xc94) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0x6fc) has exited with code 0 (0x0).&lt;BR /&gt; The thread 'Win32 Thread' (0x6d8) has exited with code 0 (0x0).&lt;BR /&gt; ...&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;. I wonder if &lt;STRONG&gt;OpenMP&lt;/STRONG&gt; version &lt;STRONG&gt;2.0&lt;/STRONG&gt; ( March 2002 )has some limitations and doesn't allow to create more than &lt;STRONG&gt;64&lt;/STRONG&gt; threads?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2012 06:28:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801717#M608</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-02-28T06:28:50Z</dc:date>
    </item>
    <item>
      <title>Couldn't create more than 64 OpenMP threads in a test applicati</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801718#M609</link>
      <description>&lt;P&gt;Hi Sergey,&lt;BR /&gt;&lt;BR /&gt;corrected example&lt;/P&gt;[cpp]#include &lt;OMP.H&gt;
#include &lt;STDIO.H&gt;

int main( void )
{
     omp_set_num_threads( 1024 );

     #pragma omp parallel num_threads( 1024 )
     {
          if( omp_get_thread_num() == 0 )
          {
               printf( "Number of threads created: %ldn", ( int )omp_get_num_threads() );
          }

          for( int i = 0; i &amp;lt; 16777216; i++ )
          {
               double dA = ( 2 * 4 * 8 * 16 );
          }
     }

     printf( "Donen" );
     return 0;
}

[/cpp]&lt;P&gt;&lt;BR /&gt;And its output for Composer XE 2011 update 9&lt;/P&gt;[bash]omp_test&amp;gt;omp_test.exe
Number of threads created: 1024
Done[/bash]&lt;BR /&gt;Which compiler did you use?&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;update:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;I wonder if&lt;STRONG&gt;OpenMP&lt;/STRONG&gt;version&lt;STRONG&gt;2.0&lt;/STRONG&gt;( March 2002 )has some limitations and doesn't allow to create more than&lt;STRONG&gt;64&lt;/STRONG&gt;threads?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;Specification does not set any limitation. It is up to implementation.&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;--Vladimir&lt;/DIV&gt;&lt;/STDIO.H&gt;&lt;/OMP.H&gt;</description>
      <pubDate>Tue, 28 Feb 2012 09:48:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801718#M609</guid>
      <dc:creator>Vladimir_P_1234567890</dc:creator>
      <dc:date>2012-02-28T09:48:28Z</dc:date>
    </item>
    <item>
      <title>Couldn't create more than 64 OpenMP threads in a test applicati</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801719#M610</link>
      <description>Thank you forthe feedback.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&lt;STRONG&gt;Which compiler did you use&lt;/STRONG&gt;?&lt;BR /&gt;&lt;BR /&gt;The test was done with &lt;STRONG&gt;Visual Studio 2005&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;...&lt;STRONG&gt;It is up to implementation&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt; Did &lt;STRONG&gt;Microsoft&lt;/STRONG&gt;'s implementation set some limits?&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Feb 2012 14:19:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801719#M610</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-02-28T14:19:52Z</dc:date>
    </item>
    <item>
      <title>Couldn't create more than 64 OpenMP threads in a test applicati</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801720#M611</link>
      <description>Dear Sergey,&lt;BR /&gt;&lt;BR /&gt;The OpenMP specification does not set any limits on the number of threads, except for what the interface to the runtime routines accept as input values. So, you should be save about this.&lt;BR /&gt;&lt;BR /&gt;However, the implementation is free to have internal limits (e.g. 64 threads max). I do not know if the MS implementation of OpenMP actually enforces a limit internally. You did not write about the machine you're working on. Is the machine a WSM-EX box with more than 64 cores (including the Hyper-Threading cores)? If yes, the limit might come from the fact the Windows processor groups are limited to 64 cores and that you need a new API to distribute threads across different processor groups. Alas, this has to be done from the OpenMP runtime and it might be the case that the MS implementations limits the thread number to the size of the processor group.&lt;BR /&gt;&lt;BR /&gt;If you use the Intel OpenMP runtime you should not see any restrictions on the number of threads that you can create.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt; -michael</description>
      <pubDate>Tue, 28 Feb 2012 14:27:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801720#M611</guid>
      <dc:creator>Michael_K_Intel2</dc:creator>
      <dc:date>2012-02-28T14:27:57Z</dc:date>
    </item>
    <item>
      <title>Couldn't create more than 64 OpenMP threads in a test applicati</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801721#M612</link>
      <description>Intel OpenMP RTL also does have a limitation -32768 threads. But for me it is hard to imagine who needs these all threads on one machine.&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;--Vladimir&lt;/DIV&gt;</description>
      <pubDate>Tue, 28 Feb 2012 15:07:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801721#M612</guid>
      <dc:creator>Vladimir_P_1234567890</dc:creator>
      <dc:date>2012-02-28T15:07:15Z</dc:date>
    </item>
    <item>
      <title>Couldn't create more than 64 OpenMP threads in a test applicati</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801722#M613</link>
      <description>&lt;DIV id="tiny_quote"&gt;
                &lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A href="https://community.intel.com/en-us/profile/353541/" class="basic" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=353541"&gt;Sergey Kostrov&lt;/A&gt;&lt;/DIV&gt;
                &lt;DIV style="background-color: #e5e5e5; padding: 5px; border: 1px; border-style: inset; margin-left: 2px; margin-right: 2px;"&gt;&lt;I&gt;&amp;gt;&amp;gt;...&lt;STRONG&gt;It is up to implementation&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt; Did &lt;STRONG&gt;Microsoft&lt;/STRONG&gt;'s implementation set some limits?&lt;BR /&gt;&lt;BR /&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;It is better to ask Visual Studio team.&lt;/P&gt;&lt;P&gt;But using VS2010 I've got the same 64 threads.&lt;/P&gt;&lt;P&gt;--Vladimir&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2012 15:09:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801722#M613</guid>
      <dc:creator>Vladimir_P_1234567890</dc:creator>
      <dc:date>2012-02-28T15:09:09Z</dc:date>
    </item>
    <item>
      <title>Couldn't create more than 64 OpenMP threads in a test applicati</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801723#M614</link>
      <description>Thank you, guys! I also confirm that this is a &lt;STRONG&gt;Microsoft&lt;/STRONG&gt;'s limitation. But, I managed to create &lt;STRONG&gt;1,024&lt;/STRONG&gt; &lt;STRONG&gt;OpenMP&lt;/STRONG&gt; threads.&lt;BR /&gt;Unfortunately, this is a "hack" and I'll provide technical details later.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Feb 2012 17:01:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801723#M614</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-02-28T17:01:19Z</dc:date>
    </item>
    <item>
      <title>Couldn't create more than 64 OpenMP threads in a test applicati</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801724#M615</link>
      <description>&lt;P&gt;A C/C++ code with an &lt;STRONG&gt;OpenMP&lt;/STRONG&gt; directive:&lt;BR /&gt; ...&lt;BR /&gt; #&lt;STRONG&gt;pragma omp parallel num_threads&lt;/STRONG&gt;( 1024 ) // &lt;STRONG&gt;64&lt;/STRONG&gt; us a default value andwill be used instead&lt;BR /&gt; {&lt;BR /&gt; ...&lt;BR /&gt;&lt;BR /&gt;is compiled to several initialization calls in assembler language:&lt;BR /&gt;&lt;BR /&gt; ...&lt;BR /&gt; 72881482 call  &lt;STRONG&gt;_vcomp::min&lt;/STRONG&gt;&lt;INT&gt; (...) // Here some verification is done&lt;BR /&gt; ...&lt;BR /&gt;&lt;STRONG&gt;(1)&lt;/STRONG&gt;7288148C push  &lt;SPAN style="text-decoration: underline;"&gt;edx&lt;/SPAN&gt;     // A number of &lt;STRONG&gt;Win32&lt;/STRONG&gt; threads to create ( &lt;STRONG&gt;64&lt;/STRONG&gt; )isin &lt;STRONG&gt;EDX&lt;/STRONG&gt; register&lt;BR /&gt; 7288148D mov ecx,dword ptr [ebp-4]&lt;BR /&gt; 72881490 call &lt;STRONG&gt;_vcomp::PerThreadData::SetNextNumThreads&lt;/STRONG&gt; (...) // Initializes some internal structures but &lt;STRONG&gt;Win32&lt;/STRONG&gt; threads are still not created&lt;BR /&gt; 72881495 mov esp,ebp&lt;BR /&gt; 72881497 pop ebp&lt;BR /&gt; ...&lt;BR /&gt; 004B72D6 call @ILT+11795( &lt;STRONG&gt;__vcomp_fork&lt;/STRONG&gt; ) (...)  // Creates &lt;STRONG&gt;Win32&lt;/STRONG&gt; threads and starts processing&lt;BR /&gt; ...&lt;BR /&gt;&lt;BR /&gt;At &lt;STRONG&gt;(1)&lt;/STRONG&gt; a register &lt;STRONG&gt;EDX&lt;/STRONG&gt; is already set with a maximum number of threads and this is &lt;STRONG&gt;64&lt;/STRONG&gt;. In the debugger&lt;BR /&gt;I changed the value of the &lt;STRONG&gt;EDX&lt;/STRONG&gt; register to &lt;STRONG&gt;1,024&lt;/STRONG&gt; ( 0x400 ). Then, a call to internal &lt;STRONG&gt;OpenMP&lt;/STRONG&gt; function '&lt;STRONG&gt;__vcomp_fork&lt;/STRONG&gt;'&lt;BR /&gt;creates &lt;STRONG&gt;1,024&lt;/STRONG&gt; &lt;STRONG&gt;Win32&lt;/STRONG&gt; threads and starts the processing.&lt;BR /&gt;&lt;BR /&gt;Here is a screenshot of the Windows &lt;STRONG&gt;Task Manager&lt;/STRONG&gt;:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.intel.com/skins/images/7B13F55A7CE623EF42E69096FA81A3A1/2021_redesign/images/image_not_found.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;Note&lt;/SPAN&gt;&lt;/STRONG&gt;: &lt;STRONG&gt;1,025&lt;/STRONG&gt; = &lt;STRONG&gt;1&lt;/STRONG&gt; ( &lt;STRONG&gt;Win32&lt;/STRONG&gt; parent process ) &lt;STRONG&gt;+&lt;/STRONG&gt; &lt;STRONG&gt;1,024&lt;/STRONG&gt; ( &lt;STRONG&gt;Win32&lt;/STRONG&gt; threads created by &lt;STRONG&gt;OpenMP&lt;/STRONG&gt; API)&lt;BR /&gt;&lt;BR /&gt;Here is some information on an &lt;STRONG&gt;OpenMP&lt;/STRONG&gt; DLL loaded by the test application:&lt;BR /&gt; ...&lt;BR /&gt; Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugOpenMP_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_3f6e27c4\vcompd.dll', Symbols loaded (...).&lt;BR /&gt; ...&lt;/INT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Feb 2012 02:18:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801724#M615</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-02-29T02:18:11Z</dc:date>
    </item>
    <item>
      <title>Couldn't create more than 64 OpenMP threads in a test applicati</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801725#M616</link>
      <description>Hi Sergey,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Overriding of setting a number threads is not big deal. The big deal is to work with these 1024 threads in openmp constructs:)&lt;/DIV&gt;&lt;DIV&gt;You need to know internal implementation to find out if this number of thread is supported or not internally. And of course it is unsupported officially.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;For example you can take either pi or fibonacci examples to see whether it still works for 1023 threads in this case. And looking into task manager do I understand correct that this 1024 thread application is executed in 1 thread (CPU field)?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Other words if your application will crash in openmp runtime you can't come and say "i've hacked your library but it does not work"))))&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;--Vladimir&lt;/DIV&gt;</description>
      <pubDate>Wed, 29 Feb 2012 05:16:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801725#M616</guid>
      <dc:creator>Vladimir_P_1234567890</dc:creator>
      <dc:date>2012-02-29T05:16:49Z</dc:date>
    </item>
    <item>
      <title>Couldn't create more than 64 OpenMP threads in a test applicati</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801726#M617</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;&lt;BR /&gt;Quoting &lt;A jquery1330524626609="58" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=336601" href="https://community.intel.com/en-us/profile/336601/" class="basic"&gt;Vladimir Polin (Intel)&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;...And looking into task manager do I understand correct that this 1024 thread application is executed in 1 thread (CPU field)?...&lt;/I&gt;&lt;/DIV&gt;&lt;BR /&gt;Yes, that test was done on a computer with one CPU and the purpose of the test is simple - astress testing&lt;BR /&gt;of &lt;STRONG&gt;OpenMP&lt;/STRONG&gt; library and evaluation of memory requirements for&lt;STRONG&gt;OpenMP&lt;/STRONG&gt;application with a number of&lt;BR /&gt;threads greater than &lt;STRONG&gt;1,024&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;My current result is as follows: &lt;STRONG&gt;Microsoft&lt;/STRONG&gt;'s implemented &lt;STRONG&gt;OpenMP&lt;/STRONG&gt; library &lt;STRONG&gt;v2.0&lt;/STRONG&gt;doesn't allow to create more&lt;BR /&gt;than &lt;STRONG&gt;1,977&lt;/STRONG&gt; threads. The application crashes when trying to create a &lt;STRONG&gt;1,978&lt;/STRONG&gt;th thread.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.intel.com/skins/images/7B13F55A7CE623EF42E69096FA81A3A1/2021_redesign/images/image_not_found.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;The &lt;STRONG&gt;OpenMP&lt;/STRONG&gt; library '&lt;STRONG&gt;vcompd.dll&lt;/STRONG&gt;' throws an '&lt;STRONG&gt;0xC0000005&lt;/STRONG&gt;' &lt;STRONG&gt;Access Violation&lt;/STRONG&gt; exception.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;/DIV&gt;</description>
      <pubDate>Wed, 29 Feb 2012 14:25:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801726#M617</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-02-29T14:25:34Z</dc:date>
    </item>
    <item>
      <title>Couldn't create more than 64 OpenMP threads in a test applicati</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801727#M618</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;&lt;STRONG&gt;Hi Vladimir&lt;/STRONG&gt;,&lt;BR /&gt;&lt;BR /&gt;Quoting &lt;A jquery1330525739625="58" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=336601" href="https://community.intel.com/en-us/profile/336601/" class="basic"&gt;Vladimir Polin (Intel)&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;Intel OpenMP RTL also does have a limitation -32768 threads...&lt;/I&gt;&lt;/DIV&gt;&lt;BR /&gt;Could you try toexecute three tests with&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;8,192&lt;/SPAN&gt;&lt;/STRONG&gt;, &lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;16,384&lt;/SPAN&gt;&lt;/STRONG&gt; and&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;32,768&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;STRONG&gt;OpenMP&lt;/STRONG&gt; threadsin a test case I've submitted?&lt;BR /&gt;&lt;BR /&gt;Could you report how much memory is allocated ( &lt;SPAN style="text-decoration: underline;"&gt;Mem Usage&lt;/SPAN&gt;+ &lt;SPAN style="text-decoration: underline;"&gt;VM Size&lt;/SPAN&gt;, please see the &lt;STRONG&gt;Task Manager&lt;/STRONG&gt; )&lt;BR /&gt;for an application compiled in&lt;STRONG&gt;Release&lt;/STRONG&gt; configuration?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;/DIV&gt;</description>
      <pubDate>Wed, 29 Feb 2012 14:37:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801727#M618</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-02-29T14:37:13Z</dc:date>
    </item>
    <item>
      <title>Couldn't create more than 64 OpenMP threads in a test applicati</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801728#M619</link>
      <description>&lt;P&gt;Vladimir,&lt;BR /&gt;&lt;BR /&gt;It is "presumptuous" of MS, or any vendor for that matter, to assume that all OpenMP threads within a user application are compute only threads. And therefore by assumption requesting more threads than hardware threads causes oversubscription and as a consequence MS, or any vendor for that matter, takes it upon itself to depreciate the number of threads requested.&lt;BR /&gt;&lt;BR /&gt;A programmer may have valid reasons for specifying more threads than available hardware threads. One example is when you expect one or more of your OpenMP threads will be preponderantly waiting for I/O completion (including waiting for timer). Under such situations, not permitting the programmer to "oversubscribe" results in the application compute bound threads to be "undersubscribed".&lt;BR /&gt;&lt;BR /&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Wed, 29 Feb 2012 15:25:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801728#M619</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2012-02-29T15:25:35Z</dc:date>
    </item>
    <item>
      <title>Couldn't create more than 64 OpenMP threads in a test applicati</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801729#M620</link>
      <description>hi Jim,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;as I wrote before openmp specification does set lower and higher limits for threads count and every implementation will use as many maximum threads as they want.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;and this is up to customers to take the runtime library that fits best for their needs. But I believe if implementation offers maximum 2 threads nobody will use it.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;BTW, how can I/O jobs be implemented in OpenMP case, via tasking?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;--Vladimir&lt;/DIV&gt;</description>
      <pubDate>Wed, 29 Feb 2012 15:45:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801729#M620</guid>
      <dc:creator>Vladimir_P_1234567890</dc:creator>
      <dc:date>2012-02-29T15:45:15Z</dc:date>
    </item>
    <item>
      <title>Couldn't create more than 64 OpenMP threads in a test applicati</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801730#M621</link>
      <description>&amp;gt;&amp;gt;BTW, how can I/O jobs be implemented in OpenMP case, via tasking?&lt;BR /&gt;&lt;BR /&gt;Tasking, nesting, regions&lt;BR /&gt;&lt;BR /&gt;...Assuming number of threads set to number of Logical Processors + 2&lt;BR /&gt;&lt;BR /&gt;int nThreads = ...; // number of Logical Processors + 2&lt;BR /&gt;...&lt;BR /&gt;#pragma omp parallel&lt;BR /&gt;{&lt;BR /&gt; // here with number of threads set to number of Logical Processors + 2&lt;BR /&gt; if(omp_get_thread_num() == 0)&lt;BR /&gt; {&lt;BR /&gt; doReads(); // uses queue&lt;BR /&gt;}&lt;BR /&gt; else if(omp_get_thread_num() == 1)&lt;BR /&gt; {&lt;BR /&gt; doWrites(); // uses queue&lt;BR /&gt;}&lt;BR /&gt; else&lt;BR /&gt; {&lt;BR /&gt;omp_set_num_threads(omp_get_num_threads(nThreads-2);&lt;BR /&gt; // next region using number of Logical Processors&lt;BR /&gt; doWork(); // using # Logical Processors, reading doReads queue, writing doWrites queue&lt;BR /&gt; }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;As to how you would oversubscribe, this would be an implimentation issue.&lt;BR /&gt;&lt;BR /&gt;Jim Dempsey</description>
      <pubDate>Wed, 29 Feb 2012 21:25:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801730#M621</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2012-02-29T21:25:57Z</dc:date>
    </item>
    <item>
      <title>Couldn't create more than 64 OpenMP threads in a test applicati</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801731#M622</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1330581892468="58" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=99850" href="https://community.intel.com/en-us/profile/99850/" class="basic"&gt;jimdempseyatthecove&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;...threads will be preponderantly waiting for I/O completion (including waiting for timer)...&lt;BR /&gt;&lt;BR /&gt;Jim Dempsey&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;A similar approach is used in &lt;STRONG&gt;Windows CE&lt;/STRONG&gt;.It creates some number of low priority &lt;STRONG&gt;Win32&lt;/STRONG&gt; threads and&lt;BR /&gt;they wait for data from high priority &lt;STRONG&gt;Win32&lt;/STRONG&gt; threads servinghardware interrupts.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2012 06:18:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801731#M622</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-03-01T06:18:58Z</dc:date>
    </item>
    <item>
      <title>Couldn't create more than 64 OpenMP threads in a test applicati</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801732#M623</link>
      <description>Sergey,&lt;BR /&gt;&lt;BR /&gt;In your OpenMP application you are free to create your own additional threads (e.g. _beginthread, ...)&lt;BR /&gt;However, you may experience some not-so-obvious issues when attempting to use OpenMP synchronization features between the OpenMP threads and the non-OpenMP threads. For example, OpenMP has a mutex lock as well as critical sections and atomic statements which may or may not work properly across thread domains (OpenMP and non-OpenMP). The documentation is written from the perspective of all threads are OpenMP.&lt;BR /&gt;&lt;BR /&gt;Jim Dempsey</description>
      <pubDate>Thu, 01 Mar 2012 16:12:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801732#M623</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2012-03-01T16:12:23Z</dc:date>
    </item>
    <item>
      <title>Couldn't create more than 64 OpenMP threads in a test applicati</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801733#M624</link>
      <description>&lt;DIV id="gt-form-c"&gt;&lt;FORM id="gt-form" action="http://translate.google.es/" name="text_form" method="get" enctype="application/x-www-form-urlencoded"&gt;&lt;DIV id="gt-text-c"&gt;&lt;DIV id="gt-res-c" class="g-unit"&gt;&lt;DIV id="gt-res-p"&gt;&lt;DIV id="gt-res-data"&gt;&lt;DIV id="gt-res-wrap"&gt;&lt;DIV id="gt-res-content" class="almost_half_cell"&gt;&lt;DIV dir="ltr"&gt;I have1 computerof 24cores andmyfortranprogramonly uses1.Someonecouldwritethat I canmake myfortranprogramusing the 24cores andreducethecalculation time?&lt;BR /&gt;I have theintelfortrancompiler2011 inRed Hat Linux.&lt;BR /&gt;thanks!&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV id="gt-res-tools"&gt;&lt;DIV id="gt-src-tools-l"&gt;&lt;/DIV&gt;&lt;DIV id="gt-res-tools-r"&gt;&lt;DIV id="gt-res-listen" class="goog-toolbar-button trans-listen-button" aria-label="Escuchar" data-tooltip="Escuchar" data-tooltip-align="t,c" aria-pressed="false" role="button" tabindex="0"&gt;&lt;/DIV&gt;&lt;DIV id="gt-res-rate" aria-label="Valorar traduccin" data-tooltip="Valorar traduccin" data-tooltip-align="t,c"&gt;&lt;DIV class="goog-toolbar-menu-button goog-inline-block" role="button" tabindex="0" aria-haspopup="true"&gt;&lt;DIV class="goog-toolbar-menu-button-outer-box goog-inline-block"&gt;&lt;DIV class="goog-toolbar-menu-button-inner-box goog-inline-block"&gt;&lt;DIV class="goog-toolbar-menu-button-caption goog-inline-block"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/FORM&gt;&lt;/DIV&gt;&lt;DIV id="gt-ft"&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Mar 2012 16:14:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801733#M624</guid>
      <dc:creator>021184</dc:creator>
      <dc:date>2012-03-01T16:14:52Z</dc:date>
    </item>
    <item>
      <title>Couldn't create more than 64 OpenMP threads in a test applicati</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801734#M625</link>
      <description>Sure you can&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;I might suggest to start from ISN page&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;A href="http://software.intel.com/en-us/articles/getting-started-with-openmp/"&gt;http://software.intel.com/en-us/articles/getting-started-with-openmp/&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;Or search for&lt;/SPAN&gt;"fortran openmp example" string in internet.&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;--Vladimir&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Mar 2012 16:35:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Couldn-t-create-more-than-64-OpenMP-threads-in-a-test/m-p/801734#M625</guid>
      <dc:creator>Vladimir_P_1234567890</dc:creator>
      <dc:date>2012-03-01T16:35:26Z</dc:date>
    </item>
  </channel>
</rss>

