I'm having trouble with icc using cilk.This trouble is with icc as shown below:
$ icc --version
icc (ICC) 12.0.0 20101006
Copyright (C) 1985-2010 Intel Corporation. All rights reserved.
I wrote a simple program (fib.c), which is attached.
I compiled as
$ icc fib.c -o fib
Then I tried to run and got:
./fib: error while loading shared libraries: /home/bradley/intel/composerxe-2011.0.084/compiler/lib/intel64/li\\
bcilkrts.so.5: cannot restore segment prot after reloc: Permission denied
It works OK with an older runtime:
$ LD_LIBRARY_PATH=/opt/intel/compilerpro-12.0.0.025/compiler/lib/intel64 ./fib 5
and it even gets speedup.
Any ideas what I've done wrong?