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
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
Error: Optimizer FAILED.
Refer to /home/u145208/tmp/main_fpga-757e3b-527f59/main_fpga_757e3b_527f59.log for details.
dpcpp: error: fpga compiler command failed with exit code 1 (use -v to see invocation)
make: *** [CMakeFiles/main_fpga.fpga.dir/build.make:85: main_fpga.fpga] Error 1
make: *** [CMakeFiles/Makefile2:124: CMakeFiles/main_fpga.fpga.dir/all] Error 2
make: *** [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
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.
It seems like the process is getting killed, likely due to lack of enough memory. FPGA synthesis requires a very large amount of memory. Do you have the amount of memory recommended below on the machine you are performing the synthesis on?
Thank you for posting in Intel community forum and hope all is well.
My guess is that the command is submitted in the headnodes and did not specify the desire node.
Hence would suggest to use the devcloud_cloud command to access the specific desire node and try to compile the project again.
Hope that helps.
Note: more details of the queue management in devcloud can be found here --> https://devcloud.intel.com/oneapi/documentation/advanced-queue/
Greetings, as we do not receive any further clarification on what is provided, we would assume challenge are overcome. For new queries, please feel free to open a new thread and we will be right with you. Pleasure having you here.