We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b68e44f commit 75a4647Copy full SHA for 75a4647
resources/defaults/slurm/slurm.j2
@@ -77,7 +77,7 @@ SlurmdLogFile=/var/log/slurm/slurmd.log
77
{% set _ = node_groups.append(node.name) %}
78
{# MiB to MB #}
79
{% set mem = (node.flavor.ram * 1.048576) | int %}
80
-NodeName={{ node.name }} SocketsPerBoard={{ node.flavor.vcpus }} CoresPerSocket=1 RealMemory={{ mem }} MemSpecLimit={{ [mem//4 + 1000| max, 8000] | min }} State={{node.state }} {{"Features=" + (node.features | join(",")) if node.features is defined }}# {{ node.cloud_identifier }}
+NodeName={{ node.name }} SocketsPerBoard={{ node.flavor.vcpus }} CoresPerSocket=1 RealMemory={{ mem }} MemSpecLimit={{ [mem//4 + 1000, 8000] | min }} State={{node.state }} {{"Features=" + (node.features | join(",")) if node.features is defined }}# {{ node.cloud_identifier }}
81
{% for partition in node.partitions %}
82
{% if partition not in partitions %}
83
{% set _ = partitions.update({partition: []}) %}
0 commit comments