Forum Discussion

vinutha's avatar
vinutha
Icon for New Contributor rankNew Contributor
4 years ago

OneAPI installation with FPGA Add-on for A10gx board

We are trying to install oneAPI for FPGA Add-on for custom platform using a10gx board.
To achieve this we downloaded and installed the FPGA add-on using Intel Quartus Pro Software package from the Toolkit Download page.
Also the package related to A10gx board was downloaded and installed in /opt/intel/oneapi/intelfpgadpcpp/2021.3.0/board
After installing OneAPI 2021.3 I could setup the environment
$ source setvars.sh

:: initializing oneAPI environment ...
-bash: BASH_VERSION = 4.4.20(1)-release3
:: advisor -- latest
:: ccl -- latest
:: compiler -- latest
:: dal -- latest
:: debugger -- latest
:: dev-utilities -- latest
:: dnnl -- latest
:: dpcpp-ct -- latest
:: dpl -- latest
:: intelpython -- latest
:: ipp -- latest
:: ippcp -- latest
:: ipp -- latest
:: mkl -- latest
:: mpi -- latest
:: tbb -- latest
:: vpl -- latest
:: vtune -- latest
:: oneAPI environment initialized ::
To diagnose the oneAPI and FPGA installation the sys_check.sh script is executed with errors
$ ./sys_check.sh
:: compiler -- latest
Warning: INTEL_FPGA_ROOT is not set.
Please ensure Intel(R) FPGA Add-on for oneAPI Base Toolkit is installed
if you want to perform FPGA bitstream generation.
Warning: Open Programmable Acceleration Engine (OPAE) driver was not found.
If Intel(R) Programmable Acceleration Card with Intel(R) Arria(R) 10 GX
or Intel(R) Stratix(R) 10 SX FPGA is installed in the system, please
install OPAE driver by running
aocl install <board package name or path>
:: debugger -- latest
:: vtune -- latest
:: dpcpp-ct -- latest
:: tbb -- latest
:: intelpython -- latest
..None

======================================================================
ERROR: test_smoke (__main__.TestIntelDistribution) (package='cython')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/intel/oneapi/intelpython/latest/sys_check/sys_check.py", line 72, in test_smoke
raise err
File "/opt/intel/oneapi/intelpython/latest/sys_check/sys_check.py", line 69, in test_smoke
stderr=subprocess.DEVNULL)
File "/opt/intel/oneapi/intelpython/latest/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'python "/opt/intel/oneapi/intelpython/python3.7/pkgs/cython-0.29.23-py37hb3b8d61_0/info/test/run_test.py"' returned non-zero exit status 1.

----------------------------------------------------------------------
Ran 3 tests in 6.836s

FAILED (errors=1)

Failed
:: advisor -- latest
No Issues Encountered.

Can you please help us to solve this issue and proceed further.
Regards,
Vinutha

5 Replies