oneapi-src / oneapi-src/oneAPI-samples
Bug on Devcloud?
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.2k
- Forks
- 745
- PR merge metrics
- No merged PRs in 30d
Description
Summary
Hi, I'm trying to compile for FPGAs in the Intel Devcloud. The problem is that I'm getting an error when I try to compile for hardware, it works well for emulator.
Steps to reproduce
qsub -l nodes=1:fpga_compile:ppn=2 -I
source /opt/intel/oneapi/setvars.sh
cd ~/oneAPI-samples/DirectProgramming/C++SYCL_FPGA/Tutorials/GettingStarted/fast_recompile/src
icpx -fsycl -fintelfpga -fsycl-link=image kernel.cpp -o dev_image.a -Xshardware -Xstarget=/opt/intel/oneapi/intel_a10gx_pac:pac_a10
Observed behavior
The log I'm getting is:
u180336@s001-n063:~/oneAPI-samples/DirectProgramming/C++SYCL_FPGA/Tutorials/GettingStarted/fast_recompile/src$ icpx -fsycl -fintelfpga -fsycl-link=image kernel.cpp -o dev_image.a -Xshardware -Xstarget=/opt/intel/oneapi/intel_a10gx_pac:pac_a10
aoc: Compiling for FPGA. This process may take several hours to complete. Prior to performing this compile, be sure to check the reports to ensure the design will meet your performance targets. If the reports indicate performance targets are not being met, code edits may be required. Please refer to the oneAPI FPGA Optimization Guide for information on performance tuning applications for FPGAs.
Error (23035): Tcl error:
Error (23031): Evaluation of Tcl script build/entry.tcl unsuccessful
Error: Quartus Prime Shell was unsuccessful. 2 errors, 0 warnings
For more details, full Quartus compile output can be found in files quartuserr.tmp and quartus_sh_compile.log.
Error: Compiler Error, not able to generate hardware
llvm-foreach:
icpx: error: fpga compiler command failed with exit code 1 (use -v to see invocation)
Someone knows how to deal with this? Thank you very much!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the GettingStarted/fast_recompile/src sample and reproduce the reported qsub and icpx command on Intel DevCloud. Inspect quartuserr.tmp and quartus_sh_compile.log alongside build/entry.tcl to determine why the hardware compile fails while emulation works. Done means documenting a confirmed cause and a reproducible correction or required environment change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system, embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100