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: 
Observer jdmt
Observer
1,342 Views
Registered: ‎04-04-2018

SDAccel 2018.3 examples - Error XILINX_XRT is not defined

Jump to solution

Hi - I've just installed SDAccel 2018.3 and tried to compile one of the SDAccell 2018.3 examples, and it falls over because XILINX_XRT is not set. I think I need to install the Xilinx Runtime package to fix this, but following the links in UG1238 didn't actually point me at anything I could download. I am using the KCU1500 platform which the release notes say is supported if not supplied with 2018.3. Can someone please help me get this working?

 

 

make -j24 incremental
/apps/Xilinx/SDx/SDx/2018.3/bin/xocc -t sw_emu --platform /home/jdmt/FPGA/SDAccel/platforms/xilinx_kcu1500_dynamic_5_0/xilinx_kcu1500_dynamic_5_0.xpfm --save-temps   -c -k krnl_vadd -g --messageDb krnl_vadd/krnl_vadd.mdb -I"../src" --xp misc:solution_name=krnl_vadd --temp_dir krnl_vadd --report_dir krnl_vadd/reports --log_dir krnl_vadd/logs -o"krnl_vadd/krnl_vadd.xo" "../src/krnl_vadd.cl"
ERROR: XILINX_XRT is not defined, this normally indicates that the Xilinx Runtime has not been setup correctly. The Xilinx Runtime is required by XOCC.

****** xocc v2018.3 (64-bit)
  **** SW Build 2405991 on Thu Dec  6 23:36:41 MST 2018
    ** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved.

makefile:77: recipe for target 'krnl_vadd/krnl_vadd.xo' failed
make: *** [krnl_vadd/krnl_vadd.xo] Error 1

0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
1,274 Views
Registered: ‎11-04-2010

Re: SDAccel 2018.3 examples - Error XILINX_XRT is not defined

Jump to solution

Hi, @jdmt , 

The different boards share the same XRT, you can download based on your operating system:

https://www.xilinx.com/products/boards-and-kits/alveo/u200.html#gettingStarted

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
4 Replies
Moderator
Moderator
1,302 Views
Registered: ‎11-04-2010

Re: SDAccel 2018.3 examples - Error XILINX_XRT is not defined

Jump to solution

Hi, @jdmt ,

Have you installed the Xilinx runtime (XRT) ?

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Observer jdmt
Observer
1,291 Views
Registered: ‎04-04-2018

Re: SDAccel 2018.3 examples - Error XILINX_XRT is not defined

Jump to solution

@hongh wrote:

Hi, @jdmt ,

Have you installed the Xilinx runtime (XRT) ?


Quite possibly not - can you please tell.me where to  find the runtime for the KCU1500 platform? 

0 Kudos
Moderator
Moderator
1,275 Views
Registered: ‎11-04-2010

Re: SDAccel 2018.3 examples - Error XILINX_XRT is not defined

Jump to solution

Hi, @jdmt , 

The different boards share the same XRT, you can download based on your operating system:

https://www.xilinx.com/products/boards-and-kits/alveo/u200.html#gettingStarted

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
Observer jdmt
Observer
1,257 Views
Registered: ‎04-04-2018

Re: SDAccel 2018.3 examples - Error XILINX_XRT is not defined

Jump to solution

Many thanks - I installed XRT from that link and I can now run that example code.

0 Kudos