| # Gaudi Framework, version v22r4 |

Home |  | Generated: Fri Sep 2 2011

Classes | Functions | Variables

# GaudiMP::Parallel Namespace Reference

## Classes
class | Statistics
class | Task
class | WorkManager
class | SshSession
## Functions
def | _prefunction
def | _ppfunction
## Variables
list | __all__ = [ 'Task','WorkManager' ]
list | excluded_varnames = ['HOSTNAME', 'SSH_CLIENT', 'SSH_CONNECTION', 'DISPLAY']

## Function Documentation

def GaudiMP::Parallel::_ppfunction | ( |  | args ) | `[private]`

Definition at line 20 of file Parallel.py.

    00021                         :
    00022     #--- Unpack arguments
    00023     task, item = args
    00024     stat = Statistics()
    00025     #--- Initialize the remote side (at least once)
    00026     if not task.__class__._initializeDone :
    00027         for k,v in task.environ.items() :
    00028             if k not in excluded_varnames : os.environ[k] = v
    00029         task.initializeRemote()
    00030         task.__class__._initializeDone = True
    00031     #--- Reset the task output
    00032     task._resetOutput()
    00033     #--- Call processing
    00034     task.process(item)
    00035     #--- Collect statistics
    00036     stat.stop()
    00037     return (copy.deepcopy(task.output), stat)

def GaudiMP::Parallel::_prefunction | ( |  | f,
|  |  | task,
|  |  | item
| ) |  | `[private]`

Definition at line 18 of file Parallel.py.

    00019                                  :
        return f((task,item))

## Variable Documentation

list GaudiMP::Parallel::__all__ = [ 'Task','WorkManager' ]

Definition at line 12 of file Parallel.py.

list GaudiMP::Parallel::excluded_varnames = ['HOSTNAME', 'SSH_CLIENT', 'SSH_CONNECTION', 'DISPLAY']

Definition at line 13 of file Parallel.py.

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