Copernicus  2.0
 All Classes Namespaces Files Functions Variables
cpc.command.executable.Executable Class Reference
Inheritance diagram for cpc.command.executable.Executable:

Public Member Functions

def setID
 
def getID
 
def addRun
 
def addJoinable
 
def isJoinable
 
def printPartialXML
 
def writePartialXML
 

Public Attributes

 basedir
 
 name
 
 platform
 
 arch
 
 version
 
 id
 
 runSet
 
 joinable
 
 inPath
 
 cmdline
 
 joinMatchArgs
 
 joinMatchNcores
 
 joinCommonArgs
 
 joinSpecificArgs
 

Detailed Description

An executable is an object that points to a platform-specific binary
   that can be executed to run a command.

Member Function Documentation

def cpc.command.executable.Executable.addJoinable (   self,
  matchArgs,
  matchNcores,
  commonArgs,
  specificArgs 
)
Add command-joining capability parameters.
   matchArgs = whether the arguments have to match to be able to join
   matchNcores = whether the number of cores  have to match 
   commonArgs = the string of arguments common for all directories to 
        be joined
   specificArgs = the string of arguments specific for each directory
          to be joined
def cpc.command.executable.Executable.addRun (   self,
  inPath,
  cmdline 
)
Add run parameters.
   inPath = whether the file to execute should be in $PATH
   cmdline = the command line to execute.
def cpc.command.executable.Executable.getID (   self)
Get the ID.
def cpc.command.executable.Executable.isJoinable (   self)
Returns whether the executable supports joinable commands.
def cpc.command.executable.Executable.printPartialXML (   self)
Write out the parts of the executable that need to be transmitted
   from worker to server to a string.
def cpc.command.executable.Executable.setID (   self,
  id 
)
Set a new ID.
def cpc.command.executable.Executable.writePartialXML (   self,
  outf 
)
Write out the parts of the executable that need to be transmitted
   from worker to server.

Member Data Documentation

cpc.command.executable.Executable.arch
cpc.command.executable.Executable.basedir
cpc.command.executable.Executable.cmdline
cpc.command.executable.Executable.id
cpc.command.executable.Executable.inPath
cpc.command.executable.Executable.joinable
cpc.command.executable.Executable.joinCommonArgs
cpc.command.executable.Executable.joinMatchArgs
cpc.command.executable.Executable.joinMatchNcores
cpc.command.executable.Executable.joinSpecificArgs
cpc.command.executable.Executable.name
cpc.command.executable.Executable.platform
cpc.command.executable.Executable.runSet
cpc.command.executable.Executable.version

The documentation for this class was generated from the following file: