runtraj.execution.runner.LocalBackend#

class runtraj.execution.runner.LocalBackend[source]#

The local backend: the releases run here, in this process, cpus at a time.

With cpus above 1 and a met that downloads, the met files are got first, unless execution.local.fetch is false, so the workers do not download the same file at once. There is nothing to submit.

Attributes#

here

Whether the releases run in this process, with no tasks to start.

name

The name of its block under execution, such as slurm.

waits

Whether run() waits for the tasks, so runtraj run can use it.

Methods#

describe(waits)

Return the line a local run prints before it starts.

run(project, releases, execution, *, ...)

Get the met files first when the workers would download them at once, run releases here, and return their status table.

submit(project, releases, execution, *, ...)

Raise: a local run has nothing to submit.

Inherited#

From Backend: jobs, takes_releases