Package Ganga :: Package Lib :: Package Interactive :: Module Interactive' :: Class Interactive
[hide private]
[frames] | no frames]

Class Interactive

source code

                 object --+            
                          |            
   GPIDev.Base.Objects.Node --+        
                              |        
GPIDev.Base.Objects.GangaObject --+    
                                  |    
  GPIDev.Adapters.IBackend.IBackend --+
                                      |
                                     Interactive

This is a Ganga.GPI.Interactive implementation class. Refer to Ganga.GPI.Interactive.__doc__ for documentation.

Nested Classes [hide private]
  _proxyClass
Run jobs interactively on local host.

Inherited from GPIDev.Base.Objects.GangaObject: __metaclass__

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_getIntFromOutfile(self, keyword='', outfileName='') source code
 
_submit(self, scriptpath) source code
 
kill(self)
Method for killing job running on backend
source code
 
preparejob(self, jobconfig, master_input_sandbox)
Method for preparing job script
source code
 
remove_workdir(self)
Method for removing job's work directory
source code
 
resubmit(self) source code
 
submit(self, jobconfig, master_input_sandbox)
Submit job to backend (i.e.
source code

Inherited from GPIDev.Adapters.IBackend.IBackend: check_auto_resubmit, getStateTime, master_auto_resubmit, master_kill, master_prepare, master_resubmit, master_submit, peek, remove, setup, timedetails

Inherited from GPIDev.Base.Objects.GangaObject: __construct__, __deepcopy__, __getstate__, __setstate__, _attribute_filter__set__, _auto__init__, accept, getJobObject

Inherited from GPIDev.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__

Class Methods [hide private]
Static Methods [hide private]
 
updateMonitoringInformation(jobs)
Update monitoring information for individual jobs: jobs is a list which may contain subjobs as well as the non-split jobs.
source code

Inherited from GPIDev.Adapters.IBackend.IBackend: master_updateMonitoringInformation

Class Variables [hide private]
  _name = 'Interactive'
  _schema = <Ganga.GPIDev.Schema.Schema.Schema instance at 0x381...
  actualCE = <Ganga.GPIDev.Base.Objects.Descriptor object at 0x3...
  exitcode = <Ganga.GPIDev.Base.Objects.Descriptor object at 0x3...
  id = <Ganga.GPIDev.Base.Objects.Descriptor object at 0x35dec10>
  status = <Ganga.GPIDev.Base.Objects.Descriptor object at 0x35d...
  workdir = <Ganga.GPIDev.Base.Objects.Descriptor object at 0x35...

Inherited from GPIDev.Base.Objects.Node (private): _index_cache, _parent

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

kill(self)

source code 

Method for killing job running on backend

No arguments other than self:

Return value: True always

Overrides: GPIDev.Adapters.IBackend.IBackend.kill

remove_workdir(self)

source code 

Method for removing job's work directory

No arguments other than self:

Return value: None

resubmit(self)

source code 
Overrides: GPIDev.Adapters.IBackend.IBackend.resubmit

submit(self, jobconfig, master_input_sandbox)

source code 
Submit job to backend (i.e. run job interactively).
                                                                      
Arguments other than self:
   subjobconfig         - Dictionary of subjob properties
   master_input_sandbox - Dictionary of properties of master job
                                                                      
Return value: True always

Overrides: GPIDev.Adapters.IBackend.IBackend.submit

updateMonitoringInformation(jobs)
Static Method

source code 

Update monitoring information for individual jobs: jobs is a list which may contain subjobs as well as the non-split jobs. This method is never called by the framework directly. It may only be called by the default implementation of master_updateMonitoringInformation().

Overrides: GPIDev.Adapters.IBackend.IBackend.updateMonitoringInformation
(inherited documentation)

Class Variable Details [hide private]

_schema

Value:
<Ganga.GPIDev.Schema.Schema.Schema instance at 0x381b6c8>

actualCE

Value:
<Ganga.GPIDev.Base.Objects.Descriptor object at 0x35deb10>

exitcode

Value:
<Ganga.GPIDev.Base.Objects.Descriptor object at 0x35dec90>

status

Value:
<Ganga.GPIDev.Base.Objects.Descriptor object at 0x35dea50>

workdir

Value:
<Ganga.GPIDev.Base.Objects.Descriptor object at 0x35deb50>