Home | Trees | Indices | Help |
---|
|
object --+ | Job
A class for working with an Xgrid job.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Job |
|
||
Job |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
An Xgrid job class. This class allows a user to work with an Xgrid job. It provides capabilities for starting jobs, managing them and retrieving their results. Job instances are created in two ways:
>>> j = Job(u'200') # Create a new job with id of 200
|
Return the Xgrid job specification. The Xgrid job specification is the dictionary that Xgrid uses to submit the job. It contains keys that describe the command arguments, directories, etc. |
Return the current status information about a job. The job info is a dictionary of keys describing the current state of the job. This includes start/stop dates, name, etc. The method printInfo() prints the info() dictionary in a nice form.
|
Retrieve the results of an Xgrid job. This method provides both a blocking and nonblocking method of getting the results of an Xgrid job. The job does not need to be completed to retrieve the results. Because of this, the results method can be used to get partial results while the job continues to run. It can also automatically name output files.
|
Submits a single task job to the specified grid. This is a nonblocking job submission method for a single job with no sub-tasks. For more complicated jobs with sub-tasks, use the batch() method. Job results can be obtained by calling the results() method.
|
Submits a batch job to the specified grid. This is a nonblocking job submission method used for submitting complex multi-task jobs. For single task jobs, use submit(). To retrieve job results, use the results() method.
|
Performs an action on a job.
|
repr(x)
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue May 4 09:27:11 2010 | http://epydoc.sourceforge.net |