<?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 No parallelism with cilk++ on AMD 64 bit in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/No-parallelism-with-cilk-on-AMD-64-bit/m-p/805503#M823</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt; Recently, I build the programs written in cilk++ on AMD, 64 bit Linux.&lt;BR /&gt;The program compiles well, i use -m32 to get the 32 bit version. I use gcc-4.2, and g++-4.2.&lt;BR /&gt;But I do not get any parallelism, i.e -cilk_set_worker_count switch has no effect, it seems that cilk++ compiler is not able to pick up the number of cores available ...&lt;BR /&gt;&lt;BR /&gt; On the other hand, I compile the same programs on intel 32 bit Linux using same gcc-4.2 and g++-4.2 version. In this case, I build my program once again in this machine and I do get a speedup, and the switch &lt;BR /&gt; -cilk_set_worker_count seems to work.&lt;BR /&gt;&lt;BR /&gt;In both the case, I try to build on same libraries, only difference is that one is 64 bit with 32 bit output and the later one is 32 bit.&lt;BR /&gt;&lt;BR /&gt; My question is : Is it possible for Cilk++ compiler to be unaware of the number of cores and if yes when does it happen ? &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance !&lt;BR /&gt;Pawan&lt;BR /&gt;</description>
    <pubDate>Thu, 03 Jun 2010 14:13:54 GMT</pubDate>
    <dc:creator>pkroy</dc:creator>
    <dc:date>2010-06-03T14:13:54Z</dc:date>
    <item>
      <title>No parallelism with cilk++ on AMD 64 bit</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/No-parallelism-with-cilk-on-AMD-64-bit/m-p/805503#M823</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt; Recently, I build the programs written in cilk++ on AMD, 64 bit Linux.&lt;BR /&gt;The program compiles well, i use -m32 to get the 32 bit version. I use gcc-4.2, and g++-4.2.&lt;BR /&gt;But I do not get any parallelism, i.e -cilk_set_worker_count switch has no effect, it seems that cilk++ compiler is not able to pick up the number of cores available ...&lt;BR /&gt;&lt;BR /&gt; On the other hand, I compile the same programs on intel 32 bit Linux using same gcc-4.2 and g++-4.2 version. In this case, I build my program once again in this machine and I do get a speedup, and the switch &lt;BR /&gt; -cilk_set_worker_count seems to work.&lt;BR /&gt;&lt;BR /&gt;In both the case, I try to build on same libraries, only difference is that one is 64 bit with 32 bit output and the later one is 32 bit.&lt;BR /&gt;&lt;BR /&gt; My question is : Is it possible for Cilk++ compiler to be unaware of the number of cores and if yes when does it happen ? &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance !&lt;BR /&gt;Pawan&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Jun 2010 14:13:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/No-parallelism-with-cilk-on-AMD-64-bit/m-p/805503#M823</guid>
      <dc:creator>pkroy</dc:creator>
      <dc:date>2010-06-03T14:13:54Z</dc:date>
    </item>
    <item>
      <title>No parallelism with cilk++ on AMD 64 bit</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/No-parallelism-with-cilk-on-AMD-64-bit/m-p/805504#M824</link>
      <description>Does a trivial OpenMP app obtain multiple threads?&lt;BR /&gt;&lt;BR /&gt;If not, then the system may be configured to limit the number of threads a process can spawn (1 thread total).&lt;BR /&gt;or&lt;BR /&gt;If not, environment variable might limit/disable threading&lt;BR /&gt;or&lt;BR /&gt;If not, you might be linking in the OpenMP stubs&lt;BR /&gt;&lt;BR /&gt;The above relates to OpenMP&lt;BR /&gt;&lt;BR /&gt;Cilk++ may have similar issues (check for options that my link with stubs)&lt;BR /&gt;&lt;BR /&gt;Jim&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Jun 2010 16:38:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/No-parallelism-with-cilk-on-AMD-64-bit/m-p/805504#M824</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2010-06-03T16:38:10Z</dc:date>
    </item>
    <item>
      <title>No parallelism with cilk++ on AMD 64 bit</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/No-parallelism-with-cilk-on-AMD-64-bit/m-p/805505#M825</link>
      <description>I have a similar program written in Cilk++ which scales very well...&lt;BR /&gt;I compiled this program on my laptop and then ran this on a multicore machine by linking the executable with cilk dynamic library.&lt;BR /&gt;&lt;BR /&gt;But recently, I have compiled on the multicore machine itself, and the program does not read the number of cores. &lt;BR /&gt;&lt;BR /&gt;Is it that for a cilk++ compilation one must have a specific version of gcc and linker ??&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Pawan</description>
      <pubDate>Thu, 03 Jun 2010 17:22:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/No-parallelism-with-cilk-on-AMD-64-bit/m-p/805505#M825</guid>
      <dc:creator>pkroy</dc:creator>
      <dc:date>2010-06-03T17:22:57Z</dc:date>
    </item>
    <item>
      <title>No parallelism with cilk++ on AMD 64 bit</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/No-parallelism-with-cilk-on-AMD-64-bit/m-p/805506#M826</link>
      <description>You may get more knowledgeable answers by asking about Cilk on the forum which is dedicated to that product.</description>
      <pubDate>Thu, 03 Jun 2010 17:38:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/No-parallelism-with-cilk-on-AMD-64-bit/m-p/805506#M826</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2010-06-03T17:38:52Z</dc:date>
    </item>
  </channel>
</rss>

