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

Command-line check for available licenses

Altera_Forum
Honored Contributor II
2,848 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
1,484 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
1,484 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
1,484 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