cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
583 Views
Registered: ‎12-07-2018

SDAccel Error: dlopen of ***/sw_emu/device0/binary_0/dltmp is failed Please check undefined symbols in the kernel

device : xilinx_u250_xdma_201830_1

"
Loading: 'QEX.hw.xilinx_u250_xdma_201830_1.xclbin'

ERROR: dlopen of /home/sdx_worspace/QEX/bin/.run/pid/sw_emu/device0/binary_0/dltmp is failed Please check undefined symbols in the kernel

ERROR: failed to load xclbin

./host/QEX_tb.cpp:102 Error calling cl::Program program(context, devices, bins, NULL, &err), error code is : -44
"

I could't get the location infomation of which cause this error.

Who can give me some advice:  which report/log shuold read,  which part of code is dubious ?

0 Kudos
4 Replies
Highlighted
Moderator
Moderator
520 Views
Registered: ‎11-04-2010

How to reproduce the issue?

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Visitor
Visitor
507 Views
Registered: ‎12-07-2018

command line:XCL_EMULATION_MODE=sw_emu ./host xclbin/matrix_inverse_adjugate_method.sw_emu.xilinx_u250_xdma_201830_1.xclbin

all source code in attachment。

build command same to SDAccel Example in github

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
457 Views
Registered: ‎05-10-2018

There may be some errors in the xclbin. 

Better to debug the Makefile carefully or try to build the .xo/hw_emu by step to check the Makefile and kernel API.

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
447 Views
Registered: ‎07-16-2008

Can you attach the log file for the provided test case? 

For the original error you posted (looks to be based on a different design)

Loading: 'QEX.hw.xilinx_u250_xdma_201830_1.xclbin'

ERROR: dlopen of /home/sdx_worspace/QEX/bin/.run/pid/sw_emu/device0/binary_0/dltmp is failed Please check undefined symbols in the kernel

ERROR: failed to load xclbin

./host/QEX_tb.cpp:102 Error calling cl::Program program(context, devices, bins, NULL, &err), error code is : -44

 

It looks to me the .xclbin generated when TARGET is set to 'hw' is loaded rather than 'sw_emu'.

 

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos