Home | Trees | Indices | Help |
---|
|
GPIDev.Adapters.IMonitoringService.IMonitoringService --+ | OutputServerMS
A very simple debugging tool: in case of application failure, the stdout and stderr is sent back to the xmlrpm server on the client. This assumes that the stderr and stdout files are produced in CWD. Reliability of this mechanism depends on the network configuration (firewalls etc). Unless environment variable GANGA_OUTPUTSERVERMS_URL is defined, the server on local host on port 8182 is assumed. The variable GANGA_OUTPUTSERVERMS_URL should be of form: http://host.name:port.
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
Initialize the monitoring service. If the monitoring service is created in the Ganga client then job_info is the original job object, and config_info is the original config object returned by getConfig(). If the monitoring service is created on the worker node then job_info is the return value of getJobInfo(), and config_info is the return value of getConfig().getEffectiveOptions(), i.e. a dictionary. In order to support existing monitoring classes, which do not use config_info, if getConfig() returns None, the constructor is called with only the job_info argument.
|
Return a static info object which static information about the job at submission time. Called by: ganga client. The info object is passed to the contructor. Info object may only contain the standard python types (such as lists, dictionaries, int, strings).
|
Get the list of module dependencies of this monitoring module. Called by: ganga client. Returns a list of modules which are imported by this module and therefore must be shipped automatically to the worker node. The list should include the module where this class is defined plus all modules which represent the parent packages. The module containing the IMonitoringService class is added automatically by the call to the base class sandBoxModule() method. An example for a class defined in the module Ganga/Lib/MonitoringServices/DummyMS/DummyMS.py which does not have any further dependencies: import Ganga.Lib.MonitoringServices.DummyMS return IMonitoringService.getSandboxModules(self) + [ Ganga, Ganga.Lib, Ganga.Lib.MonitoringServices, Ganga.Lib.MonitoringServices.DummyMS, Ganga.Lib.MonitoringServices.DummyMS.DummyMS ] Note, that it should be possible to import all parent modules without side effects (so without importing automatically their other children).
|
Application execution finished. Called by: job wrapper.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Jun 25 10:35:22 2012 | http://epydoc.sourceforge.net |