I am currently trying to debug a native application for the Xeon Phi using the GDB version provided by Intel (gdb-mic). When I run the program while logged in onto the Phi, it works provided I set LD_LIBRARY_PATH=/tmp (where I previously transferred libiomp5.so).
However, when I debug the application using GDB, I am unable to set the library path. I tried the command "set env LD_LIBRARY_PATH=/tmp", but GDB still can't find libiomp5.so.
Has anyone encountered that issue before ?
Thanks !