Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
1801 Discussions

oneAPI FPGA compilation error on DevCloud A10

someoneinjd
Novice
730 Views

I was trying to build a very simple example on Arria 10 OneAPI Node, and got errors similar to https://community.intel.com/t5/Intel-DevCloud/Devcloud-OneAPI-FPGA-compilation-error/td-p/1500724 . Here are the steps to reproduce the error:

Step 1: To get arria10 node

 

qsub -I -l nodes=1:arria10:ppn=2 -d .

 

Step 2: Create a simple source file

 

echo "int main() {}" > test.cpp

 

Step 3: Build for FPGA

 

icpx -fsycl test.cpp -Xshardware -fintelfpga -Xstarget=intel_a10gx_pac:pac_a10 -o test.fpga

 

And after a few minutes, the compiler reports errrors:

 

Error (18640): The Quartus Partition Database File '/home/u172305/tmp/test-73c90c-3111fa/build/dcp.qdb' was generated using version 'Version 19.2.0 Build 57 06/24/2019 SJ Pro Edition', which cannot be read by the current version of the Quartus Prime software. Regenerate '/home/u172305/tmp/test-73c90c-3111fa/build/dcp.qdb' using the current version of the Quartus Prime Software.
Error (18640): The Quartus Partition Database File '/home/u172305/tmp/test-73c90c-3111fa/build/green_region.qdb' was generated using version 'Version 19.2.0 Build 57 06/24/2019 SJ Pro Edition', which cannot be read by the current version of the Quartus Prime software. Regenerate '/home/u172305/tmp/test-73c90c-3111fa/build/green_region.qdb' using the current version of the Quartus Prime Software.
Error: Flow failed: 0x9c30500
Error: Quartus Prime Synthesis was unsuccessful. 3 errors, 232 warnings
Error (23035): Tcl error: 
Error (23031): Evaluation of Tcl script compile_script.tcl unsuccessful
Error: Quartus Prime Shell was unsuccessful. 2 errors, 0 warnings
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)

 

I also tried the workaround mentioned at community.intel.com/t5/Intel-DevCloud/Devcloud-OneAPI-FPGA-compilation-error/m-p/1507309#M8477 , it works for me. But it uses an old version of oneapi (2023.0), is there any way I can compile with the new version of oneapi (2023.2)?

 
0 Kudos
1 Solution
someoneinjd
Novice
698 Views

Seems like the problem has been fixed, to using oneAPI 2023.2, just run

source /glob/development-tools/versions/oneapi/2023.2.0.1/oneapi/setvars.sh --force

View solution in original post

0 Kudos
2 Replies
someoneinjd
Novice
699 Views

Seems like the problem has been fixed, to using oneAPI 2023.2, just run

source /glob/development-tools/versions/oneapi/2023.2.0.1/oneapi/setvars.sh --force
0 Kudos
ThasneemV_Intel
Moderator
670 Views

Hi,


Thanks for posting in Intel Communities.

 

Glad to know that your issue is resolved. Thanks for sharing it with the community. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.

 

Regards,

Thasneem Vazim


0 Kudos
Reply