Intel Software: Intel FPGA SDK for OpenCL, Quartus Prime Pro

Type: Answers

Area: OpenCL


Last Modified: May 24, 2019
Version Found: v19.1
Bug ID: 1409406558

Error (18212): Cannot load final snapshot for partition "root_partition”

Description

Due to problem in Intel® FPGA SDK for OpenCL™ version 19.1, you may see an OpenCL™ kernel compile crash after installing the Intel® Quartus® Prime Software 19.1 0.03 patch. The Intel® FPGA SDK for OpenCL™ uses BAK-cache (a local copy in a temporary folder of the local machine) to speed up subsequent kernel compiles.

The error messages is shown below. It should be visible on the standard output and printed in quartus_sh_compile.log. 

 

Error (18212): Cannot load final snapshot for partition "root_partition" - the partition is not in a version compatible format.

Error: Quartus Prime MIF/HEX Update was unsuccessful. 1 error, 0 warnings

Error (23035): Tcl error:

Error (23031): Evaluation of Tcl script scripts/post_flow_pr.tcl unsuccessful

Workaround/Fix

There are 2 ways to work around this problem

Approach 1 (Recommended)

  • Delete your local BAK cache. The problem will be solved for next and all compiles onwards.
  • For Windows remove$ENV{'USERPROFILE'}\\AppData\\Local\\aocl 
  • For Linux remove /var/tmp/aocl/$ENV{USERNAME}

Approach 2

  • Run “aoc” argument with this option “-no-read-bsp-bak-cache”. Note this will slow down compile by an hour
  • aoc -no-read-bsp-bak-cache <kernel>


This problem is scheduled to be fixed in a future Intel® Quartus® Prime software release.