Hello everyone,
could someone help me with this issue? I try to compile some OpenMP code, but still wrote this for offload and native compilation:
bar0088@argexpr2:~/Workspace> icc -openmp vec_add.c -o vec_add.out
ld: warning: libimf.so, needed by /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64/liboffload.so.5, not found (try using -rpath or -rpath-link)
ld: warning: libsvml.so, needed by /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64/liboffload.so.5, not found (try using -rpath or -rpath-link)
ld: warning: libirng.so, needed by /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64/liboffload.so.5, not found (try using -rpath or -rpath-link)
ld: warning: libintlc.so.5, needed by /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64/liboffload.so.5, not found (try using -rpath or -rpath-link)
If i specify the link to the libraries with command -L /opt/intel/composerxe/lib/mic
or
-L /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64
bar0088@argexpr2:~/Workspace> icc -openmp vec_add.c -o vec.out -L /opt/intel/composerxe/lib/mic
ld: skipping incompatible /opt/intel/composerxe/lib/mic/libiomp5.so when searching for -liomp5
ld: skipping incompatible /opt/intel/composerxe/lib/mic/libimf.a when searching for -limf
ld: skipping incompatible /opt/intel/composerxe/lib/mic/libsvml.a when searching for -lsvml
ld: skipping incompatible /opt/intel/composerxe/lib/mic/libirng.a when searching for -lirng
ld: skipping incompatible /opt/intel/composerxe/lib/mic/libipgo.a when searching for -lipgo
ld: skipping incompatible /opt/intel/composerxe/lib/mic/libiomp5.so when searching for -liomp5
ld: skipping incompatible /opt/intel/composerxe/lib/mic/liboffload.so.5 when searching for liboffload.so.5
ld: skipping incompatible /opt/intel/composerxe/lib/mic/libcilkrts.so.5 when searching for libcilkrts.so.5
ld: skipping incompatible /opt/intel/composerxe/lib/mic/libirc.a when searching for -lirc
ld: skipping incompatible /opt/intel/composerxe/lib/mic/libsvml.a when searching for -lsvml
ld: skipping incompatible /opt/intel/composerxe/lib/mic/libirc_s.a when searching for -lirc_s
ld: warning: libimf.so, needed by /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64/liboffload.so.5, not found (try using -rpath or -rpath-link)
ld: warning: libsvml.so, needed by /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64/liboffload.so.5, not found (try using -rpath or -rpath-link)
ld: warning: libirng.so, needed by /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64/liboffload.so.5, not found (try using -rpath or -rpath-link)
ld: warning: libintlc.so.5, needed by /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64/liboffload.so.5, not found (try using -rpath or -rpath-link)
I have no idea how to fix it. What is wrong?
Thanks