File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,17 @@ Use the ``vgpu`` metadata option to enable creation of mig devices on rebuild.
151
151
152
152
## GRES configuration
153
153
154
- You should stop terraform templating out partitions.yml and specify ` openhpc_nodegroups ` manually.
154
+ You should stop terraform templating out partitions.yml and specify ` openhpc_nodegroups ` manually. To do this
155
+ set the ` autogenerated_partitions_enabled ` terraform variable to ` false ` . For example (` environments/production/tofu/main.tf ` ):
156
+
157
+ ```
158
+ module "cluster" {
159
+ source = "../../site/tofu/"
160
+ ...
161
+ # We manually populate this to add GRES. See environments/site/inventory/group_vars/all/partitions-manual.yml.
162
+ autogenerated_partitions_enabled = false
163
+ }
164
+ ```
155
165
156
166
GPU types can be determined by deploying slurm without any gres configuration and then running
157
167
` sudo slurmd -G ` on a compute node where GPU resources exist. An example is shown below:
You can’t perform that action at this time.
0 commit comments