dial_job

Version 1.20 07jun05


Introduction

This package provides classes for supporting DIAL jobs.

DIAL is described at http://www.usatlas.bnl.gov/~dladams/dial


Dependencies

Dependencies are described in the CMT requirements file.


Status

Version.
Change log.


Components

The components here are listed in dependency order. Each component depends only on those listed above it. The test associated with each component is a main program that returns zero if the component is working properly.

Some components also have test headers. These are included in the test source and may be included in tests of other components. They should not be included in any non-test sources.

ChildWatcher (header, source, test) - ChildWatcher monitors child processes. If it is set to watch a child process, then it will call an associated function when that process is completed.

JobPreferencesId (header, source, test) - Identifier for job preferencess.

JobPreferences (header, source, test) - Job preferences.

JobId (header, source, test) - Identifier for jobs.

JobIdList (header, source, test) - List of job identifiers.

Job (header, source, test) - A DIAL job uses an application to apply a task to each of the events in a dataset producing a result. Job is the base class for all job types and defines the common interface and provides most of the implementation to support that interface. Job is concrete but is incomplete it that it does not provide any facility for applying its task. The base part of a job can be copied from a complete job to retrieve the common part of the configuration, the status and the result. be used to query the configuration, status and results

JobCreator (header, source, test) - The JobCreator class defines an interface for creating jobs. LocalScheduler uses a job creators to support multiple job types.

JobRepository (header, source, test) - Job repository provides persistence for jobs.

ProcessJob (header, source, test) - ProcessJob is a job that is run as a child process. The user is responsible for specifying the environment and command line for the child. These should be based on the application.

ProcessJobCreator (header, source, test) - Job creator for ProcessJob.


dladams@bnl.gov