Skip to content

Commit

Permalink
Merge branch 'develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
pneerincx authored Oct 13, 2022
2 parents 2974d70 + c066774 commit d09a7cc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,13 @@ PartitionName={{ partition.name }} Default={{ partition.default }} Nodes={{ part
# Compute nodes
#
{% for node in groups['compute_vm'] %}
{% if node != groups['user_interface'] | first %}{# this checks if the cluster is a single machine and prevents double entry of UI and node #}
NodeName={{ node }} Sockets={{ hostvars[node]['slurm_sockets'] }} CoresPerSocket={{ hostvars[node]['slurm_cores_per_socket'] }} ThreadsPerCore=1 State=UNKNOWN RealMemory={{ hostvars[node]['slurm_real_memory'] }} TmpDisk={{ hostvars[node]['slurm_local_disk'] | default(0, true) }} Feature={{ hostvars[node]['slurm_features'] }}
{% endif %}
{% endfor %}
#
# User Interface nodes (only for data staging jobs).
#
{% for node in groups['user_interface'] %}
{% if node not in groups['compute_vm'] %}{# this checks if the cluster is a single machine and prevents double entry of UI and node #}
NodeName={{ node }} Sockets={{ hostvars[node]['slurm_sockets'] }} CoresPerSocket={{ hostvars[node]['slurm_cores_per_socket'] }} ThreadsPerCore=1 State=UNKNOWN RealMemory={{ hostvars[node]['slurm_real_memory'] }} TmpDisk={{ hostvars[node]['slurm_local_disk'] | default(0, true) }} Feature={{ hostvars[node]['slurm_features'] }}
{% endif %}
{% endfor %}

0 comments on commit d09a7cc

Please sign in to comment.