File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -146,8 +146,8 @@ PropagateResourceLimitsExcept=MEMLOCK
146
146
Epilog=/etc/slurm/slurm.epilog.clean
147
147
148
148
# COMPUTE NODES
149
- # OpenHPC default configuration
150
149
{% for nodegroup in openhpc_nodegroups %}
150
+ # nodegroup: {{ nodegroup.name }}
151
151
{% set inventory_group_name = openhpc_cluster_name ~ '_' ~ nodegroup .name %}
152
152
{% set inventory_group_hosts = groups .get (inventory_group_name , []) %}
153
153
{% if inventory_group_hosts | length > 0 %}
@@ -166,9 +166,9 @@ NodeName={{ hostlist }} {{ '' -}}
166
166
ThreadsPerCore={{ first_host_hv['ansible_processor_threads_per_core'] }} {{ '' -}}
167
167
{{ nodegroup.node_params | default({}) | dict2parameters }} {{ '' -}}
168
168
{% if 'gres' in nodegroup %} Gres={{ ','.join(nodegroup.gres | map(attribute='conf')) }}{% endif %}
169
+
169
170
{% endfor %} {# hostlists #}
170
171
{% endif %} {# 1 or more hosts in inventory #}
171
-
172
172
NodeSet=nodegroup_{{ nodegroup.name }} Feature=nodegroup_{{ nodegroup.name }}
173
173
174
174
{% endfor %}
You can’t perform that action at this time.
0 commit comments