I like to prevent Spectre for ckecking license during very long Simulation.
One way I think after reading the doc is:-
envSetVal("spectre.envOpts" "licQueueSleep" 'string "x")
To make 'x' very large.
Is it correct ?
What are the need of the remaining. It looks to me little bit confusing.
envSetVal("spectre.envOpts" "licQueueTimeOut" 'string "0")envSetVal("spectre.envOpts" "lsuspend" 'boolean t )
Those options are used to control license queuing before the simulation starts - ie if there is no license available, it can wait until enough a free before starting, rather than aborting immediately.
Why would you want to prevent license checks during a simulation?
In reply to Andrew Beckett:
And the lsuspend option allows spectre to return its license if it is sent a SIGTSTP signal (which suspends the process). The license would then be reclaimed if it was resumed with a SIGCONT signal. The idea is that if you have a long running simulation but want to allow a more urgent short simulation to run, you could pause the long seem, free the license, run the short urgent sim, and then resume the original job.
This is needed because if the local machine is NOT able to connect to the server due to intermitent network failure and even power failure in the server side.
To make 'x' very large.
will do the job ? i.e. prevent checking the license during simulation.
In reply to RFStuff :
As I said, those options are for license queuing before the simulation starts.
We do not provide options to control license rechecking during simulation, because this is how we protect our IP from abuse. There is already a mechanism which provides grace periods to allow for intermittent network or brief power outages of the license server (or even the license server being shut down and restarted to update the licenses), but if the outage is too long, the simulation will stop.
There is already a mechanism which provides grace periods to allow for
intermittent network or brief power outages of the license server (or
even the license server being shut down and restarted to update the
licenses), but if the outage is too long, the simulation will stop.
Whether for that I have to do any settings ? What is the grace time
Did you read my previous reply? There are no controls for this. We do not advertise the grace period for the same reasons that I described earlier - anyway, it may vary from tool to tool.