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: fpga compiler command failed with exit code 1 (use -v to see invocation)
"
and further details from quatus_sh_compile.log:
"
This is the PAC OpenCL BSP run.sh script.
Compiling import revision flow...
ERROR: packager check failed with output ''
...
Error (23035): Tcl error:
while executing
"qexec "bash build/run.sh $revision_name""
("default" arm line 9)
invoked from within
"switch $tcl_platform(platform) {
windows {
post_message -type error "Full compiles to generate hardware for the FPGA are available on supported ..."
(file "build/entry.tcl" line 19)
Error (23031): Evaluation of Tcl script build/entry.tcl unsuccessful
Error: Quartus Prime Shell was unsuccessful. 2 errors, 0 warnings
Error: Peak virtual memory: 981 megabytes
Error: Processing ended: Wed Nov 17 22:32:48 2021
Error: Elapsed time: 00:00:00
"
I assume that something is not configured correctly on some of the fpga_compile nodes. Resubmitting my job sometimes yields successful compilation, but often it fails with this error. I am using the following command to submit to fpga_compile nodes:
"qsub -l walltime=24:00:00 -l nodes=1:fpga_compile:ppn=2 -d . bulid_fpga.sh"
I have used the same command, same shell script, and same source code that have previously compiled successfully.
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