Hello,
I am tryoing to compile and run helloflops2 from "example from "Intel Xeon Phi Coprocessor High-Performance Programming". I could compile the code using this command line:
> icc -openmp -mmic -qopt-report-phase=vec -qopt-report=3 -O3 helloflops2.c -o helloflops2
Then, I scp "helloflops2" file to mic0:/root and try to run it using: "./helloflops2" and I got this error:
./helloflops2: error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory
In the host processor, I have set all the environment variables:
> source /opt/intel/composerxe/bin/compilervars.sh intel64
> export LD_LIBRARY_PATH=/opt/intel/composer_xe_2015.3.187/compiler/lib/intel64
In mic0, i copied "libiomp5.so" file into /lin64 folder and issued this:
> export LD_LIBRARY_PATH=/lib64
Still I am getting the error. Any help is highly appreciated.
Ali