UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor chonhuang
Visitor
207 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
144 Views
Registered: ‎11-04-2010

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

How to reproduce the issue?

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

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

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
Xilinx Employee
Xilinx Employee
81 Views
Registered: ‎05-10-2018

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

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
Xilinx Employee
Xilinx Employee
71 Views
Registered: ‎07-16-2008

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

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