This class provides a serializable job definiton and consists of a
task specification along with runtime parameters.
|
__init__(self,
task_spec,
runtime_params)
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
|
|
|
_validate(self)
Validate that all the necessary inputs are present in the runtime
parameters. |
|
|
|
_validateOutputFilenames(self)
Check for runtime name collisions. |
|
|
|
_getKeyValue(self,
match)
Return the value of the key in the provided match object. |
|
|
|
_subInputOrJobname(self,
string)
Replace template keys with the appropriate values. |
|
|
|
getCommand(self)
Return the shell command that will run the job. |
|
|
|
getOutputFile(self,
key,
stream=None)
Get the output file corresponding to the given key from the job
specification. |
|
|
|
getOutputFiles(self,
stream=None)
Get all the output files from the job specification. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getLicenses(self)
Returns licenses as a list of tuples of ( license_name, num_tokens) |
|
|
|
getDetach(self)
Return the detach job setting which indicate if job can disconnect
from the local network and obtain results at a future date. |
|
|
|
getThreadsPerProcess(self)
Return the compute setting for thread per process(TPP). |
|
|
|
getNumberOfSlots(self)
Return the compute setting for total number of threads(aka slots)
(nproc). |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|