maeGetJobPolicy
maeGetJobPolicy( [?sessiont_sessionName] [?testNamet_testName] [?jobTypet_jobType] ) =>l_jobPolicyProperties/ nil
Description
Returns the details of the job policy attached to the given test. If no test name is given, the function returns the policy attached to the current setup.
Arguments
|
If not specified, the job policy attached to the currently active setup is returned. |
||
Value Returned
|
A disembodied property list (DPL) of job policy properties is returned. |
||
|
A disembodied property list (DPL) of job policy properties is not returned. |
||
Examples
Returns the default global job policy for the default job control mode, ICRP:
sess= maeOpenSetup("solutions" "ampTest" "maestro")
=> "session0"
maeGetJobPolicy()
=>'( nil configuretimeout "300" distributionmethod "Local" maxjobs "1" runtimeout "3600" starttimeout "300" )
Returns the job policies set for the simulation and netlistng jobs run for the LSCS job control mode, and make the required modification:
sess= maeOpenSetup("solutions" "ampTest" "maestro")
=> "session0"
maeGetJobControlMode()
=> "ICRP"
maeSetJobControlMode("LSCS") => t ; sets the job control mode ;the following function returns the policy for simulation jobs jpnc = maeGetJobPolicy(?jobType "netlisting") => (nil autoresume "0" blockemail "1" configuretimeout "300" defaultcpuvalue "1" defaultmemoryvalue "1000" distributionmethod "Local" estimatememoryvalue "" estimationsimulationmode "0" lingertimeout "300" maxjobs "4" name "Job Policy LPF" preemptivestart "1" providecpuandmemorydata "1" reconfigureimmediately "0" runpointsvalue "5" runtimeout "-1" scaleestimatedbycpu "100" scaleestimatedbymemory "100" showerrorwhenretrying "1" showoutputlogerror "0" startmaxjobsimmed "1" starttimeout "300" suspenddisklow "0" thresholdvalue "100" usesameprocess "1" warndisklow "0" warnthresholdvalue "100" )
;the following function returns the policy for simulation jobs jp = maeGetJobPolicy(?jobType "simulation") => (nil autoresume "0" blockemail "1" configuretimeout "300" defaultcpuvalue "1" defaultmemoryvalue "1000" distributionmethod "Local" estimatememoryvalue "" estimationsimulationmode "0" lingertimeout "300" maxjobs "2" name "Maestro Default" preemptivestart "1" providecpuandmemorydata "1" reconfigureimmediately "0" runpointsvalue "5" runtimeout "-1" scaleestimatedbycpu "100" scaleestimatedbymemory "100" showerrorwhenretrying "1" showoutputlogerror "0" startmaxjobsimmed "1" starttimeout "300" suspenddisklow "0" thresholdvalue "100" usesameprocess "1" warndisklow "0" warnthresholdvalue "100" ) ;change Max Jobs for simulation jobs jp->maxjobs=10 =>10
maeSetJobPolicy(jp ?jobType "simulation")
=> t
jp = maeGetJobPolicy(?jobType "simulation")
=> (nil autoresume "0" blockemail "1" configuretimeout "300" defaultcpuvalue "1" defaultmemoryvalue "1000" distributionmethod "Local" estimatememoryvalue "" estimationsimulationmode "0" lingertimeout "300" maxjobs "10" name "Maestro Default" preemptivestart "1" providecpuandmemorydata "1" reconfigureimmediately "0" runpointsvalue "5" runtimeout "-1" scaleestimatedbycpu "100" scaleestimatedbymemory "100" showerrorwhenretrying "1" showoutputlogerror "0" startmaxjobsimmed "1" starttimeout "300" suspenddisklow "0" thresholdvalue "100" usesameprocess "1" warndisklow "0" warnthresholdvalue "100" )
Returns the job policy for a particular test in the setup:
maeGetJobPolicy(?testName "test1")
=>'( nil configuretimeout "100" distributionmethod "Local" maxjobs "1" runtimeout "3600" starttimeout "300" )
Return to top