| Home | Trees | Index | Help |
|---|
| Module xg :: Class Grid |
|
JobManager --+
|
Grid
| Method Summary | |
|---|---|
This class provides an interface to an Xgrid grid. | |
__repr__(self)
| |
| Job |
Submits a batch job to the current grid. |
info(self,
update)
| |
| Job |
Submits a single task job to the current grid. |
| Inherited from JobManager | |
Deletes all active jobs. | |
Returns the Job object with job identifier id. | |
| tuple |
Returns a tuple of job identifiers for all active jobs. |
| list |
Returns a list of initialized Job objects for all active jobs. |
Performs an action on a subset of active jobs. | |
Prints information about all active Xgrid jobs. | |
Restarts all active jobs. | |
Resumes all active jobs. | |
Stops all active jobs. | |
Suspends all active jobs. | |
| Method Details |
|---|
__init__(self,
gridID=u'0',
connection=None,
update=0)
|
batch(self, specification)Submits a batch job to the current 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 of the Job class.
|
submit(self, cmd, args='', stdin='', indir='', email='')Submits a single task job to the current 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 and the JobSpecification class. Job results can be obtained by calling the results() method of the Job object.
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Thu Dec 22 15:15:21 2005 | http://epydoc.sf.net |