FPGA Build fail on Devcloud
Hello,
I'm trying to compile a project on FPGA Hardware on Devcloud.
following these steps:
qsub -I -l nodes=1:fpga_compile:ppn=2 -l walltime=24:00:00
source /opt/intel/inteloneapi/setvars.sh
mkdir build
cd build
cmake ..
make fpga
I'm targeting intel_s10sx_pac:pac_s10
this is the output of the compilation:
Scanning dependencies of target onesql
[ 33%] Linking CXX static library ../libonesql.a
[ 33%] Built target onesql
Scanning dependencies of target main_fpga.fpga
[ 66%] Building CXX object CMakeFiles/main_fpga.fpga.dir/main_fpga.cpp.o
[100%] Linking CXX executable main_fpga.fpga
Killed
Error: Optimizer FAILED.
Refer to /home/u145208/tmp/main_fpga-757e3b-527f59/main_fpga_757e3b_527f59.log for details.
llvm-foreach:
dpcpp: error: fpga compiler command failed with exit code 1 (use -v to see invocation)
make[3]: *** [CMakeFiles/main_fpga.fpga.dir/build.make:85: main_fpga.fpga] Error 1
make[2]: *** [CMakeFiles/Makefile2:124: CMakeFiles/main_fpga.fpga.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:104: CMakeFiles/fpga.dir/rule] Error 2
make: *** [Makefile:118: fpga] Error 2
this is the content of the main_fpga_757e3b_527f59.log file
Compiler Command: aoc -o /home/u145208/tmp/main_fpga-757e3b-527f59.aocx /home/u145208/tmp/main_fpga-42dab2-90b297.spv -sycl -dep-files=/home/u145208/tmp/main_fpga.cpp-325514.d -output-report-folder=main_fpga.fpga.prj -g -hardware -parallel=2 -seed=2 -board=intel_s10sx_pac:pac_s10
Killed
The project compile and run on FPGA Emulator and I'm also able to build the report.
Anyone seeing this error or know hot to fix it?
Thank you in advance.