SlurmLauncher

Contents

Attention

This project is still in an early phase of development.

The python API is not yet stable, and some aspects of the schema for the blueprint and workplan will likely evolve. Therefore whilst you are welcome to try out using the package, we cannot yet guarantee backwards compatibility. We expect to reach a more stable version in 2026.

SlurmLauncher#

class cstar.orchestration.launch.slurm.SlurmLauncher(*args, **kwargs)#

Bases: Launcher[SlurmHandle]

A launcher that executes steps in a SLURM-enabled cluster.

Methods

SlurmLauncher.cancel(item)

Cancel a task, if possible.

SlurmLauncher.check_preconditions()

Perform launcher-specific startup validation.

SlurmLauncher.configured_account()

Get the account to use for SLURM jobs.

SlurmLauncher.configured_queue()

Get the queue to use for SLURM jobs.

SlurmLauncher.configured_walltime()

Get the max-walltime to use for SLURM jobs.

SlurmLauncher.launch(step, dependencies)

Launch a step in SLURM.

SlurmLauncher.query_status(item)

Retrieve the status of an item.

SlurmLauncher.update_status(item)

Query and update the status for a running task.

Attributes

SlurmLauncher.POST_SUBMIT_DELAY

Delay after a submission to ensure status for a SLURM job can be queried.