3.3.1. sciexp2.expdef.launcher.Launcher

Methods

files(types, *filters, **kwargs)

List files matching an expression.

kill(types, *filters, **kwargs)

Kill the execution of selected jobs.

parse_filters(*filters)

state(types, *filters, **kwargs)

Print the states for the selected jobs.

submit(types, *filters, **kwargs)

Submit selected jobs to execution.

summary(types, *filters)

Print a summary of the state of selected jobs.

values(*filters)

Return a list with the available variables.

variables()

Return a list with the available variables.

class Launcher(base_path, system, group, depends, submit_args)

Bases: object

Common interface to manage jobs.

The types argument to all methods identifies a set of job states to narrow the selection of jobs.

The filters argument to all methods narrows the selection of jobs to those matching the given filters.

Parameters:
base_pathstr

Path to the base directory created by launcher.

systemstr or System subclass

Execution system.

groupInstanceGroup

Job descriptors.

dependssequence of str

Variable names to which jobs depend.

submit_argssequence of str

Extra arguments to the job-submitting program.

parse_filters(*filters)
variables()

Return a list with the available variables.

values(*filters)

Return a list with the available variables.

summary(types, *filters)

Print a summary of the state of selected jobs.

state(types, *filters, **kwargs)

Print the states for the selected jobs.

submit(types, *filters, **kwargs)

Submit selected jobs to execution.

Calls kill before submitting a job if it’s already running.

kill(types, *filters, **kwargs)

Kill the execution of selected jobs.

files(types, *filters, **kwargs)

List files matching an expression.