Skip to content

Commit 319ddf3

Browse files
committed
default partitions to nodegroups to make CI easier
1 parent 3440050 commit 319ddf3

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ unique set of homogenous nodes:
8080
This is used to set `Sockets`, `CoresPerSocket`, `ThreadsPerCore` and
8181
optionally `RealMemory` for the nodegroup.
8282

83-
`openhpc_partitions`: Optional, default `[]`. List of mappings, each defining a
83+
`openhpc_partitions`: Optional. List of mappings, each defining a
8484
partition. Each partition mapping may contain:
8585
* `name`: Required. Name of partition.
8686
* `groups`: Optional. List of node group names. If omitted, the node group
@@ -91,6 +91,9 @@ partition. Each partition mapping may contain:
9191
[partition configuration](https://slurm.schedmd.com/slurm.conf.html#SECTION_PARTITION-CONFIGURATION).
9292
**NB:** Parameters which can be set via the keys above must not be included here.
9393

94+
If this variable is not set one partition per nodegroup is created, with default
95+
partition configuration for each.
96+
9497
`openhpc_job_maxtime`: Maximum job time limit, default `'60-0'` (60 days), see
9598
[slurm.conf:MaxTime](https://slurm.schedmd.com/slurm.conf.html#OPT_MaxTime).
9699
**NB:** This should be quoted to avoid Ansible conversions.

defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ openhpc_slurm_service_started: "{{ openhpc_slurm_service_enabled }}"
44
openhpc_slurm_service:
55
openhpc_slurm_control_host: "{{ inventory_hostname }}"
66
#openhpc_slurm_control_host_address:
7-
openhpc_partitions: []
7+
openhpc_partitions: "{{ openhpc_nodegroups }}"
88
openhpc_nodegroups: []
99
openhpc_cluster_name:
1010
openhpc_packages:

0 commit comments

Comments
 (0)