Product Documentation
Virtuoso ADE SKILL Reference
Product Version IC23.1, November 2023

maeGetJobPolicy

maeGetJobPolicy(
[ ?session t_sessionName ]
[ ?testName t_testName ]
[ ?jobType t_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

?session t_sessionName

Name of an ADE Assembler session.

If not specified, the currently active session is used.

?testName t_testName

Name of the test.

If not specified, the job policy attached to the currently active setup is returned.

?jobType t_jobType

Job type for which you want to get policy details.

  • "simulation": Jobs that run simulations
  • "netlisting": Jobs that create netlists

Value Returned

l_jobPolicyProperties

A disembodied property list (DPL) of job policy properties is returned.

nil

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
 ⠀
X