This is a Ganga.GPI.Transform implementation class. Refer to
Ganga.GPI.Transform.__doc__ for documentation.
|
|
|
|
|
|
|
checkCompletedApp(self,
app)
Can be overriden to improve application completeness checking |
source code
|
|
|
checkTaskApplication(self,
app)
warns the user if the application is not compatible |
source code
|
|
|
createNewJob(self,
partition)
Returns a new job initialized with the transforms application,
backend and name |
source code
|
|
|
finalise(self)
Finalise the transform - no-op by default |
source code
|
|
|
fix(self)
This function fixes inconsistencies in application status |
source code
|
|
|
|
|
getJobs(self)
Get the job slice of all jobs for this transform |
source code
|
|
|
getJobsForPartitions(self,
partitions)
This is only an example, this class should be overridden by derived
classes |
source code
|
|
|
getNewAppID(self,
partition)
Returns a new application ID and associates this ID with the
partition given. |
source code
|
|
|
getNextPartitions(self,
n)
Returns the N next partitions to process |
source code
|
|
|
|
|
getPartitionFailures(self,
partition)
Return the number of failures for this partition |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
notifyNextTransform(self,
partition)
Notify any dependant transforms of the input update |
source code
|
|
|
|
|
pause(self)
Pause the task - the background thread will not submit new jobs from
this task |
source code
|
|
|
retryFailed(self)
Retry all failed partitions (forget about failed jobs) |
source code
|
|
|
run(self,
check=True)
Sets this transform to running status |
source code
|
|
|
setAppStatus(self,
app,
new_status)
Reports status changes in application jobs possible status values:
normal : (new, submitting,) submitted, running, completing,
completed failures : killed, failed transient: incomplete (->new),
unknown, removed |
source code
|
|
|
setFailed(self,
partition)
Tells Tasks that all Applications that have executed this partition
have actually failed. |
source code
|
|
|
|
|
setPartitionsLimit(self,
limitpartition)
Set all partitions from and including limitpartition to ignored |
source code
|
|
|
|
|
setRunlimit(self,
newRL)
Set the number of times a job should be resubmitted before the
transform is paused |
source code
|
|
|
startup(self)
This function is used to set the status after restarting Ganga |
source code
|
|
|
submitJobs(self,
n)
Create Ganga Jobs for the next N partitions that are ready and submit
them. |
source code
|
|
|
updateInputStatus(self,
ltf,
partition)
Is called my the last transform (ltf) if the partition 'partition'
changes status |
source code
|
|
|
|
|
updateStatus(self,
status)
Update the transform status |
source code
|
|
Inherited from Base.Objects.GangaObject :
__construct__ ,
__deepcopy__ ,
__getstate__ ,
__setstate__ ,
_attribute_filter__set__ ,
_auto__init__ ,
accept ,
getJobObject
Inherited from 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__
|
|
_app_partition = <Ganga.GPIDev.Base.Objects.Descriptor object ...
|
|
_app_status = <Ganga.GPIDev.Base.Objects.Descriptor object at ...
|
|
_category = ' transforms '
|
|
_exportmethods = [ ' run ' , ' pause ' , ' setPartitionStatus ' , ' setRu ...
|
|
_name = ' Transform '
|
|
_next_app_id = <Ganga.GPIDev.Base.Objects.Descriptor object at...
|
|
_partition_apps = None
hash(x)
|
|
_partition_status = <Ganga.GPIDev.Base.Objects.Descriptor obje...
|
|
_schema = <Ganga.GPIDev.Schema.Schema.Schema instance at 0x1cb...
|
|
application = <Ganga.GPIDev.Base.Objects.Descriptor object at ...
|
|
backend = <Ganga.GPIDev.Base.Objects.Descriptor object at 0x1c...
|
|
inputdata = <Ganga.GPIDev.Base.Objects.Descriptor object at 0x...
|
|
inputsandbox = <Ganga.GPIDev.Base.Objects.Descriptor object at...
|
|
name = <Ganga.GPIDev.Base.Objects.Descriptor object at 0x1cba1d0>
|
|
outputdata = <Ganga.GPIDev.Base.Objects.Descriptor object at 0...
|
|
outputsandbox = <Ganga.GPIDev.Base.Objects.Descriptor object a...
|
|
run_limit = <Ganga.GPIDev.Base.Objects.Descriptor object at 0x...
|
|
status = <Ganga.GPIDev.Base.Objects.Descriptor object at 0x1cb...
|
|