ParametricJob

Utilities to process parametric job definitions and generate bunches of parametric jobs. It exposes the following functions:

getParameterVectorLength() - to get the total size of the bunch of parametric jobs generateParametricJobs() - to get a list of expanded descriptions of all the jobs

DIRAC.WorkloadManagementSystem.Utilities.ParametricJob.generateParametricJobs(jobClassAd)
Generate a series of ClassAd job descriptions expanding
job parameters
Parameters:jobClassAd – ClassAd job description object
Returns:list of ClassAd job description objects
DIRAC.WorkloadManagementSystem.Utilities.ParametricJob.getParameterVectorLength(jobClassAd)

Get the length of parameter vector in the parametric job description

Parameters:jobClassAd – ClassAd job description object
Returns:result structure with the Value: int number of parameter values, None if not a parametric job