Skip to content

Commit 26000f4

Browse files
authored
Update gres.conf.j2
1 parent 196716f commit 26000f4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

templates/gres.conf.j2

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ NodeName={{ hostlist }} AutoDetect={{ gres_autodetect }}
1111
{% else %}
1212
{% for gres in gres_list %}
1313
{% set gres_name, gres_type, _ = gres.conf.split(':') %}
14-
{% set inventory_group_name = openhpc_cluster_name ~ '_' ~ nodegroup.name %}
15-
{% set inventory_group_hosts = groups.get(inventory_group_name, []) %}
1614
{% for hostlist in (inventory_group_hosts | hostlist_expression) %}
1715
NodeName={{ hostlist }} Name={{ gres_name }} Type={{ gres_type }} File={{ gres.file | mandatory('The gres configuration dictionary: ' ~ gres ~ ' is missing the file key, but gres_autodetect is set to off. The error occured on node group: ' ~ nodegroup.name ~ '. Please add the file key or set gres_autodetect.') }}
1816
{% endfor %}{# hostlists #}

0 commit comments

Comments
 (0)