runtraj.execution.SlurmConfig#
- class runtraj.execution.SlurmConfig(*, n_workers: Annotated[int, Ge(ge=1)] = 1, cpus: Annotated[int, Ge(ge=1)] = 1, time: str | int | None = None, mem: str | None = None, partition: str | None = None, account: str | None = None, qos: str | None = None, array_parallelism: Annotated[int | None, Ge(ge=1)] = None, setup: list[str] = <factory>, fetch: runtraj.execution.config.FetchConfig | Literal[False] = <factory>, **extra_data: Any) None[source]#
The Slurm job array a project’s releases run as: the
slurmblock ofexecution.The releases are split among
n_workerstasks, and each task runscpusof them at once. Any key that is not a setting below is ansbatchoption by its name, such asexclude: node1orconstraint: skl, written to the job script as given (truewrites the bare flag) and able to replace a line the script would write. The fetch job takesclustersof these, and no other.
Parameters#
Parameter |
Description |
Default |
|---|---|---|
|
Number of array tasks, which the releases are split evenly among. |
|
|
Releases each task runs at once, and the CPUs each task asks for. |
|
|
Time limit per task, as |
|
|
Memory per task, such as |
|
|
Slurm partition. |
|
|
Slurm account. |
|
|
Slurm quality of service. |
|
|
Most tasks running at once. Unset leaves it to Slurm. |
|
|
Shell commands run in each task before the worker, such as |
|
|
Get the met files a met with |
|
Attributes#
every key of the block that is not one of its settings. |