Skip to content

Commit 1c281c4

Browse files
authored
Move donehosts out of loop
1 parent 32fbe3c commit 1c281c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/gres.conf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
AutoDetect=off
2+
{% set donehosts = [] | unique %}
23
{% for part in openhpc_slurm_partitions %}
34
{% set nodelist = [] %}
4-
{% set donehosts = [] | unique %}
55
{% for group in part.get('groups', [part]) %}
66
{% if 'gres' in group %}
77
{% set group_name = group.cluster_name|default(openhpc_cluster_name) ~ '_' ~ group.name %}

0 commit comments

Comments
 (0)