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

Class Executable

source code

                       object --+            
                                |            
         GPIDev.Base.Objects.Node --+        
                                    |        
      GPIDev.Base.Objects.GangaObject --+    
                                        |    
GPIDev.Adapters.IApplication.IApplication --+
                                            |
                                           Executable
Known Subclasses:

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

Nested Classes [hide private]
  _proxyClass
Executable application -- running arbitrary programs.

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
 
configure(self, masterappconfig)
Configure the specific aspect of the application .
source code

Inherited from GPIDev.Adapters.IApplication.IApplication: master_configure, postprocess, postprocess_failed, transition_update

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]
Class Variables [hide private]
  _GUIAdvancedPrefs = [{'attribute': 'exe', 'widget': 'File'}, {...
  _GUIPrefs = [{'attribute': 'exe', 'widget': 'File'}, {'attribu...
  _name = 'Executable'
  _schema = <Ganga.GPIDev.Schema.Schema.Schema instance at 0x1ca...
  args = <Ganga.GPIDev.Base.Objects.Descriptor object at 0x1ca7e10>
  env = <Ganga.GPIDev.Base.Objects.Descriptor object at 0x1ca7d90>
  exe = <Ganga.GPIDev.Base.Objects.Descriptor object at 0x1ca7d10>

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)

configure(self, masterappconfig)

source code 

Configure the specific aspect of the application . This method has a similar meaning as master_configure() method and it should return a tuple (modified_flag,appconfig).

This method must be implemented in a derived class. Otherwise the submission will fail.

Arguments:

  • master_appconfig is a result of the master job master_configure() method.

In case of splitting this method will be called for each subjob object exactly once which means that it will be executed as many times as there are subjobs.

If there is no splitting this method will be called exactly once, after master_configure().

Transition from Ganga 4.0.x:

  • master_appconfig should be ignored (it is None anyway)
Overrides: GPIDev.Adapters.IApplication.IApplication.configure
(inherited documentation)

Class Variable Details [hide private]

_GUIAdvancedPrefs

Value:
[{'attribute': 'exe', 'widget': 'File'},
 {'attribute': 'args', 'widget': 'String_List'},
 {'attribute': 'env', 'widget': 'DictOfString'}]

_GUIPrefs

Value:
[{'attribute': 'exe', 'widget': 'File'},
 {'attribute': 'args', 'widget': 'String_List'},
 {'attribute': 'env', 'widget': 'DictOfString'}]

_schema

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