Package Ganga :: Package Lib :: Package Splitters :: Module ExeSplitter :: Class ExeSplitter
[hide private]
[frames] | no frames]

Class ExeSplitter

source code

                 object --+            
                          |            
   GPIDev.Base.Objects.Node --+        
                              |        
GPIDev.Base.Objects.GangaObject --+    
                                  |    
GPIDev.Adapters.ISplitter.ISplitter --+
                                      |
                                     ExeSplitter

This is a Ganga.GPI.ExeSplitter implementation class. Refer to Ganga.GPI.ExeSplitter.__doc__ for documentation.

Nested Classes [hide private]
  _proxyClass
Split executable applications (OBSOLETE).

Inherited from GPIDev.Base.Objects.GangaObject: __metaclass__

Instance Methods [hide private]
 
split(self, job)
Return a list of subjobs generated from a master job.
source code

Inherited from GPIDev.Adapters.ISplitter.ISplitter: createSubjob, validatedSplit

Inherited from GPIDev.Base.Objects.GangaObject: __construct__, __deepcopy__, __getstate__, __init__, __setstate__, _attribute_filter__set__, _auto__init__, accept, getJobObject

Inherited from GPIDev.Base.Objects.Node: __copy__, __eq__, __ne__, clone, copyFrom, printSummaryTree, printTree

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]
Class Variables [hide private]
  _name = 'ExeSplitter'
  _schema = Schema(Version(1, 0), {'apps': ComponentItem('applic...
  apps = <Ganga.GPIDev.Base.Objects.Descriptor object at 0x324fd50>

Inherited from GPIDev.Base.Objects.Node (private): _index_cache, _parent

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

split(self, job)

source code 

Return a list of subjobs generated from a master job. The original master job should not be modified. This method should be implemented in the derived classes.

Splitter changes certain parts of the subjobs i.e. mutates certain properties (otherwise all subjobs would be the same). Only these properties may be mutated which are declared 'splitable' in the schema. This restriction applies to application objects to avoid inconsistencies if application handler is not able to deal with modified arguments.

In the current implementation the type of the backend cannot be changed either.

Overrides: GPIDev.Adapters.ISplitter.ISplitter.split
(inherited documentation)

Class Variable Details [hide private]

_schema

Value:
Schema(Version(1, 0), {'apps': ComponentItem('applications', defvalue=\
 [], sequence= 1, doc= 'a list of Executable app objects')})