- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The libraries to run natively on the card are in ...../compiler/lib/mic.
So copy the libiomp5.so from that location. The one you copied can only be used on the host.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The libraries to run natively on the card are in ...../compiler/lib/mic.
So copy the libiomp5.so from that location. The one you copied can only be used on the host.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Ravi. For future reference; the complete path to library files is:
/opt/intel/composer_xe_2015.3.187/compiler/lib/mic/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I did not give the full path since you could have installed it at some other location.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page