Forum Discussion

lkljucaric's avatar
lkljucaric
Icon for New Contributor rankNew Contributor
5 years ago
Solved

oneAPI 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:...
  • Mickleman's avatar
    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.fpga

    Hope this works for you as well.

    Kind regards

    Marcus