Forum Discussion

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

OpenCL compile error for high resource utilization

Hello,

I encounter compile error (Error (23031): Evaluation of Tcl script import_compile.tcl unsuccessful) when my resource utilization is huge. My estimated resource usage is :

+--------------------------------------------------------------------+

; Estimated Resource Usage Summary ;

+----------------------------------------+---------------------------+

; Resource + Usage ;

+----------------------------------------+---------------------------+

; Logic utilization ; 65% ;

; ALUTs ; 39% ;

; Dedicated logic registers ; 29% ;

; Memory blocks ; 59% ;

; DSP blocks ; 79% ;

+----------------------------------------+---------------------------;

I have attached the compile log. I have seen previous threads in the forum and this error might be because of less RAM. I have allocated 20GB of RAM and 60GB of swap for this compilation. Do you think my error is still because of less RAM?

My log file ends with the following error

Error: Quartus Prime Compiler Database Interface was unsuccessful. 1 error, 0 warnings

Error: Peak virtual memory: 693 megabytes

Error: Processing ended: Mon Jun 4 20:49:47 2018

Error: Elapsed time: 13:00:32

Error: Total CPU time (on all processors): 01:54:02

4 Replies

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

    Well, the error message is far from informative and the process is failing pretty early in the chain before even reaching placement and routing. 20 GB of memory is certainly not enough for large Arria 10 designs; however, this might not necessarily be the source of your problem right now. Can you clarify what board and what BSP you are using?

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

    I am using Arria 10 GX FPGA dev board.

    I am using BSP which is a10gx (Arria 10 ref BSP from altera) BSP which is obtained by installing quartus pro.

    My AOC version is 17.1.2 Build 304

    Quartus version 17.1.2 Build 304

    Compilation crashes only in high resource utilization designs.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Compilation crashes only in high resource utilization designs.

    --- Quote End ---

    Then I am afraid the source of your problem is likely the size of the memory on your compilation machine.