Forum Discussion
Hello_world doesn't work for Arria 10 ubuntu 14.04
1. quartus 17.0, ubuntu 14.04, opencl
2. Arria10 is used. 3. all diagnose pass. command: aoc device/hello_world.cl -o bin/hello_world.aocx --board a10gx Error message in hello_world.log System name: hello_world java: /build/swbuild/SJ/nightly/17.0.2/297/l64/p4/quartus/ccl/ver/ver_jni_stub.cpp:122: jboolean Java_com_altera_version_AlteraProductInfo_initialize(JNIEnv*, jobject): Assertion `success' failed. Aborted (core dumped)23 Replies
- Altera_Forum
Honored Contributor
Make sure you are using the same version of Quartus and AOC (quartus_map --version and aoc --version should return the same number). Also unless you are using Altera's reference Arria 10 board, you should not be using Quartus/AOC v17.0.2, and instead use the version that matches your board's BSP version.
- Altera_Forum
Honored Contributor
--- Quote Start --- Make sure you are using the same version of Quartus and AOC (quartus_map --version and aoc --version should return the same number). Also unless you are using Altera's reference Arria 10 board, you should not be using Quartus/AOC v17.0.2, and instead use the version that matches your board's BSP version. --- Quote End --- quartus_map --version: Quartus Prime Analysis & Synthesis Version 17.0.2 Build 297 07/19/2017 SJ Pro Edition aoc --version Intel(R) FPGA SDK for OpenCL(TM), 64-bit Offline Compiler Version 17.0.2 Build 297 they are same. Yes, I have Arria 10 board. - Altera_Forum
Honored Contributor
Okay, your environment seems to be correct. Can you also test compilation on CentOS? Even though Ubuntu is now officially supported in Quartus v17.0, I am not sure if everything would work correctly yet. Assuming that you run into the same problem on CentOS, I recommend opening a support ticket directly with Altera.
- Altera_Forum
Honored Contributor
Let's try CentOS, to be precise, CentOS 7.3.
I pass aocl diagnose, again when I try to run hello-world example, it is not a beautify World anymore. Here is the error message: aoc device/hello_world.cl -o bin/hello_world.aocx --board a10gx Error: Error opening /home/fpga/Downloads/helloworld/hello_world/bin/hello_world/ip/kernel_system/kernel_system_avs_kernel_sender_cra_cra_ring.ip. Error: Error opening /home/fpga/Downloads/helloworld/hello_world/bin/hello_world/ip/kernel_system/kernel_system_avs_reorder_const_cra_cra_ring.ip. Error: Error opening /home/fpga/Downloads/helloworld/hello_world/bin/hello_world/ip/kernel_system/kernel_system_avs_mem_writestream_cra_cra_ring.ip. Error: Error opening /home/fpga/Downloads/helloworld/hello_world/bin/hello_world/ip/kernel_system/kernel_system_boardtest_system.ip. Error: Error opening /home/fpga/Downloads/helloworld/hello_world/bin/hello_world/ip/kernel_system/kernel_system_avs_kernel_receiver_cra_cra_ring.ip. Error: Error opening /home/fpga/Downloads/helloworld/hello_world/bin/hello_world/ip/kernel_system/kernel_system_avs_nop_cra_cra_ring.ip. Error: Error opening /home/fpga/Downloads/helloworld/hello_world/bin/hello_world/ip/kernel_system/kernel_system_avs_mem_readstream_cra_cra_ring.ip. Error: Error opening /home/fpga/Downloads/helloworld/hello_world/bin/hello_world/ip/kernel_system/kernel_system_avs_mem_read_writestream_cra_cra_ring.ip. Error: Quartus Prime IP Generation Tool was unsuccessful. 8 errors, 0 warnings Error (293001): Quartus Prime Full Compilation was unsuccessful. 10 errors, 0 warnings Error: Flow compile (for project /home/fpga/Downloads/helloworld/hello_world/bin/hello_world/top) was not successful Error: ERROR: Error(s) found while running an executable. See report file(s) for error message(s). Message log indicates which executable was run last. Error (23031): Evaluation of Tcl script /home/fpga/intelFPGA_pro/17.0/quartus/common/tcl/internal/qsh_flow.tcl unsuccessful Error: Quartus Prime Shell was unsuccessful. 17 errors, 0 warnings Error: Compiler Error, not able to generate hardware I dig more, the problem seems: home/fpga/intelFPGA_pro/17.0/qsys/bin/qsys-generate {--family=Arria 10} --clear-output-directory --synthesis=verilog --part=10AX115S2F45I1SG --block-symbol-file --pro --quartus project=/home/fpga/helloworld/hello_world/bin/hello_world/top --rev=flat /home/fpga/helloworld/hello_world/bin/hello_world/ip/kernel_system/kernel_system_avs_kernel_sender_cra_cra_ring.ip 2017.09.06.17:26:53 Error: Unrecognized switch 2 2017.09.06.17:26:53 Error: Unrecognized switch 3 it fails to generate kernel_system_avs_kernel_sender_cra_cra_ring.ip Does anyone know what is "Unrecognized switch 2/3"? - Altera_Forum
Honored Contributor
I shall start another thread for that for it is related to Centos
- Altera_Forum
Honored Contributor
"Error: Error opening..." generally points to an unstable storage or permission issues. I believe the error you get after those is caused by the fact that a lot of important files cannot be read/written during compilation.
- Altera_Forum
Honored Contributor
I have run as a root, but get same issues.
I have installed n two different hard disks. but get same issues. I believe the culprit is relating to qsys-generate fails to generate kernel_system/kernel_system_avs_kernel_sender_cra_cra_ring.ip e.g. home/fpga/intelFPGA_pro/17.0/qsys/bin/qsys-generate {--family=Arria 10} --clear-output-directory --synthesis=verilog --part=10AX115S2F45I1SG --block-symbol-file --pro --quartus project=/home/fpga/helloworld/hello_world/bin/hello_world/top -rev=flat /home/fpga/helloworld/hello_world/bin/hello_world/ip/kernel_system/kernel_system_avs_kernel_sender_cra_cra_ring.ip 2017.09.06.17:26:53 Error: Unrecognized switch 2 - Altera_Forum
Honored Contributor
Can you post the full quartus_sh_compile.log? It is quite unlikely that there is an issue in Altera's toolchain or else there should be a lot of people reporting the same issue.
- Altera_Forum
Honored Contributor
HRZ, I had the same issue. Initially, you said it was my storage being full/unstable. I tried it again on different host machine and storage device and got the same error. Is Quartus 17 tested on CentOS 7 at all?
- Altera_Forum
Honored Contributor
I have tested on CentOS 7.0, same errors. Here is attachment. My guess is that we properly miss some packages.