Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

Command-line check for available licenses

Altera_Forum
Honored Contributor II
3,727 Views

I want to block fitter until there is an available license, otherwise the fitter fails. 

 

How do I check for available floating licenses in general when I run Quartus tools in command line. 

 

There is a way to do it in GUI. In Tools->"License Setup Page" there is a "Wait for floating license" checkbox. However, this setting doesn't seem to be part of the project file.  

 

Thanks, 

Evgeni
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
2,363 Views

lmutil lmstat -a -c port@server will let you see what the license server is up to

0 Kudos
Altera_Forum
Honored Contributor II
2,363 Views

and that setting is not per project so its probably in: 

 

~/.altera.quartus/quartus2.ini 

 

though i doubt you need to tinker with it
0 Kudos
Altera_Forum
Honored Contributor II
2,363 Views

I certainly don't want to write a script to parse all the output of "lmutil lmstat -a -c port@server", and that's probably not what Quartus GUI is doing either. 

 

~/.altera.quartus/quartus2.ini contains "WAIT_FOR_LICENSE" setting. That's exactly what I needed to change (WAIT_FOR_LICENSE = on), and that seemed to solve the problem. 

 

Thanks for the answer, 

Evgeni
0 Kudos
Reply