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

OpenCL License Issues

Altera_Forum
Honored Contributor II
1,569 Views

It would seem I may be having issues with my OpenCL License. 

 

All of the features in the license file show up as valid in Quartus EXCEPT openCL, but  

lmutil reports the OpenCL license as valid on the current machine "TS_OK". 

 

However when I run "aoc myKernel.cl" I get the error: 

 

"Could not acquire OpenCL SDK license" 

 

 

Any suggestions? 

Should the OpenCL Feature get reported in the Quartus "License Setup" Dialog?
0 Kudos
7 Replies
Altera_Forum
Honored Contributor II
351 Views

Have you set the LM_LICENSE_FILE environment variable as directed in the documentation?

0 Kudos
Altera_Forum
Honored Contributor II
351 Views

Yes, it is set to the correct license file.  

 

Quartus is set to use the variable and sees all of the other features.
0 Kudos
Altera_Forum
Honored Contributor II
351 Views

Which OS? Floating or node locked?

0 Kudos
Altera_Forum
Honored Contributor II
351 Views

64 Bit RHEL 5.8, node locked (though I did try and get lmgrd to pick up the license to see if that helped, it did not). 

 

Does the OpenCL feature show up in your quartus license dialog?
0 Kudos
Altera_Forum
Honored Contributor II
351 Views

Do you have multiple ethernet interfaces? Which interface is the license bound to? Quartus has no knowledge of OpenCL or its licensing system. The only way OpenCL licenses are set up is using the FlexLM system and making sure the LM_LICENSE_FILE variable is set. This should be described in the documentation: 

 

http://www.altera.com/literature/lit-opencl-sdk.jsp
0 Kudos
Altera_Forum
Honored Contributor II
351 Views

I have multiple interfaces. It is bound to the second eth1 (second ethernet port).

0 Kudos
Altera_Forum
Honored Contributor II
351 Views

You have to use the primary Ethernet interface (eth0) on Linux due to how the licensing system works. This is a known issue and hopefully there will be a solution at some point.

0 Kudos
Reply