# Class SlurmOrchestrator (0.4.1)

0.4.1 (latest) 0.4.0 0.2.0 0.1.0

    SlurmOrchestrator(mapping=None, *, ignore_unknown_fields=False, **kwargs)

When set in
Orchestrator,
indicates that the cluster should use
`Slurm <https://slurm.schedmd.com/>`__ as the orchestrator.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `login_nodes` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-hypercomputecluster/latest/google.cloud.hypercomputecluster_v1beta.types.SlurmLoginNodes` Required. Configuration for login nodes, which allow users to access the cluster over SSH. |
| `node_sets` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/google-cloud-hypercomputecluster/latest/google.cloud.hypercomputecluster_v1beta.types.SlurmNodeSet]` Required. Configuration of Slurm nodesets, which define groups of compute resources that can be used by Slurm. At least one compute node is required. |
| `partitions` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/google-cloud-hypercomputecluster/latest/google.cloud.hypercomputecluster_v1beta.types.SlurmPartition]` Required. Configuration of Slurm partitions, which group one or more nodesets. Acts as a queue against which jobs can be submitted. At least one partition is required. |
| `default_partition` | `str` Optional. Default partition to use for submitted jobs that do not explicitly specify a partition. Required if and only if there is more than one partition, in which case it must match the id of one of the partitions. |
| `prolog_bash_scripts` | `MutableSequence[str]` Optional. Slurm \`prolog scripts |
| `epilog_bash_scripts` | `MutableSequence[str]` Optional. Slurm \`epilog scripts |