Skip to content

Getting started

Build dunscaith with Go 1.27 or newer:

go install gitlab.com/phpboyscout/dunscaith/cmd/dunscaith@latest

Or download a signed build from the releases page, where one exists for your platform, and check it as Release signing describes.

A build from before the scheduler adapters were linked cannot start a job. When the configuration names an adapter, its error reads:

open cluster adapter "slurm" (this build links: none): dispatch: not found: no adapter registered as "slurm"

v0.1.0 is such a build. If yours is one too, install a newer release, or build the default branch by ending the go install line with @main in place of @latest.

To see it work before you point it at a cluster of your own, follow Your first job, on a Slurm cluster in containers.

First run

dunscaith --help

Alongside the commands go-tool-base provides (config, doctor, init, mcp, update and others), dunscaith has a job command set: submit, supervise, list, status, watch, hold, release, requeue, resubmit, supersede, abandon, give-up, cancel, stop, reconcile, prune, s3 and validate. They are described in the job commands reference.

Connect it to a cluster

dunscaith links two scheduler adapters, slurm and kubeflow. Name one in configuration before you submit:

cluster:
  name: my-cluster
  adapter: slurm

Connect dunscaith to your cluster has both adapters' settings. Without cluster.adapter, submit stops with no cluster adapter. The commands that act on records, list and the s3 commands still work, and dunscaith validate checks a job file without touching a cluster.

Not yet run on a real cluster

dunscaith takes jobs from submit to their outcome on a Slurm cluster running in containers, through a preemption, a lost node and an overdue hold. It has not yet run a job on Kubeflow, on a production cluster, or on real GPUs.

Before you submit

Records are kept on the login node. Check that the default location works there, and read how a job is kept supervised: