Forum Discussion
lkljucaric
New Contributor
4 years agooneAPI FPGA Compile Node Errors
I am currently experiencing errors when trying to compile FPGA designs using oneAPI. The errors I'm seeing:
"
Error: Compiler Error, not able to generate hardware
llvm-foreach: dpcpp: error:...
- 4 years ago
Hi @lkljucaric
I had the same problem which was resolved as follows on advice from Intel.
In the build script add a line at the beginning to ensure that the correct version of Python is used - here is the script I am now using:
#!/bin/bash
export PATH=/glob/intel-python/python2/bin/:${PATH}
source /opt/intel/inteloneapi/setvars.sh > /dev/null 2>&1
make hw -f Makefile.fpgaHope this works for you as well.
Kind regards
Marcus
itzmeanjan
New Contributor
4 years agoI was facing same issue when I tried compiling some DPC++ FPGA designs on devcloud fpga_compile node today morning & finally I found @Mickleman 's comment above, which resolves the problem. When logged into some fpga_compile node, executing
export PATH=/glob/intel-python/python2/bin/:${PATH}
solves interactive compilation related issues.
Thanks