But while compiling, I get this error:
error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory
I use Eclipse SDK 3.7.2 Indigo, and each and everytime I restart my computer, I have to do "source /opt/intel/composer_xe_2011_sp1.10.319/ipp/bin/ippvars.sh ia32" to get a response for "echo $IPPROOT".
I am quite new to ipp, so please help me solve this. Many thanks in advance.
why they are suffix are *.lib, under /opt/intel/composer_xe_2011_sp1.10.319/ipp/lib/ia32
should they be libippi.so or libippi.a?
Anyway, the error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory. looks be a run-time error, not compiling error.
So the solution still is to set right run -time environment: LD_LIBRARY_PATH. (not IPPROOT or set C/C++ Linker Libraries" path,which is for compiling phase).
Not sure how to doin Eclipse SDK.
Could you please try under command line to run your exe with command
> source /opt/intel/composer_xe_2011_sp1.10.319/ipp/bin/ippvars.sh ia32
> your exe
Could you please check ifthe libiomp5.so isin the path "opt/intel/composer_xe_2011_sp1.10.319/compiler/lib/ia32"?
or copy it to/opt/intel/composer_xe_2011_sp1.10.319/ipp/lib/ia32
then see if it can be found.