Package src :: Module pyflow :: Class SGETaskRunner
[hide private]
[frames] | no frames]

Class SGETaskRunner

source code


Instance Methods [hide private]
 
getFullCmd(self) source code
 
setInitialRunstate(self) source code
 
setNewJobId(self, *args, **kw)
if stopped here, this is the case where a ctrl-c was entered while the qsub command was being submitted, so we must kill the job here:
source code
 
runOnce(self, retInfo) source code
 
_killJob(self, *args, **kw)
(possibly) asynchronous job kill
source code
 
stop(self, *args, **kw)
overload thead stop function to provide a qdel any running tasks.
source code

Inherited from CommandTaskRunner: __init__, getExitMsg, getWrapFileResult, getWrapperErrorMsg, initFileSystemItems

Inherited from CommandTaskRunner (private): _run

Inherited from BaseTaskRunner: errorLog, flowLog, infoLog, run, setRunstate, warningLog

Inherited from StoppableThread: stopped

Inherited from threading.Thread: __repr__, getName, isAlive, isDaemon, is_alive, join, setDaemon, setName, start

Inherited from threading.Thread (private): _reset_internal_locks, _set_daemon, _set_ident

Inherited from threading._Verbose (private): _note

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]

Inherited from StoppableThread: stopAll

Class Variables [hide private]

Inherited from CommandTaskRunner: taskWrapper

Inherited from StoppableThread (private): _stopAll

Properties [hide private]

Inherited from threading.Thread: daemon, ident, name

Inherited from threading.Thread (private): _block

Inherited from object: __class__

Method Details [hide private]

setInitialRunstate(self)

source code 
Overrides: BaseTaskRunner.setInitialRunstate

setNewJobId(self, *args, **kw)

source code 

if stopped here, this is the case where a ctrl-c was entered while the qsub command was being submitted, so we must kill the job here:

Decorators:
  • @lockMethod

_killJob(self, *args, **kw)

source code 

(possibly) asynchronous job kill

Decorators:
  • @lockMethod

stop(self, *args, **kw)

source code 

overload thead stop function to provide a qdel any running tasks.

Decorators:
  • @lockMethod
Overrides: StoppableThread.stop