- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
https://www.intel.com/content/www/us/en/docs/programmable/683706/21-4/memory-recommendations.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm compiling on Devcloud, this is the result of the "free" command:
total used free shared buff/cache available
Mem: 16037092 4326092 852364 3360 10858636 11420228
Swap: 999420 531948 467472
I'm targeting "intel_s10sx_pac:pac_s10"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That machine only has 16 GB of memory, that is not even remotely enough to synthesize a design for Stratix 10. Doesn't DevCloud have specific nodes for synthesis?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi giulio2,
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/
Best Wishes
BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @giulio2,
Good day, just checking in to see if there is any further doubts in regards to this matter.
Hope we have clarify your doubts.
Best Wishes
BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @giulio2,
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.
Best Wishes
BB
![](/skins/images/7FC17B7B85029576C25F1E43CE255B51/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page