Forum Discussion

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

Compilation script that can wait for getting license

Hi,

I wonder if someone have a script to execute the Quartus II compilation that can wait for getting license.

<Back ground>

Designers working for different projects start compilation jobs when they leave the office, so sometimes the number of jobs exceeds available licenses. When they check the results, most of jobs end abnormally because of failing to getting license.

Regards,

6 Replies

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

    If you have a recent version of Quartus, you can enable an option in the license setup preferences to have it wait for an available license before starting.

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

    Hello Daixiwen,

    I appreciate your quick answer. I didn't know that. It helps a lot.

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

    Note that I think this option does not work in 10.0, but should be fixed in 10.1. It's in Quartus's Tools -> License Setup -> Wait for Floating License.

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

    since the feature is broken, you could try a simple lock file scheme where the script would check for an existing lock file on a shared drive. if the file didn't exist, then create one and run the compilation, removing the lock file upon completion. if the lock file did exist, check periodically for the lock file to be deleted

    i might take a stab at it if i find some time
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello thepancake,

    It is an interesting idea. I will ask an engineer if he can do.

    Regards,