Xilinx / gemx

Matrix Operation Library for FPGA https://xilinx.github.io/gemx/
Other
63 stars 21 forks source link

xclbin_get_freq.pl: command not found #9

Open adki opened 6 years ago

adki commented 6 years ago

Making 'run_hw' seems work OK, but it reports /bin/bash: xclbin_get_freq.pl: command not found, which can be found from the message below.

 $ make run_hw SDA_FLOW=hw GEMX_ddrWidth=32 GEMX_numKernels=1\
         GEMX_runGemv=0 GEMX_runGemm=1 GEMX_runTransp=0\
         GEMX_part=kcu1500\
         GEMX_kernelHlsFreq=250\
         GEMX_kernelVivadoFreq=250

Here is last few lines of message.

Output message (Click to expand) ``` ... ... unning xbinst... /opt/Xilinx/SDx/2018.2/platforms/../bin/xbinst --platform_repo_paths=/opt/Xilinx/SDx/2018.2/platforms/xilinx_kcu1500_dynamic_5_0 --platform xilinx_kcu1500_dynamic_5_0 -d out_hw ****** xbinst v2018.2 (64-bit) **** SW Build 2258646 on Thu Jun 14 20:02:38 MDT 2018 ** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved. Attempting to get a license: ap_opencl Feature available: ap_opencl INFO: [XBINST 60-895] Target platform: /opt/Xilinx/SDx/2018.2/platforms/xilinx_kcu1500_dynamic_5_0/xilinx_kcu1500_dynamic_5_0.xpfm INFO: [XBINST 60-267] Packaging for PCIe... INFO: [XBINST 60-1032] Extracting DSA to ./.Xil/xbinst-30085-kal-Z87-HD3/xilinx_kcu1500_dynamic_5_0 INFO: Adding section [CLEARING_BITSTREAM (1)] using: 'xilinx_kcu1500_' (1686170 Bytes) INFO: Adding section [FIRMWARE (3)] using: 'mgmt' (23192 Bytes) INFO: Adding section [SCHED_FIRMWARE (5)] using: 'sched' (9748 Bytes) Successfully completed 'xclbincat' INFO: [XBINST 60-268] Packaging for PCIe...COMPLETE INFO: [XBINST 60-667] xbinst has successfully created a board installation directory at /mnt/adki/work/seminars/20180403_OpenCL/master/codes.ref.sdaccel/Xilinx_Gemm/gemx/gemx.adki/out_hw. /bin/bash: xclbin_get_freq.pl: command not found INFO: kernel xclbin frequency is MHz INFO: THE BOARD RUN WILL USE out_host/gemx_host.exe out_hw/gemx.xclbin out_host/app.bin out_hw/app_out.bin ```

My environment at local. - Vivado 2018.2 with SDx 2018.2 - KCU1500
lisaliu1 commented 6 years ago

Which branch did you use? We will publish the code for SDx 2018.2 in the next few days, and you can try it again.