<?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 _Cilk_spawn is undefined in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Cilk-spawn-is-undefined/m-p/1052928#M50737</link>
    <description>&lt;P&gt;Hello, I have installed Visual Studio 2013 and Intel Parallel Studio and when i write a cilk plus program (fibonacci to be accurate) it compiles it just fine, but it doesn't recognize the commands cilk_spawn and cilk_sync (if i move the cusror to these commands it says "_Cilk_spawn is undefined","_Cilk_sync is undefined" ). Also when i run the fibonacci program the serial version executes in almost the same amount of time as the parallel version (weird ah?).&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I researched on the internet for this problem but no-one seems to give a solution.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Any help would be appreciated&lt;/P&gt;</description>
    <pubDate>Sun, 08 Nov 2015 11:20:14 GMT</pubDate>
    <dc:creator>Nikos_L_</dc:creator>
    <dc:date>2015-11-08T11:20:14Z</dc:date>
    <item>
      <title>_Cilk_spawn is undefined</title>
      <link>https://community.intel.com/t5/Software-Archive/Cilk-spawn-is-undefined/m-p/1052928#M50737</link>
      <description>&lt;P&gt;Hello, I have installed Visual Studio 2013 and Intel Parallel Studio and when i write a cilk plus program (fibonacci to be accurate) it compiles it just fine, but it doesn't recognize the commands cilk_spawn and cilk_sync (if i move the cusror to these commands it says "_Cilk_spawn is undefined","_Cilk_sync is undefined" ). Also when i run the fibonacci program the serial version executes in almost the same amount of time as the parallel version (weird ah?).&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I researched on the internet for this problem but no-one seems to give a solution.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Any help would be appreciated&lt;/P&gt;</description>
      <pubDate>Sun, 08 Nov 2015 11:20:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Cilk-spawn-is-undefined/m-p/1052928#M50737</guid>
      <dc:creator>Nikos_L_</dc:creator>
      <dc:date>2015-11-08T11:20:14Z</dc:date>
    </item>
    <item>
      <title>I forgot to say that I have</title>
      <link>https://community.intel.com/t5/Software-Archive/Cilk-spawn-is-undefined/m-p/1052929#M50738</link>
      <description>&lt;P&gt;I forgot to say that I have changed the compiler to Intel c++&lt;/P&gt;</description>
      <pubDate>Sun, 08 Nov 2015 11:29:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Cilk-spawn-is-undefined/m-p/1052929#M50738</guid>
      <dc:creator>Nikos_L_</dc:creator>
      <dc:date>2015-11-08T11:29:48Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Software-Archive/Cilk-spawn-is-undefined/m-p/1052930#M50739</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I don't see any problems with Visual Studio 2013 + Intel Parallel Studio XE 2016.&lt;/P&gt;

&lt;P&gt;Could you please check if you are setting the Intel compiler correctly (e.g. solution property -&amp;gt; Intel Compiler -&amp;gt; Use Intel C++)? Also, don't forget to include "cilk/cilk.h" to use "cilk_spawn/cilk_sync/cilk_for" keywords.&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;When properly configured, the editor should highlight the Cilk keywords.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;As for the performance of Fibonacci, you can find some inforamtion in other topics:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://software.intel.com/en-us/forums/intel-cilk-plus/topic/559858" target="_blank"&gt;https://software.intel.com/en-us/forums/intel-cilk-plus/topic/559858&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://software.intel.com/en-us/forums/intel-cilk-plus/topic/559859" target="_blank"&gt;https://software.intel.com/en-us/forums/intel-cilk-plus/topic/559859&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2015 15:04:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Cilk-spawn-is-undefined/m-p/1052930#M50739</guid>
      <dc:creator>Hansang_B_Intel</dc:creator>
      <dc:date>2015-11-09T15:04:46Z</dc:date>
    </item>
    <item>
      <title>Yes the compiler is properly</title>
      <link>https://community.intel.com/t5/Software-Archive/Cilk-spawn-is-undefined/m-p/1052931#M50740</link>
      <description>&lt;P&gt;Yes the compiler is properly configured and I have included the cilk libraries. Here is a screenshot&amp;nbsp;&lt;A href="http://prntscr.com/90v6j3"&gt;http://prntscr.com/90v6j3&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;

&lt;P&gt;I noticed that if i declare the fib function like this "cilk int fib (int n){...}" it highlights the Cilk keywords but still gives errors&amp;nbsp;&lt;A href="http://prntscr.com/90v9nl"&gt;http://prntscr.com/90v9nl&lt;/A&gt;&amp;nbsp; .&lt;/P&gt;

&lt;P&gt;Thanks for the help&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2015 17:49:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Cilk-spawn-is-undefined/m-p/1052931#M50740</guid>
      <dc:creator>Nikos_L_</dc:creator>
      <dc:date>2015-11-09T17:49:41Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Software-Archive/Cilk-spawn-is-undefined/m-p/1052932#M50741</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Your first screenshot tells that the code was compiled correctly, and only the error highlighting tool is complaining about the Cilk things. I think the analysis tool (for highlighting) works independently of Intel compilers and doesn't understand the Cilk Plus extension to C/C++. The second example is not a valid program, so the compiler failed to compile the code.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2015 19:36:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Cilk-spawn-is-undefined/m-p/1052932#M50741</guid>
      <dc:creator>Hansang_B_Intel</dc:creator>
      <dc:date>2015-11-09T19:36:16Z</dc:date>
    </item>
  </channel>
</rss>

