Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
8 years ago

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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I am still waiting for Altera's reply to my ticket. Maybe the v17.0 installer adds some environmental variable somewhere that forces the flat flow to be default.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    I am still waiting for Altera's reply to my ticket. Maybe the v17.0 installer adds some environmental variable somewhere that forces the flat flow to be default.

    --- Quote End ---

    Thank you for submitting the ticket, HRZ! I am looking forward to hear back from them about their solution!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Altera's support says that they cannot reproduce the problem on their system. They say that the compilation on their machine gets defaulted to the standard PR flow which works fine (as it also does on my environment). However, they have changed something in the flat flow and people should not be using that anymore. The problem you guys are facing is very likely because you are being somehow defaulted to the flat flow. I even tried using the "--bsp_flow top" switch on my own environment, and it works and produces the same output as when the switch is not used. However, this switch does not enforce the default flow if the flat flow is enforced using the "ACL_QSH_COMPILE_CMD" environmental variable.

    I recommend people facing this issue to:

    - Make sure "export ACL_QSH_COMPILE_CMD" returns empty

    - Make sure "printenv | grep flat" also returns empty

    - Perform a clean reinstall of Quartus + AOC