Software Archive
Read-only legacy content
17061 Discussions

MPSS 3.5.1, Centos 7.1 x86_64-k1om-linux-ld: relocation error

Sorin_M_
Beginner
408 Views

Updated my mmic system to Centos 7.1, and when trying to compile hello_world with

ifort -mmic hello_world.f90 -o hello_world.f90

get a link error:

x86_64-k1om-linux-ld: relocation error: /usr/lib64/libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference


Any suggestions?

 

Thanks!

0 Kudos
2 Replies
Frances_R_Intel
Employee
408 Views

You updated the OS on the host, not the coprocessor, right? When you compile with -mmic, you shouldn't be picking up files from /usr/lib64 but from the library files that come with the MPSS. If you didn't do so, 'source /opt/intel/composerxe/bin/compilervars.sh intel64' (or /opt/intel/compilers_and_libraries/bin/compilervars.sh intel64 for the 16.0 and later compilers) and use the libraries paths that gives you.

0 Kudos
Sorin_M_
Beginner
408 Views

Yep, that solves it. Thanks again.

0 Kudos
Reply