This class represents a generic job a distributed system.
|
|
|
AddEnv(self,
var,
val)
Add an environment variable. |
source code
|
|
|
|
|
CheckJobStatus(self,
jobs)
Querie status of job on queue |
source code
|
|
|
CheckQ(self,
db=None)
Interface: Check status of job/cluster in queuing system. |
source code
|
|
|
Clean(self,
jobdict)
Interface: clean submit directory |
source code
|
|
|
CleanQ(self,
jobs=None)
Interface: Check status of job/cluster in queuing system. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
GetHost(self)
Get the hostname of the soaptray server that the job was submitted to |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GetParam(self,
name)
Returns:
the value bound to parameter given by name, None if parameter has not
been set. |
source code
|
|
|
|
|
GetPort(self)
Get the port number of the submit node |
source code
|
|
|
|
|
|
|
GetSimDBKey(self)
Get the unique key for current configuration from production database |
source code
|
|
|
|
|
GetSubmitHost(self)
Get the hostname of the submit node |
source code
|
|
|
GetURL(self)
Get the hostname of the submit node |
source code
|
|
|
PopJob(self)
remove and return new job from queue |
source code
|
|
|
PostCopy(self,
jobdict,
target_url,
maxtries=4)
Interface: Remove active job/cluster from queuing system. |
source code
|
|
|
|
|
QRemove(self,
jobid)
Interface: Remove active job/cluster from queuing system. |
source code
|
|
|
SelfPickle(self)
Serialize iGrid object and write it to a file |
source code
|
|
|
|
|
SetHost(self,
host)
Set the hostname of the soaptray server that the job was submitted to |
source code
|
|
|
|
|
|
|
|
|
SetPort(self,
port)
Set the port number of the submit node |
source code
|
|
|
|
|
|
|
SetSimDBKey(self,
key)
Set the unique key for current configuration on production database |
source code
|
|
|
SetStatus(self,
status)
(0=init submission,1=runnig,2=completed,3=failed) |
source code
|
|
|
|
|
SetSubmitHost(self,
host)
Set the hostname of the submit node |
source code
|
|
|
SetURL(self,
url)
Set the hostname of the submit node |
source code
|
|
|
|
|
|
|
UpdateMetadata(self)
Update metadata information |
source code
|
|
|
|
|
|
|
|
|
|