Skip to content

Commit 66c11b9

Browse files
author
Himani Anil Deshpande
committed
[SlurmTopo] Adding a slurm_parallelcluster_topology.conf in slurm.conf
1 parent cc674d1 commit 66c11b9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

cookbooks/aws-parallelcluster-slurm/recipes/update/update_head_node.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def update_nodes_in_queue(strategy, queues)
160160
end
161161

162162
# Generate Slurm topology.conf file
163-
execute "generate_topology_config" do
163+
execute "update_topology_config" do
164164
command "#{cookbook_virtualenv_path}/bin/python #{node['cluster']['scripts_dir']}/slurm/pcluster_topology_generator.py"\
165165
" --output-file #{node['cluster']['slurm']['install_dir']}/etc/topology.conf"\
166166
" --block-sizes #{node['cluster']['p6egb200_block_sizes']}"\

cookbooks/aws-parallelcluster-slurm/templates/default/slurm/slurm.conf.erb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ include slurm_parallelcluster.conf
8484
# WARNING!!! The custom_slurm_settings_include_file_slurm.conf file included below can be updated by the pcluster process.
8585
# Please do not edit it.
8686
include pcluster/custom_slurm_settings_include_file_slurm.conf
87+
8788
#
8889
# WARNING!!! The slurm_parallelcluster_topology.conf file included below can be updated by the pcluster process.
8990
# Please do not edit it.
90-
include slurm_parallelcluster_topology.conf
91+
include slurm_parallelcluster_topology.conf
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
{# Adding comments at the beginning of each line is a trick to indent the template without affecting the output #}
21
# slurm_parallelcluster_topology.conf is managed by the pcluster processes.
32
# Do not modify.
43
# Please use CustomSlurmSettings in the ParallelCluster configuration file to add user-specific slurm configuration
54
# options
65
# TOPOLOGY Plugin
76
<% unless node['cluster']['p6egb200_block_sizes'].nil? -%>
87
TopologyPlugin=topology/block
9-
<% end -%>
8+
<% end -%>

0 commit comments

Comments
 (0)