Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

Command-line check for available licenses

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

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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

    ~/.altera.quartus/quartus2.ini

    though i doubt you need to tinker with it
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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