1topology.conf(5) Slurm Configuration File topology.conf(5)
2
3
4
6 topology.conf - Slurm configuration file for defining the network
7 topology
8
9
11 Topology.conf can only represent a hierarchical network. All nodes in
12 the network must be connected to at least one switch. The network must
13 be fully connected to use a RoutePlugin. Jobs can only span nodes con‐
14 nected by the same switch fabric, even if there are available idle
15 nodes.
16
17
19 topology.conf is an ASCII file which describes the cluster's network
20 topology for optimized job resource allocation. The file location can
21 be modified at system build time using the DEFAULT_SLURM_CONF parameter
22 or at execution time by setting the SLURM_CONF environment variable.
23 The file will always be located in the same directory as the slurm.conf
24 file.
25
26 Parameter names are case insensitive. Any text following a "#" in the
27 configuration file is treated as a comment through the end of that
28 line. Changes to the configuration file take effect upon restart of
29 Slurm daemons, daemon receipt of the SIGHUP signal, or execution of the
30 command "scontrol reconfigure" unless otherwise noted.
31
32 The network topology configuration one one line defining a switch name
33 and its children, either node names or switch names. Slurm's hostlist
34 expression parser is used, so the node and switch names need not be
35 consecutive (e.g. "Nodes=tux[0-3,12,18-20]" and
36 "Switches=s[0-2,4-8,12]" will parse fine). An optional link speed may
37 also be specified.
38
39 The topology.conf file for an Infiniband switch can be automatically
40 generated using the slurmibtopology tool found here:
41 <https://ftp.fysik.dtu.dk/Slurm/slurmibtopology.sh>.
42
43 The overall configuration parameters available include:
44
45
46 SwitchName
47 The name of a switch. This name is internal to Slurm and arbi‐
48 trary. Each switch should have a unique name. This field must
49 be specified.
50
51 Switches
52 Child switches of the named switch. Either this option or the
53 Nodes option must be specified.
54
55 Nodes Child Nodes of the named leaf switch. Either this option or the
56 Switches option must be specified.
57
58 LinkSpeed
59 An optional value specifying the performance of this communica‐
60 tion link. The units used are arbitrary and this information is
61 currently not used. It may be used in the future to optimize
62 resource allocations.
63
64
66 ##################################################################
67 # Slurm's network topology configuration file for use with the
68 # topology/tree plugin
69 ##################################################################
70 SwitchName=s0 Nodes=dev[0-5]
71 SwitchName=s1 Nodes=dev[6-11]
72 SwitchName=s2 Nodes=dev[12-17]
73 SwitchName=s3 Switches=s[0-2]
74
75
77 Copyright (C) 2009 Lawrence Livermore National Security. Produced at
78 Lawrence Livermore National Laboratory (cf, DISCLAIMER).
79 Copyright (C) 2010-2013 SchedMD LLC.
80
81 This file is part of Slurm, a resource management program. For
82 details, see <https://slurm.schedmd.com/>.
83
84 Slurm is free software; you can redistribute it and/or modify it under
85 the terms of the GNU General Public License as published by the Free
86 Software Foundation; either version 2 of the License, or (at your
87 option) any later version.
88
89 Slurm is distributed in the hope that it will be useful, but WITHOUT
90 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
91 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
92 for more details.
93
94
96 slurm.conf(5)
97
98
99
100April 2015 Slurm Configuration File topology.conf(5)