- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Dear all,
I'm trying to run an offload .c code but i'm having trouble getting some libs in the right place, although i've put (so i suppose) the correct path's on my bashrc. I get this line when running the executable:
error while loading shared libraries: liboffload.so.5: cannot open shared object file: No such file or directory
Location for the lib:
/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64/liboffload.so.5
/opt/intel/composer_xe_2015.1.133/compiler/lib/mic/liboffload.so.5
which i've exported in bashrc as:
export SINK_LD_LIBRARY_PATH="/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64:$SINK_LD_LIBRARY_PATH"
export SINK_LD_LIBRARY_PATH="/opt/intel/composer_xe_2015.1.133/compiler/lib/mic:$SINK_LD_LIBRARY_PATH"
I've tried to -rpath and -rpath-link but still doesn't work. Is my line wrongly written?
(e.g.): icc -fopenmp -rpath=/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 flops3_offload.c -o flops3_offload
Can someone give a clue on this?
Thanks a lot,
João Rocha