Package schrodinger :: Package job :: Module launchapi :: Class RuntimeParametersBuilder
[hide private]
[frames] | no frames]

Class RuntimeParametersBuilder

object --+
         |
        RuntimeParametersBuilder

Instance Methods [hide private]
 
__init__(self, data=None)
x.__init__(...) initializes x; see help(type(x)) for signature
 
_fromData(self, data)
 
_loadInput(self, data)
 
getRuntimeParams(self)
 
addHost(self, host)
 
setDetach(self, run_detach)
 
setJobname(self, jobname)
 
setInputFile(self, source_file, key, runtime_path=None)
Specify the input file used.
 
setOutputFile(self, runtime_path, key, stream=False)
Define an output file whose name is specified at runtime.
 
enableDebug(self)
 
disableDebug(self)
 
setThreadsPerProcess(self, nthreads=1)
Set the compute setting for threads per process(TPP).
 
setNumberOfProcesses(self, nprocesses=1)
Set the compute setting for number of processes(cores) for the job.

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, data=None)
(Constructor)

 

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

Overrides: object.__init__
(inherited documentation)

setInputFile(self, source_file, key, runtime_path=None)

 

Specify the input file used.

Parameters:
  • key (str) - The key that identifies the outputfile name in the task command-line template.

setOutputFile(self, runtime_path, key, stream=False)

 

Define an output file whose name is specified at runtime.

Parameters:
  • key (str) - The key that identifies the outputfile name in the task command-line template.
  • stream (bool) - If True and if possible, the output file will be streamed back while the job is running. Defaults to False. Optional.

setNumberOfProcesses(self, nprocesses=1)

 

Set the compute setting for number of processes(cores) for the job. This alongwith TPP derive the nproc.