Forum Discussion

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

AOCL 14.0 compilation flow not working

Hello,

Since I updated the tools to 14.0, I cannot compile OpenCL kernels that compiled fine with the 13.1 release.

I get the following output :

aoc -v --report kernel.cl
aoc: Environment checks are completed successfully.
You are now compiling the full flow!!
aoc: Selected target board c5soc
aoc: Running OpenCL parser....
aoc: OpenCL parser completed successfully.
aoc: Compiling....
aoc: Linking with IP library ...
+--------------------------------------------------------------------+
; Estimated Resource Usage Summary                                   ;
+----------------------------------------+---------------------------+
; Resource                               + Usage                     ;
+----------------------------------------+---------------------------+
; Logic utilization                      ;   30%                     ;
; Dedicated logic registers              ;   13%                     ;
; Memory blocks                          ;   29%                     ;
; DSP blocks                             ;   20%                     ;
+----------------------------------------+---------------------------;
aoc: First stage compilation completed successfully.
aoc: Setting up project for QXP preservation flow....

And that's it. The program stays in this state for ever (or at least, for 60+ hours which is abnormal for a kernel that compiled under 1 hour in 13.1).

The first phase (kernel analysis and .aoco generataion) works fine, but the compilation to .aocx fails to complete and the quartus_sh_compile.log is empty...

What am I missing ? Did anyone else face a similar issue with the new release ?

Thanks for your help

9 Replies

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

    Oh, I forgot to mention it, but I tried the command (and variants) a few times, and on different files. :)

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

    Hi,

    I went back to using aoc v13.1, and I didn't keep any log from v14.0. If I remember correctly, it contained the same as the console output. Working as root corrected the problem, maybe it was just due to permission issues ?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I also suspect the permissions issue. I just wanted to know which underlying tool tripped on the issue.

    Did you install the AOCL tool as root or as a regular user?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Probably as root ; unfortunately I can't remember. Using the tools only as root is good enough for me, though :).

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

    --- Quote Start ---

    Hello,

    Since I updated the tools to 14.0, I cannot compile OpenCL kernels that compiled fine with the 13.1 release.

    I get the following output :

    aoc -v --report kernel.cl
    aoc: Environment checks are completed successfully.
    You are now compiling the full flow!!
    aoc: Selected target board c5soc
    aoc: Running OpenCL parser....
    aoc: OpenCL parser completed successfully.
    aoc: Compiling....
    aoc: Linking with IP library ...
    +--------------------------------------------------------------------+
    ; Estimated Resource Usage Summary                                   ;
    +----------------------------------------+---------------------------+
    ; Resource                               + Usage                     ;
    +----------------------------------------+---------------------------+
    ; Logic utilization                      ;   30%                     ;
    ; Dedicated logic registers              ;   13%                     ;
    ; Memory blocks                          ;   29%                     ;
    ; DSP blocks                             ;   20%                     ;
    +----------------------------------------+---------------------------;
    aoc: First stage compilation completed successfully.
    aoc: Setting up project for QXP preservation flow....
    

    And that's it. The program stays in this state for ever (or at least, for 60+ hours which is abnormal for a kernel that compiled under 1 hour in 13.1).

    The first phase (kernel analysis and .aoco generataion) works fine, but the compilation to .aocx fails to complete and the quartus_sh_compile.log is empty...

    What am I missing ? Did anyone else face a similar issue with the new release ?

    Thanks for your help

    --- Quote End ---

    I have same problem. I am working as Root user but I am still not able to compile it.

    Funny thing is yesterday I compile Hello_world example and today I tried again to do same and Its not working today.

    Could anyone help me for it?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello,

    I'm having the same problem. I could successfully compile my kernel using the 14.0 release. However, compilation fails when using the same kernel and the 16.0 release (the program seems to loop and quartus_sh_compile.log is empty). I've also tried the 15.1 release and working as root, but the problem still persists. Does anyone know how to solve this issue? Thanks in advance.