Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

AOCL 14.0 compilation flow not working

Altera_Forum
Honored Contributor II
2,722 Views

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
0 Kudos
9 Replies
Altera_Forum
Honored Contributor II
1,229 Views

Maybe just cancel and restart it.

0 Kudos
Altera_Forum
Honored Contributor II
1,229 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
1,229 Views

I just tried running the command as root and it worked !

0 Kudos
Altera_Forum
Honored Contributor II
1,229 Views

Can you please attach <kernel>/<kernel>.log for the hung run?

0 Kudos
Altera_Forum
Honored Contributor II
1,229 Views

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 ?
0 Kudos
Altera_Forum
Honored Contributor II
1,229 Views

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?
0 Kudos
Altera_Forum
Honored Contributor II
1,229 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
1,229 Views

 

--- 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?
0 Kudos
Altera_Forum
Honored Contributor II
1,229 Views

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.
0 Kudos
Reply