I installed Intel Parallel Studio 2011 under /opt/intel in Linux 64-bit Ubuntu 11.10.
I found the sample programs buried under /opt/intel/composer_xe_2011_sp1.7.256/samples/en_US/C++/cilk_samples
I managed to build the qsort example, but it does not load since it can not find the cilk run-time system.
I get the following error after having build it with the sample Makefile (make qsort):
ubuntu > qsort
qsort: error while loading shared libraries: libcilkrts.so.5: cannot open shared object file: No such file or directory
ubuntu > ldd qosrt
ldd: ./qosrt: No such file or directory
ubuntu > ldd qsort
linux-vdso.so.1 => (0x00007fff793ff000)
libcilkrts.so.5 => not found
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f4aa46e6000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f4aa43de000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f4aa41c8000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4aa3e29000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f4aa3c24000)
How do I tell the system where to find this file? Do I need to set LD_LIBRARY_PATH? I tried doing so, but it did not help. This file on my system is located under:
On a side note (in case this helps with the above)....
The release notes which seem to be incorrect and need an update to match this release:
First comment would be that since these are where one starts, couldn't these be in a more obvious spot?! Release notes do not tell you where they are, just that say that they are under INSTALLDIR/examples/qsort. For some reason, the release notes do not align at all - are they old and need updating?
Second comment was that the bashrc PATH variable was not set to include a path to the cilk compiler. The release notes indicate that it should be called cilkpp, but this file does not exist and the compiler is now called icpc. Only vtune was added automatically to my PATH variable by the install.sh script.