c++linuxubuntucilkcilk-plus

Trying to run cilkscreen/cilkview on gcc with cilkplus


I am currently trying to use cilkscreen to find a race condition in cilk; however, I have the following problem.

cilkscreen ./executable
-bash: /home/ubuntu/cilkutil/bin/cilkscreen: No such file or directory

What am I doing wrong? I have downloaded and set the PATH to reference the directory downloaded https://www.cilkplus.org/download. I am running ubuntu 13.10 on 64-bit. Cilkplus itself is working just fine.


Solution

  • If which cilkscreen can find the file, it is not that the executable cannot be found, as you would expect from the error message.

    You need to install ia32-libs or a similar package provided by your distribution. The Cilk Tools are 32 bit, and trying to run them on a 64 bit system without the required libraries gives this (rather useless and misleading) error message.