Package src :: Module pyflowConfig :: Class DefaultSiteConfig
[hide private]
[frames] | no frames]

Class DefaultSiteConfig

source code


Default configuration settings are designed to work with as many sites as technically feasible

Instance Methods [hide private]

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

Class Methods [hide private]
 
qsubResourceArg(cls, nCores, memMb)
When a task is launched using qsub in sge mode, it will call this function to specify the requested number of threads and megabytes of memory.
source code
 
_qsubResourceArgConfig(cls, nCores, memMb)
The default function is designed for maximum portability -- it just provides more memory via more threads.
source code
 
getSgeMakePrefix(cls, nCores, memMb, schedulerArgList)
This prefix will be added to ' -C directory', and run from a local process to handle sge make jobs.
source code
Static Methods [hide private]
 
getHostName() source code
 
getDomainName() source code
Class Variables [hide private]
  mailFrom = 'pyflow-bot@csaunders-ubuntu64'
  defaultTaskMemMb = 2048
  defaultHostMemMbPerCore = 2048
  maxSGEJobs = 128
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

qsubResourceArg(cls, nCores, memMb)
Class Method

source code 

When a task is launched using qsub in sge mode, it will call this function to specify the requested number of threads and megabytes of memory. The returned argument list will be appended to the qsub arguments.

nCores -- number of threads requested memMb -- memory requested (in megabytes)

getSgeMakePrefix(cls, nCores, memMb, schedulerArgList)
Class Method

source code 

This prefix will be added to ' -C directory', and run from a local process to handle sge make jobs.

Note that memMb hasn't been well defined for make jobs yet, is it the per task memory limit? The first application to accually make use of this will have to setup the convention, it is ignored right now...