Home | Trees | Indices | Help |
---|
|
object --+ | GPIProxyObject --+ | Lib.Executable.Executable'.Executable._proxyClass
Executable application -- running arbitrary programs. When you want to run on a worker node an exact copy of your script you should specify it as a File object. Ganga will then ship it in a sandbox: app.exe = File('/path/to/my/script') When you want to execute a command on the worker node you should specify it as a string. Ganga will call the command with its full path on the worker node: app.exe = '/bin/date' A command string may be either an absolute path ('/bin/date') or a command name ('echo'). Relative paths ('a/b') or directory paths ('/a/b/') are not allowed because they have no meaning on the worker node where the job executes. The arguments may be specified in the following way: app.args = ['-v',File('/some/input.dat')] This will yield the following shell command: executable -v input.dat The input.dat will be automatically added to the input sandbox. If only one argument is specified the the following abbreviation may be used: apps.args = '-v' Properties: exe A path (string) or a File object specifying an executable.. (simple property, default='echo',comparable) env Environment. (simple property, default={},comparable) args List of arguments for the executable. Arguments may be strings, numerics or File objects.. (simple property, list, default=['Hello World'],comparable)
|
|||
_impl This is a Ganga.GPI.Executable implementation class. |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
args = <Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object at
|
|||
env = <Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object at 0
|
|||
exe = <Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object at 0
|
|
|||
Inherited from |
|
GPI Executable object constructor: Executable() : create executable with default settings; Executable(e) : make a copy of e; Executable(e,x=a,...): make a copy of e and set property 'x' to a, etc..
|
Return an short representation of Executable object.
|
Set a property of Executable with consistency and safety checks. Setting a [protected] or a unexisting property raises AttributeError.
|
Return a printable string representing Executable object as a tree of properties.
|
|
args
|
env
|
exe
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Jun 25 10:35:21 2012 | http://epydoc.sourceforge.net |