Available instance attributes include the following arguments provided
to the constructor: client, test, jobname, command, schrodinger, run_env,
run_only.
|
|
__init__(self,
test,
run_env,
jobname,
command,
exec_dir=None,
add_results=False,
log_file=None,
buildtype=None,
build_id=None,
**kwargs)
Job constructor. |
|
|
|
|
|
|
|
|
|
|
|
|
|
execFilepath(self,
filename)
Gets the absolute filepath of a result using the directory path of
the exec_dir. |
|
|
|
|
getResults(self)
This is an abstract method and must be defined in the subclass. |
|
|
|
|
upload(self)
Method to upload the results to the client. |
|
|
|
|
|
|
|
run(self,
*argv,
**kwargs)
Run the job. |
|
|
|
|
postCommand(self,
*args,
**kwargs)
A method to restore things to the pre-command state. |
|
|
|
|
setup(self)
Download files for the job. |
|
|
|
|
getJobParams(self)
Gets a dict of important jobcontrol parameters. |
|
|
|
|
finalize(self)
Clean up after a job successfully runs. |
|
|
|
|
getFiles(self,
test_set)
Gets all the input files for this suite job |
|
|
|
|
kill(self)
Send kill request to jobcontrol managed job |
|
|
|
|
update(self)
Checks for changes in job status, and updates the object
appropriately (marks for restart, etc). |
|
|
|
Inherited from job.queue.JobControlJob:
__getstate__,
__setstate__,
cancelSubmitted,
doCommand,
getCommand,
getJob,
getStatusStrings,
maxFailuresReached,
retryFailure,
runsLocally,
usesJobServer
Inherited from job.queue.BaseJob:
__lt__,
addFinalizer,
addGroupPrereq,
addPrereq,
genAllJobs,
genAllPrereqs,
getCommandDir,
getJobDJ,
getPrereqs,
hasStarted,
isComplete,
preCommand
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__subclasshook__
|