- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone,
For some context, I am converting a CNN model using hls4ml and oneAPI as its backend, and my FPGA is De1-SoC.
When building using oneAPI after an hour, my host PC will freeze and kills the process of oneAPI, and gives me this message:
Killed
Error: Optimizer FAILED.
Refer to /tmp/myproject-2cfa12-b4f8a0/logs/myproject_fpga.log for details.
llvm-foreach:
icpx: error: fpga compiler command failed with exit code 1 (use -v to see invocation)
make[3]: *** [CMakeFiles/fpga.dir/build.make:113: myproject.fpga] Error 1
make[2]: *** [CMakeFiles/Makefile2:206: CMakeFiles/fpga.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:213: CMakeFiles/fpga.dir/rule] Error 2
make: *** [Makefile:176: fpga] Error 2
When I look into the myproject_fpga.log, I get this message:
Compiler Command: aoc -o /tmp/myproject-2cfa12-b4f8a0.aocx /tmp/icpx-4972caa01e/myproject-043f77-18ce83.spv -sycl -dep-files=/tmp/icpx-4972caa01e/myproject.cpp-a9606a.d,/tmp/icpx-4972>
Killed
I don't get that much information to properly figure out where went wrong within the process. I hope someone could help me with this, since I've been trying a lot of configurations, but still it does not change the outcome.
Overmore, to eliminate the possibility of error in my installation of oneAPI and/or Quartus, I tried running the simple-add that comes with oneAPI, thankfully it works, and I've managed to synthesize it into my FPGA using Quartus.
Thank You!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @RenzCiego,
Based on the log message saying "Killed", and the fact that there are no error messages or a crash shown in the logs, the first thing I would check is whether the system killed the process. For example, if the process is using too much memory: https://stackoverflow.com/questions/726690/what-killed-my-process-and-why
I hope this helps,
Jessica
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @RenzCiego,
Based on the log message saying "Killed", and the fact that there are no error messages or a crash shown in the logs, the first thing I would check is whether the system killed the process. For example, if the process is using too much memory: https://stackoverflow.com/questions/726690/what-killed-my-process-and-why
I hope this helps,
Jessica
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @RenzCiego,
Good day, just following up on the previous clarification.
By any chances did you managed to look into it?
Hope to hear from you soon.
Best Wishes
BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @RenzCiego,
Greetings, just checking in to see if there is any further doubts in regards to this matter.
Hope your doubts have been clarified.
Best Wishes
BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @BoonBengT_Altera and @Jessica_Intel ,
Good Day!
I opted for Intel HLS compiler, and successfully synthesized the neural network into the FPGA. Indeed it was the shortage of my system memory that kills the oneAPI compiler.
Thank you so much for the help!
Best,
Renz Ciego
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @RenzCiego,
Great! Good to know that you managed to overcome this, with no further clarification on this thread, it will be transitioned to community support for further help on doubts in this thread.
Please login to ‘ https://supporttickets.intel.com/s/?language=en_US’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.
Thank you for the questions and as always pleasure having you here.
Best Wishes
BB

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page