编译时出错:
error while loading shared libraries: libcilkrts.so.5: cannot open shared object file: No such file or directory
解决办法:在/etc/profile配置文件中添加cilk库文件的所在路径(添加动态/静态链接库)
export LIBRARY_PATH=$LIBRARY_PATH:/opt/intelParallel/composer_xe_2015.0.090/compiler/lib/intel64
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/intelParallel/composer_xe_2015.0.090/compiler/lib/intel64
之后source配置文件即可生效。
再次编译源文件解决问题。