3.3.1. sciexp2.expdef.launcher.Launcher
Methods
|
List files matching an expression. |
|
Kill the execution of selected jobs. |
|
|
|
Print the states for the selected jobs. |
|
Submit selected jobs to execution. |
|
Print a summary of the state of selected jobs. |
|
Return a list with the available variables. |
Return a list with the available variables. |
- class Launcher(base_path, system, group, depends, submit_args)
Bases:
objectCommon interface to manage jobs.
The
typesargument 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.
- group
InstanceGroup Job descriptors.
- dependssequence of str
Variable names to which jobs depend.
- submit_argssequence of str
Extra arguments to the job-submitting program.
See also
- 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
killbefore 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.