| # Gaudi Framework, version v21r7p1 |

Home |  | Generated: 15 Feb 2010

# 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)
| 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 24 of file gaudirun.py.

    00024                                              :
    00025         """Add the option line to a list together with its position in the
    00026         argument list.
    00027         """
    00028         parser.values.options.append((len(parser.largs), value))
    00029     parser.add_option("--option", action="callback", callback=option_cb,
                          type = "string", nargs = 1,

## Variable Documentation

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

Definition at line 93 of file gaudirun.py.

tuple gaudirun::c = gaudimain()

Definition at line 108 of file gaudirun.py.

string gaudirun::dest = "post_options"

Definition at line 45 of file gaudirun.py.

dictionary gaudirun::g = {}

Definition at line 123 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 124 of file gaudirun.py.

gaudirun::level = logging.INFO

Definition at line 76 of file gaudirun.py.

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

Definition at line 84 of file gaudirun.py.

string gaudirun::metavar = "FILE"

Definition at line 11 of file gaudirun.py.

gaudirun::ncpus = None)

Definition at line 62 of file gaudirun.py.

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

Definition at line 113 of file gaudirun.py.

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

Definition at line 116 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 85 of file gaudirun.py.

tuple gaudirun::root_logger = logging.getLogger()

Definition at line 80 of file gaudirun.py.

gaudirun::tcmalloc = False,

Definition at line 61 of file gaudirun.py.

string gaudirun::type = "string"

Definition at line 30 of file gaudirun.py.