I have successfully compiled cilkplus for gcc (4.8 branch) on Ubuntu 14.04 LTS and compiled the example program fib on the cilkplus website. I would like to run cilkview and cilkscreen on it, and so I downloaded cilk tools from the website as well. However, when I try to run cilkview, I get the following error:
Cilkview: Generating scalability data -t: error while loading shared libraries: -t: cannot open shared object file: No such file or directory
I've tried changing the environment variables $LIBRARY_PATH and $LD_LIBRARY_PATH to point to the libraries in the cilk tools directory, but I still come up with the same error. I also noticed that on the cilk tools downloads, for linux there is an extra set of libraries (libelf and libdwarf), which I have also installed on my system. I tried looking at the depenencies for cilkview, but I couldn't find anything unusual with those. Here is the output:
$ ldd cilkview linux-gate.so.1 => (0xf7735000) libm.so.6 => /lib32/libm.so.6 (0xf76d1000) libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf75e8000) libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf75cb000) libc.so.6 => /lib32/libc.so.6 (0xf741f000) libdl.so.2 => /lib32/libdl.so.2 (0xf741a000)
I would particularly like to run cilkview, but the error persists for both cilkview and cilkscreen. It looks like the error is loading libraries; however, I have no idea why it calls the library -t. Any help with this would be much appreciated.