Software Archive
Read-only legacy content
17060 Discussions

MIC debugger : idbc_mic : error while loading libmyodbl-service.so

vincent_b_
Beginner
394 Views

Hi,

I'm trying to debug natively an application on MIC.
I use idb_mic as debugger however, when launching idbc_mic -tco -rconnect=tcpip:mic0:2000 command, I get this error :
./idbserver_mic: error while loading shared libraries: libmyodbl-service.so: cannot open shared object file: No such file or directory
Target-Error: ' 'Cannot connect to target system''

I found the file in /opt/intel/mic/lib/ and tried the procedure mentioned in "Debugging Intel® Xeon Phi™ Coprocessor Targeted Applications On the Command-Line" http://software.intel.com/en-us/articles/debugging-intel-xeon-phi-coprocessor-targeted-applications-on-the-command-line :

When debugging native coprocessor applications on the command line, the shared library libmyodbl-service.so needs to be uploaded manually.The way to achieve this is to create an overlay, so the file is uploaded at boot time. Follow the instructions on how to use overlays in the MPSS readme.txt. The steps needed to implement this specific overlay look like this:

1. Create /etc/sysconfig/mic/conf.d/myo.conf on the coprocessor target containing the following:
# MYO download files
Overlay / /opt/intel/mic/myo/config/myo.filelist

2. Create /opt/intel/mic/myo/config/myo.filelist on the debug host containing
dir /lib64 755 0 0
file /lib64/libmyodbl-service.so
opt/intel/mic/myo/lib/libmyodbl-service.so 755 0 0

Can someone please explain the procedure in another manner or tell what might be going wrong ?

Thank you,

0 Kudos
1 Reply
vincent_b_
Beginner
394 Views

I found the solution.
libmyodbl-service.so must be copied to mic0:/lib64

However, the myo procedure should have worked without manually copying the file, no?

0 Kudos
Reply