12-31-2018 01:58 AM
I did the batch mode installation of SDAccel. I Setup the following environment variables, and clone the SDAccel examples 2018.2. krnl_vadd.xclbin is not created.
In another setup; running Ubuntu 16.04 desktop, the same example is compiled using the eclipse environment -using SDX), I see that a folder by name Emulation-SW or Emulation-HW gets created and the krnl_vadd.xclbin getting created, with the same 'vector add' example.
PS: The following are the environment variables that I set, as we have command only interface (no xserver running) in the servers - we are using Ubuntu 16.04 server
export LD_LIBRARY_PATH =$XILINX_VIVADO/ids_lite/ISE/lib/lin64:$LD_LIBRARY_PATH
git clone https://github.com/Xilinx/SDAccel_Examples.git sdaccel_example -b 2018.2
make all TARGET=sw_emu DEVICE=Xilinx_vcu1525_dynamic_5_1
The above command only creates the vadd executable and no krnl_vadd.xclbin
Is there any other environment variables to set?
01-01-2019 07:40 PM
Did you observe any errors in running the makefile to build the design?
The .xclbin file should be generated in /xclbin directory within the <pathtogSDAccel_Example>getting_started/misc/vadd.
BTW, the variable for changing the platform should be DEVICES.
01-01-2019 11:18 PM
Thanks for your quick response. The file krnl_vadd.sw_emu.Xilinx_vcu1525_dynamic_5_1.xclbin is created in the xclbin folder
Now, when I execute the vadd example as below
$ ./vadd xclbin/krnl_vadd.sw_emu.Xilinx_vcu1525_dynamic_5_1.xclbin
../../..//libs/xcl2/xcl2.cpp:40 Error calling err = cl::Platform::get(&platforms), error code is: -1001
I get the above error message. Am I missing something here. Any Environment variables or Path to be set. Please note: I am executing this from the terminal and do not have the option of using sdx (GUI environment) as we are executing on Ubuntu server.