| # Gaudi Framework, version v22r4 |

Home |  | Generated: Fri Sep 2 2011

Functions | Variables

# gaudirun Namespace Reference

## Functions
def | option_cb
## Variables
tuple | parser = OptionParser(usage = "%prog [options] <opts_file> ...")
string | help = "do not run the application, just parse option files"
string | metavar = "FILE"
string | type = "string"
string | dest = "post_options"
| tcmalloc = False,
| ncpus = None)
int | sys_cpus = 8
string | s = "Invalid value : --ncpus must be integer >= -1"
| level = logging.INFO
tuple | root_logger = logging.getLogger()
tuple | libname = os.environ.get("TCMALLOCLIB", "libtcmalloc.so")
tuple | preload = os.environ.get("LD_PRELOAD", "")
list | args = [ a for a in sys.argv if a != '-T' and not '--tcmalloc'.startswith(a) ]
tuple | c = gaudimain()
list | options = [ "importOptions(%r)" % f for f in args ]
tuple | optlines = list(opts.options)
dictionary | g = {}
dictionary | l = {}

## Function Documentation

def gaudirun::option_cb | ( |  | option,
|  |  | opt,
|  |  | value,
|  |  | parser
| ) |  |

    Add the option line to a list together with its position in the
    argument list.

Definition at line 30 of file gaudirun.py.

    00031                                              :
    00032         """Add the option line to a list together with its position in the
    00033         argument list.
    00034         """
            parser.values.options.append((len(parser.largs), value))

## Variable Documentation

list gaudirun::args = [ a for a in sys.argv if a != '-T' and not '--tcmalloc'.startswith(a) ]

Definition at line 117 of file gaudirun.py.

tuple gaudirun::c = gaudimain()

Definition at line 132 of file gaudirun.py.

string gaudirun::dest = "post_options"

Definition at line 51 of file gaudirun.py.

dictionary gaudirun::g = {}

Definition at line 147 of file gaudirun.py.

string gaudirun::help = "do not run the application, just parse option files"

Definition at line 9 of file gaudirun.py.

dictionary gaudirun::l = {}

Definition at line 148 of file gaudirun.py.

gaudirun::level = logging.INFO

Definition at line 100 of file gaudirun.py.

tuple gaudirun::libname = os.environ.get("TCMALLOCLIB", "libtcmalloc.so")

Definition at line 108 of file gaudirun.py.

string gaudirun::metavar = "FILE"

Definition at line 11 of file gaudirun.py.

gaudirun::ncpus = None)

Definition at line 68 of file gaudirun.py.

list gaudirun::options = [ "importOptions(%r)" % f for f in args ]

Definition at line 137 of file gaudirun.py.

tuple gaudirun::optlines = list(opts.options)

Definition at line 140 of file gaudirun.py.

tuple gaudirun::parser = OptionParser(usage = "%prog [options] <opts_file> ...")

Definition at line 7 of file gaudirun.py.

tuple gaudirun::preload = os.environ.get("LD_PRELOAD", "")

Definition at line 109 of file gaudirun.py.

tuple gaudirun::root_logger = logging.getLogger()

Definition at line 104 of file gaudirun.py.

string gaudirun::s = "Invalid value : --ncpus must be integer >= -1"

Definition at line 85 of file gaudirun.py.

tuple gaudirun::sys_cpus = 8

Definition at line 81 of file gaudirun.py.

gaudirun::tcmalloc = False,

Definition at line 67 of file gaudirun.py.

string gaudirun::type = "string"

Definition at line 36 of file gaudirun.py.

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines