Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
28 Views

Running offload with xeon phi

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

0 Kudos
0 Replies