I'm trying to install aocl compiler for HARP environment (Arria10), I followed the instructions and whenever I try to compile a project it happens the following error:
aoc: This release of Altera SDK for OpenCL on A10 requires Quartus Prime Pro Edition. However, the following version was found:
Quartus Prime Shell
Version 16.0.0 Build 211 04/27/2016 SJ Standard Edition
Copyright (C) 1991-2016 Altera Corporation. All rights reserved.
I have used setup_pro.sh to install it and I'm using bdw BSP from Intel. There's one more problem, the pop-up says that the installation is completed but it freezes and never exits I have to do it manually through xkill.
I'd really appreciate some help :)
From the message, I saw that the you have install Standard version instead Pro version.
I have check back to the link: http://fpgasoftware.intel.com/opencl/16.0/?edition=standard&download_manager=direct does not show whether the opencl is pro edition or standard edition.
According to https://www.intel.com/content/www/us/en/programmable/downloads/download-center.html, the Arria10 device have supported in latest version Quartus Prime Pro v19.3 and Quartus Prime Standard v19.1.
I would like to recommend you to download the version mentioned above and then you can go to the link: http://fpgasoftware.intel.com/opencl/19.1/?edition=standard to download OpenCL SDK based on the bsp version you have download.
Thank you very much for answering me Mylee, but I do need 16.0.x version. I can't use a newer version than that. This version has a pro edition, but It's in inside the folder. I don't know why the OpenCL tool is not calling the right version. Do you know how to solve it?
I am sorry for misunderstanding to the problem occurred.
The problem might be due to the environment variable for Quartus is not set correctly.
You can refer to Chapter 2.5 (Windows) or Chapter 3.5 (Linux) to set and point to the Quartus Pro version with command"QUARTUS_ROOTDIR_OVERRIDE" as link below:
I have set this variable, but the aoc compiler always open the standard version. If I try to open manually, it opens the pro version. I have tried to change the script to open the pro version, but it didn't work either. Is there any way to change that?
May I know which Os you are using?
According to https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/opencl-sdk/archives/ug-a... in page 3-6 which stated: "Set the QUARTUS_ROOTDIR_OVERRIDE user environment variable to point to the correct Quartus Prime software installation directory. Open a shell and then type echo $QUARTUS_ROOTDIR_OVERRIDE at the command prompt. If you have an Arria 10 device, set QUARTUS_ROOTDIR_OVERRIDE to point to the installation directory of the Quartus Prime Pro Edition software. Otherwise, set QUARTUS_ROOTDIR_OVERRIDE to point to the installation directory of the Quartus Prime Standard Edition software."
Can you try to type the command: echo $QUARTUS_ROOTDIR_OVERRIDE and put the results here? Also, I would like to know the environment variable setup, can you put the output here?
Lastly, may I know do you have install the linux OS kernel source and headers as stated in page 3-2?