Host PC crashing after sometime of running oneAPI
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!
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