Critical Issue
Due to a 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 are 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
There are two ways to work around this problem
Approach 1 (Recommended)
- Delete your local BAK cache. The problem will be solved for the 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 fixed starting with the Intel® Quartus® Prime Pro Edition Software version 19.3.