waikato-ufdl / ufdl-job-launcher

Launcher framework for executing jobs in the UFDL framework.
Apache License 2.0
0 stars 0 forks source link
docker python3 ufdl

ufdl-job-launcher

Launcher framework for executing jobs in the UFDL framework.

Requirements

Scripts

Tools

The following command-line tools (i.e., entry points) are available:

ufdl-joblauncher

usage: ufdl-joblauncher [-h] [-C FILE] [-c]

Starts the UFDL job-launcher.

optional arguments:
  -h, --help            show this help message and exit
  -C FILE, --config FILE
                        The configuration to use if not the system wide one
                        (/etc/ufdl/job-launcher.conf). (default: None)
  -c, --continuous      For continuous polling for jobs rather than stopping
                        after executing the first one. (default: False)

ufdl-hwinfo

usage: ufdl-hwinfo [-h] [-C FILE] [-F FORMAT] [-O FILE]

Outputs UFDL hardware information.

optional arguments:
  -h, --help            show this help message and exit
  -C FILE, --config FILE
                        The configuration to use if not the system wide one
                        (/etc/ufdl/job-launcher.conf). (default: None)
  -F FORMAT, --format FORMAT
                        The format to use for the output of the information.
                        (default: yaml)
  -O FILE, --output FILE
                        The file to store the information in, otherwise stdout
                        is used. (default: None)

Example configuration

An example configuration is available from examples/job-launcher-example.conf.

Executors

Executors are the workhorses in the job-launcher framework that interpret and execute the jobs that are compatible with a worker node's hardware setup (like GPU available and capability).

The jobs that get executed are based on the job templates defined in the UFDL backend. Executors are therefore tightly coupled with the job-templates, as these reference the executor class and required packages for running the executor.

Super classes

The following super classes are available

Implementations

You can find executor implementations in the following repositories: