Package PyFoam :: Package Infrastructure :: Module Configuration
[hide private]
[frames] | no frames]

Module Configuration

source code

Reads configuration-files that define defaults for various PyFoam-Settings

Also hardcodes defaults for the settings

Classes [hide private]
  Configuration
Reads the settings from files (if existing).

Variables [hide private]
  _defaults = {'Paths': {'python': '/usr/bin/python', 'bash': '/bi...

Imports: ConfigParser.ConfigParser, ConfigParser.NoOptionError, Hardcoded.globalConfigFile, Hardcoded.userConfigFile


Variables Details [hide private]

_defaults

None
Value:
{'ClusterJob': {'path': '/opt/openmpi/bin', 'ldpath': '/opt/openmpi/li
b'},
 'Debug': {},
 'IsAlive': {'maxTimeStart': '30.', 'isLivingMargin': '1.1'},
 'Logging': {'default': 'INFO', 'server': 'INFO'},
 'MPI': {'options_OPENMPI_post': '["-x","LD_LIBRARY_PATH","-x","WM_PRO
JECT_DIR","-x","FOAM_MPI_LIBBIN","-x","MPI_BUFFER_SIZE"]',
         'options_OPENMPI_pre': '["--mca","pls_rsh_agent","rsh"]'},
...