<?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 Oh thanks for taking the time in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927927#M14273</link>
    <description>&lt;P&gt;Oh thanks for taking the time to help me!&lt;/P&gt;</description>
    <pubDate>Thu, 12 Sep 2013 18:39:39 GMT</pubDate>
    <dc:creator>Ryan_M_3</dc:creator>
    <dc:date>2013-09-12T18:39:39Z</dc:date>
    <item>
      <title>Seg Fault with cilk -.-</title>
      <link>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927918#M14264</link>
      <description>&lt;P&gt;OK good news finally got my compiler up and linked properly xD. Bad news seg fault -.-. OK I'm using the cpp file of Fibonacci numbers provided by cilkplus.org . So when I go to add the extra arguement ex. ./a.out 2. I get a seg fault -.-. Any ideas. I DID NOT WRITE THE FILE lol.&lt;/P&gt;
&lt;P&gt;cute_rj@Cute:~/cilk-fib$ which g++&lt;BR /&gt;/home/cute_rj/gcc-cilk/bin/g++&lt;BR /&gt;cute_rj@Cute:~/cilk-fib$ g++ -fcilkplus -lcilkrts fib.cpp &lt;BR /&gt;cute_rj@Cute:~/cilk-fib$ g++ -fcilkplus -lcilkrts fib.cpp&lt;BR /&gt;cute_rj@Cute:~/cilk-fib$ ./a.out 2&lt;BR /&gt;Segmentation fault (core dumped)&lt;BR /&gt;cute_rj@Cute:~/cilk-fib$&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 16:50:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927918#M14264</guid>
      <dc:creator>Ryan_M_3</dc:creator>
      <dc:date>2013-09-12T16:50:51Z</dc:date>
    </item>
    <item>
      <title>Hi Ryan,</title>
      <link>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927919#M14265</link>
      <description>&lt;P&gt;Hi Ryan,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am not able to reproduce your issue. I tried the testcase and I got the following output:&lt;/P&gt;
&lt;P&gt;/home/gcc&amp;gt; ../cilkplus-install/bin/g++ -fcilkplus fib.cpp -lcilkrts&lt;BR /&gt;/home/gcc&amp;gt; ./a.out&lt;BR /&gt;Fibonacci number #39 is 63245986.&lt;BR /&gt;Calculated in 0.890 seconds using 8 workers.&lt;BR /&gt;/home/gcc&amp;gt; ./a.out&amp;nbsp; 2&lt;BR /&gt;Fibonacci number #39 is 63245986.&lt;BR /&gt;Calculated in 2.115 seconds using 2 workers.&lt;/P&gt;
&lt;P&gt;Can you try to use&amp;nbsp;gdb and see what is going on? (please recompile the source file with -g flag).&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Balaji V. Iyer.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 17:54:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927919#M14265</guid>
      <dc:creator>Balaji_I_Intel</dc:creator>
      <dc:date>2013-09-12T17:54:27Z</dc:date>
    </item>
    <item>
      <title>Funny thing is my professor</title>
      <link>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927920#M14266</link>
      <description>&lt;P&gt;Funny thing is my professor has the same problem lol. I have no idea how to use gdb xD trying ddd&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 18:00:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927920#M14266</guid>
      <dc:creator>Ryan_M_3</dc:creator>
      <dc:date>2013-09-12T18:00:51Z</dc:date>
    </item>
    <item>
      <title>DDD didnt even want to help</title>
      <link>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927921#M14267</link>
      <description>&lt;P&gt;DDD didnt even want to help me. Gah&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 18:10:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927921#M14267</guid>
      <dc:creator>Ryan_M_3</dc:creator>
      <dc:date>2013-09-12T18:10:44Z</dc:date>
    </item>
    <item>
      <title>oh all we have is the</title>
      <link>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927922#M14268</link>
      <description>&lt;P&gt;oh all we have is the compiler, no add ons or extensions and we built the complier&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 18:19:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927922#M14268</guid>
      <dc:creator>Ryan_M_3</dc:creator>
      <dc:date>2013-09-12T18:19:44Z</dc:date>
    </item>
    <item>
      <title>DDD doesn't seem to want to</title>
      <link>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927923#M14269</link>
      <description>&lt;P&gt;DDD doesn't seem to want to help me -.-&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 18:20:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927923#M14269</guid>
      <dc:creator>Ryan_M_3</dc:creator>
      <dc:date>2013-09-12T18:20:33Z</dc:date>
    </item>
    <item>
      <title>Rebuild the application using</title>
      <link>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927924#M14270</link>
      <description>&lt;P&gt;Rebuild the application using the following command:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;g++&lt;STRONG&gt; -ggdb&lt;/STRONG&gt; -fcilkplus -lcilkrts fib.cpp&lt;/P&gt;
&lt;P&gt;This the -ggdb option will generate a binary with debug symbols for GDB. &amp;nbsp;Now execute the application under GDB:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;gdb ./a.out&lt;/P&gt;
&lt;P&gt;When you get the GDB prompt, enter the command:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;run 2&lt;/P&gt;
&lt;P&gt;This will run the application, and pass it 2 as it's parameter. &amp;nbsp;When GDB stops due to the error, issue the "bt" command to get a "backtrace". This should show you where in your application you are. &amp;nbsp;Post the results here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; - Barry&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 18:28:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927924#M14270</guid>
      <dc:creator>Barry_T_Intel</dc:creator>
      <dc:date>2013-09-12T18:28:25Z</dc:date>
    </item>
    <item>
      <title>This is what I got even</title>
      <link>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927925#M14271</link>
      <description>&lt;P&gt;This is what I got even though it don't make sense to me haha&lt;/P&gt;
&lt;P&gt;cute_rj@Cute:~/cilk-fib$ g++ -ggdb -fcilkplus -lcilkrts fib.cpp&lt;BR /&gt;cute_rj@Cute:~/cilk-fib$ gdb ./a.out&lt;BR /&gt;GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04&lt;BR /&gt;Copyright (C) 2012 Free Software Foundation, Inc.&lt;BR /&gt;License GPLv3+: GNU GPL version 3 or later &amp;lt;http://gnu.org/licenses/gpl.html&amp;gt;&lt;BR /&gt;This is free software: you are free to change and redistribute it.&lt;BR /&gt;There is NO WARRANTY, to the extent permitted by law. Type "show copying"&lt;BR /&gt;and "show warranty" for details.&lt;BR /&gt;This GDB was configured as "i686-linux-gnu".&lt;BR /&gt;For bug reporting instructions, please see:&lt;BR /&gt;&amp;lt;http://bugs.launchpad.net/gdb-linaro/&amp;gt;...&lt;BR /&gt;Reading symbols from /home/cute_rj/cilk-fib/a.out...done.&lt;BR /&gt;(gdb) run 2&lt;BR /&gt;Starting program: /home/cute_rj/cilk-fib/a.out 2&lt;BR /&gt;[Thread debugging using libthread_db enabled]&lt;BR /&gt;Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".&lt;BR /&gt;[New Thread 0xb7caab40 (LWP 3986)]&lt;/P&gt;
&lt;P&gt;Program received signal SIGSEGV, Segmentation fault.&lt;BR /&gt;[Switching to Thread 0xb7caab40 (LWP 3986)]&lt;BR /&gt;0xb7fc63ba in cilk_fiber_sysdep::run() ()&lt;BR /&gt; at /home/cute_rj/gcc-cilk-src/libcilkrts/runtime/cilk_fiber-unix.cpp:170&lt;BR /&gt;170 do_post_switch_actions();&lt;BR /&gt;(gdb) bt&lt;BR /&gt;#0 0xb7fc63ba in cilk_fiber_sysdep::run() ()&lt;BR /&gt; at /home/cute_rj/gcc-cilk-src/libcilkrts/runtime/cilk_fiber-unix.cpp:170&lt;BR /&gt;#1 0xb7fc6483 in cilk_fiber_sysdep::resume_other_sysdep(cilk_fiber_sysdep*) [clone .isra.4] ()&lt;BR /&gt; at /home/cute_rj/gcc-cilk-src/libcilkrts/runtime/cilk_fiber-unix.cpp:111&lt;BR /&gt;#2 0xb7fc64cc in cilk_fiber_sysdep::suspend_self_and_resume_other_sysdep(cilk_fiber_sysdep*) ()&lt;BR /&gt; at /home/cute_rj/gcc-cilk-src/libcilkrts/runtime/cilk_fiber-unix.cpp:125&lt;BR /&gt;#3 0xb7fc5cee in cilk_fiber::suspend_self_and_resume_other(cilk_fiber*) ()&lt;BR /&gt; from /home/cute_rj/gcc-cilk/lib/libcilkrts.so.0&lt;BR /&gt;#4 0xb7fc5d43 in cilk_fiber_suspend_self_and_resume_other ()&lt;BR /&gt; from /home/cute_rj/gcc-cilk/lib/libcilkrts.so.0&lt;BR /&gt;#5 0xb7fcdda5 in worker_scheduler_function ()&lt;BR /&gt; at /home/cute_rj/gcc-cilk-src/libcilkrts/runtime/scheduler.c:2081&lt;BR /&gt;#6 0xb7fc9cea in __cilkrts_run_scheduler_with_exceptions ()&lt;BR /&gt; from /home/cute_rj/gcc-cilk/lib/libcilkrts.so.0&lt;BR /&gt;#7 0xb7fcff9f in scheduler_thread_proc_for_system_worker ()&lt;BR /&gt; from /home/cute_rj/gcc-cilk/lib/libcilkrts.so.0&lt;BR /&gt;#8 0xb7cb9d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0&lt;BR /&gt;#9 0xb7dbcdde in clone () from /lib/i386-linux-gnu/libc.so.6&lt;BR /&gt;(gdb)&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 18:31:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927925#M14271</guid>
      <dc:creator>Ryan_M_3</dc:creator>
      <dc:date>2013-09-12T18:31:44Z</dc:date>
    </item>
    <item>
      <title>ok waiting for approval for</title>
      <link>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927926#M14272</link>
      <description>&lt;P&gt;ok waiting for approval for post -.-&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 18:32:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927926#M14272</guid>
      <dc:creator>Ryan_M_3</dc:creator>
      <dc:date>2013-09-12T18:32:39Z</dc:date>
    </item>
    <item>
      <title>Oh thanks for taking the time</title>
      <link>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927927#M14273</link>
      <description>&lt;P&gt;Oh thanks for taking the time to help me!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 18:39:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927927#M14273</guid>
      <dc:creator>Ryan_M_3</dc:creator>
      <dc:date>2013-09-12T18:39:39Z</dc:date>
    </item>
    <item>
      <title>Are you using this compiler</title>
      <link>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927928#M14274</link>
      <description>&lt;P&gt;Are you using this compiler on a 64-bit machine? In your last thread you mentioned that you had LD_LIBRARY_PATH as the following:&lt;/P&gt;
&lt;P&gt;echo $LD_LIBRARY_PATH&lt;BR /&gt;/home/cute_rj/gcc-cilk/lib&lt;/P&gt;
&lt;P&gt;If you are using this on the 64-bit machine, then replace LD_LIBRARY_PATH with /home/cute_rj/gcc-cilk/lib64.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Balaji V. Iyer.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 18:56:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927928#M14274</guid>
      <dc:creator>Balaji_I_Intel</dc:creator>
      <dc:date>2013-09-12T18:56:23Z</dc:date>
    </item>
    <item>
      <title>nope I'm using 32 bit</title>
      <link>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927929#M14275</link>
      <description>&lt;P&gt;nope I'm using 32 bit virtual machine on a 64 bit computer&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 19:08:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927929#M14275</guid>
      <dc:creator>Ryan_M_3</dc:creator>
      <dc:date>2013-09-12T19:08:00Z</dc:date>
    </item>
    <item>
      <title>Yes, I am able to reproduce</title>
      <link>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927930#M14276</link>
      <description>&lt;P&gt;Yes,&amp;nbsp;I am able to reproduce this issue. &amp;nbsp;I will get back to you when I get a solution.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Balaji V. Iyer.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 19:44:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927930#M14276</guid>
      <dc:creator>Balaji_I_Intel</dc:creator>
      <dc:date>2013-09-12T19:44:50Z</dc:date>
    </item>
    <item>
      <title>Thanks! Hopefully this helps</title>
      <link>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927931#M14277</link>
      <description>&lt;P&gt;Thanks! Hopefully this helps me down in the long run for my master's work&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 20:51:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927931#M14277</guid>
      <dc:creator>Ryan_M_3</dc:creator>
      <dc:date>2013-09-12T20:51:53Z</dc:date>
    </item>
    <item>
      <title>Hi Ryan,</title>
      <link>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927932#M14278</link>
      <description>&lt;P&gt;Hi Ryan,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; We have found a fix for this issue. I am attaching a file called cilk-fiber_unix.cpp. Please save this file (and overwrite the existing one) in cilkplus-gcc/libcilkrts/runtime directory and then reconfigure and remake.&lt;/P&gt;
&lt;P&gt;Please let me know if you still have issues.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Balaji V. Iyer.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2013 18:45:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927932#M14278</guid>
      <dc:creator>Balaji_I_Intel</dc:creator>
      <dc:date>2013-09-16T18:45:39Z</dc:date>
    </item>
    <item>
      <title>Appreciate it! Will let you</title>
      <link>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927933#M14279</link>
      <description>&lt;P&gt;Appreciate it! Will let you know!&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2013 17:47:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Seg-Fault-with-cilk/m-p/927933#M14279</guid>
      <dc:creator>Ryan_M_3</dc:creator>
      <dc:date>2013-09-17T17:47:48Z</dc:date>
    </item>
  </channel>
</rss>

