This class represents a job or cluster on an egee grid.
|
|
|
|
|
|
|
|
BundleFiles(self,
job,
tarballname='inputfiles.tar')
Bundle multiple files as a single tarball so as not to exceed limit
of input files |
source code
|
|
|
|
|
|
|
|
|
|
get_id(self,
submit_status)
Parse string returned by on submission to extract the id of the job
cluster |
source code
|
|
|
|
|
|
|
CleanQ(self,
jobs=None)
Check consistency of queue and remove jobs which shouldn't be there |
source code
|
|
|
|
|
|
|
|
|
|
PostCopy(self,
jobdict,
target_url,
maxtries=4)
Interface: Remove active job/cluster from queuing system. |
source code
|
|
|
|
|
|
|
QPurge(self,
job=None)
purge job from from queue |
source code
|
|
|
Inherited from grid.iGrid:
AddArgOption,
AddEnv,
AddParam,
CleanDir,
FileName,
GetActiveJobs,
GetArgOpt,
GetArgOptions,
GetClusterId,
GetEnv,
GetFinishedJobs,
GetHost,
GetInitialdir,
GetJob,
GetJobIds,
GetJobList,
GetLogs,
GetMetadataPath,
GetMonitorDB,
GetParam,
GetParamKeys,
GetPort,
GetProcessingJobs,
GetProduction,
GetQueue,
GetQueuedJobs,
GetResetJobs,
GetRootDir,
GetSimDBKey,
GetSteering,
GetSubmitHost,
GetURL,
IsUrl,
PopJob,
PushJob,
QueueJobs,
SelfPickle,
SetCopyClass,
SetHost,
SetInitialdir,
SetMetadataPath,
SetMonitorDB,
SetPort,
SetProduction,
SetQueue,
SetRootDir,
SetSimDBKey,
SetStatus,
SetSteering,
SetSubmitHost,
SetURL,
Suffix,
UpdateMetadata,
format_arg,
jobfinalize,
reset_old_jobs,
urlcopy,
wait
|
|
|
queued_state = ['READY', 'SCHEDULED', 'WAITING', 'SUBMITTED', ...
|
|
|
running_state = ['RUNNING', 'EXECUTED', 'FINISHING']
|
|
|
error_state = ['FAILED', 'DONE(EXITCODE!=0)', 'ABORTED']
|
|
|
finished_state = ['DONE(SUCCESS)', 'CLEARED', 'CANCELLED']
|
|
|
undetermined_states = ['UNAVAILABLE']
|
|
Inherited from grid.iGrid:
CopyStatusEnum
|