Home | Trees | Indices | Help |
---|
|
object --+ | GPIProxyObject --+ | Lib.Splitters.GenericSplitter'.GenericSplitter._proxyClass
Split job by changing arbitrary job attribute. This splitter allows the creation of a series of subjobs where the only difference between different jobs can be defined by giving the "attribute" and "values" of the splitter object. For example, to split a job according to the given application arguments: s = GenericSplitter() s.attribute = 'application.args' s.values = [["hello","1"],["hello","2"]] ... ... j = Job(splitter=s) j.submit() To split a job into two LCG jobs running on two different CEs: s = GenericSplitter() s.attribute = 'backend.CE' s.value = ["quanta.grid.sinica.edu.tw:2119/jobmanager-lcgpbs-atlas","lcg00125.grid.sinica.edu.tw:2119/jobmanager-lcgpbs-atlas"] ... ... j = Job(backend=LCG(),splitter=s) j.submit() Known issues of this generic splitter: - it will not work if specifying different backends for the subjobs Properties: attribute The attribute on which the job is splitted. (simple property, default='',comparable) values A list of the values corresponding to the attribute of the subjobs. (simple property, list, default=[],comparable)
|
|||
_impl This is a Ganga.GPI.GenericSplitter implementation class. |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
attribute = <Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor objec
|
|||
values = <Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object a
|
|
|||
Inherited from |
|
GPI GenericSplitter object constructor: GenericSplitter() : create genericsplitter with default settings; GenericSplitter(g) : make a copy of g; GenericSplitter(g,x=a,...): make a copy of g and set property 'x' to a, etc..
|
Return an short representation of GenericSplitter object.
|
Set a property of GenericSplitter with consistency and safety checks. Setting a [protected] or a unexisting property raises AttributeError.
|
Return a printable string representing GenericSplitter object as a tree of properties.
|
|
attribute
|
values
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Jun 25 10:35:22 2012 | http://epydoc.sourceforge.net |