| Home | Trees | Index | Help |
|---|
| Module xg :: Class Controller |
|
GridManager--+ |JobManager--+ | Controller
| Method Summary | |
|---|---|
This class provides an interface to an Xgrid controller. | |
| Job |
Submits a batch job to the specified grid. |
| Job |
Submits a single task job to the specified 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. | |
| Inherited from GridManager | |
Returns the Grid object with grid identifier gridID. | |
Returns a tuple of grid identifiers for all avialable grids. | |
Returns a list of initialized Grid objects. | |
| Method Details |
|---|
__init__(self,
connection=None,
update=0)
|
batch(self, specification, gridID=u'0', silent=False)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 of the Job object.
|
submit(self, cmd, args='', stdin='', indir='', email='', gridID=u'0')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 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 |