Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16596 Discussions

aoc reports Can't find a valid license for the Altera SDK for OpenCL

Altera_Forum
Honored Contributor II
1,445 Views

Hi,  

 

I am starting to compile OpenCL codes under Quartus 13.1. 

 

I am using the folowing command to compile the openCL demo code 

 

aoc device/hello_world.cl -o bin/hello_world.aocx -v --board pcie385n_d5 

 

(we have the Nallatech 385 card). 

 

and I'm am getting the following error message. 

 

Error: aoc: Can't find a valid license for the Altera SDK for OpenCL 

 

Our system is a linux64/CentOS, with a networked license for Quarus 13.1. 

LM_LICENSE_FILE is set to point to the license server port_ID@<IP> 

Quartus runs fine, it sees the licenses under the tools -> license setup tab 

displays licensed IPs. Quartus installation was a complete installaion, so  

I assum it includes the OpenCL functionalities. 

 

My questions are: 

1) In Quartus-II --> tools -> license_setup are we expecting to see OpenCL lincensing status?. 

(I don't see OpenCL listed there) 

2) aoc uses LM_LICENSE_FILE or something else to know the license place?. 

 

3) Am I missing some setup?  

 

I will appreciate receiving your suggestions to further in compiling the OpenCL codes 

using Quartus 13.1. 

 

We have to stay with Quartus 13.1, because of the the BSP. 

 

-Prabu
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
410 Views

You mentioned you have a quartus license. Does that file that support OpenCL? I wasn't able to find any useful openCL info when looking in quartus setup. I would open up the license file and see if you have OpenCL as a feature.  

 

I don't have any experience with a network license but usually when I get that error and I am certain my environment is set properly, I accidently ran on a machine that doesn't match the MAC for the altera license. (I ssh into multiple machines and simply run the command in the wrong window.) I would make sure that your mac matches the one in the license file.  

 

Also, what build of Quartus 13.1 are you using? I ask because I am using Nallatech 395 and I had problems compiling on 13.1 after build 162. (I think it was patch 2???) I spoke with Nallatech and they informed me that 162 was the latest build they supported. I don't know if that has since been addressed. I have moved on to 14 where I can compile again.  

 

Hope this helps. 

Rudy
0 Kudos
Altera_Forum
Honored Contributor II
410 Views

I do not understand your comment regarding to Licence. 

I have Licence for quartus II and its working. but for OpenCL I am getting same erro like above:"Not valid Licence file", I also cross check Environment variable.  

Could you let me know how to solve this error?
0 Kudos
Reply