Forum Discussion

jimbook's avatar
jimbook
Icon for New Contributor rankNew Contributor
3 years ago

Compiler Error, not able to generate hardware

when I compile for D5005 by oneAPI, I meet some problem like these:

Error: Compiler Error, not able to generate hardware

llvm-foreach:
dpcpp: error: fpga compiler command failed with exit code 1 (use -v to see invocation)

and in quartuserr.tmp:

Traceback (most recent call last):
  File "/opt/intel/oneapi/intelpython/latest/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/opt/intel/oneapi/intelpython/latest/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/tmp/fig_17_17_ndrange_func-f8c444-f58169/build/./tools/packager.pyz/__main__.py", line 28, in <module>
  File "<frozen zipimport>", line 259, in load_module
  File "/tmp/fig_17_17_ndrange_func-f8c444-f58169/build/./tools/packager.pyz/packager.py", line 35, in <module>
  File "<frozen zipimport>", line 259, in load_module
  File "/tmp/fig_17_17_ndrange_func-f8c444-f58169/build/./tools/packager.pyz/afu.py", line 33, in <module>
  File "<frozen zipimport>", line 259, in load_module
  File "/tmp/fig_17_17_ndrange_func-f8c444-f58169/build/./tools/packager.pyz/metadata/metadata.py", line 28, in <module>
ModuleNotFoundError: No module named 'constants'

in quartus_sh_compile.log:

This is the run.sh script.
ERROR: packager tool failed to run.  Check installation.  Aborting compilation!

I don't know why it happen and how to fix it.

2 Replies