This class represents a generic job a distributed system.
|
|
|
|
|
|
|
GetHost(self)
Get the host where this job is currently running |
source code
|
|
|
|
|
|
|
SetHost(self,
host)
Set the host where this job is currently running |
source code
|
|
|
|
|
|
|
|
|
|
|
SetDatabaseId(self,
db_id)
Set the database job id for the submitted job. |
source code
|
|
|
|
|
|
|
|
|
|
|
GetConfigFile(self)
Get the XML config file |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SetPostCheckScript(self,
script)
Define the executable file that will be run after job complets to
check if job completed successfully |
source code
|
|
|
|
|
|
|
|
|
|
|
AddEnv(self,
var,
val)
Add an environment variable. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AddInputFile(self,
filename)
Add an input file that Condor is to transfer to a remote site to set
up the execution environment for the job before it is run. |
source code
|
|
|
AddOutputFile(self,
filename)
Add an output file that the cluster is to transfer from a remote site
on completion of run. |
source code
|
|
|
GetInputFiles(self)
Returns:
the list of input files that Condor is to transfer to a remote site
to set up the execution environment for the job before it is run. |
source code
|
|
|
GetOutputFiles(self)
Returns:
the list of output files that the cluster is to transfer from a
remote site after execution. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
GetLogFile(self)
Returns:
path to logfile where condor will write the state of a given job in
the cluster |
source code
|
|
|
GetOutputFile(self)
Returns:
path to file where condor will write the output generated through
stdout by the job |
source code
|
|
|
GetErrorFile(self)
Returns:
path to file where condor will write the output generated through
stderr by the job |
source code
|
|
|
SetSimDBKey(self,
key)
Set the unique key for current configuration on production database |
source code
|
|
|
GetSimDBKey(self)
Get the unique key for current configuration from production database |
source code
|
|
|
SetSubmitHost(self,
host)
Set the hostname of the submit node |
source code
|
|
|
GetSubmitHost(self)
Get the hostname of the submit node |
source code
|
|
|
SetStatus(self,
status)
(1=enqueued,2=runnig,3=completed,4=failed) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Pickle(self,
filename=None)
Serialize iGrid object and write it to a file |
source code
|
|
|
unPickle(self,
filename)
unSerialize iGrid object and write it to a file |
source code
|
|
|
Write(self,
file,
txt,
parse=True)
Format and write string to file |
source code
|
|
|
|
|
|
|
|
|
|