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

Compilation script that can wait for getting license

Altera_Forum
Honored Contributor II
3,273 Views

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,
0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
754 Views

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.

0 Kudos
Altera_Forum
Honored Contributor II
754 Views

Hello Daixiwen, 

 

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

 

Thanks!
0 Kudos
Altera_Forum
Honored Contributor II
754 Views

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.

0 Kudos
Altera_Forum
Honored Contributor II
754 Views

Hi Rysc, 

 

I appreciate the information. 

 

Regards,
0 Kudos
Altera_Forum
Honored Contributor II
754 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
754 Views

Hello thepancake, 

 

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

 

Regards,
0 Kudos
Reply