runtraj.execution.slurm.SlurmBackend#

class runtraj.execution.slurm.SlurmBackend[source]#

The slurm backend: the releases as the tasks of one Slurm job array (submit_array()).

runtraj run waits for the array with sacct (wait()), and when some simulations look unfinished after it ends, lists their results once more runtraj.execution.runner.RELIST_SECONDS later, since a network filesystem can show this node new files late.

Attributes#

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 runtraj run or runtraj submit prints before it submits.

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

Submit the job array, wait for every task to end, and return the status table of releases.

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

Submit the job array, after its fetch job when a met downloads, and return its job id.

Inherited#

From Backend: here, jobs, takes_releases