HP XC System Software Installation Guide Version 4.0

The following procedure provides an example of a cluster that has five nodes: node 5 is the head
node, nodes 1 and 2 are visualization nodes, and nodes 3 and 4 are compute nodes.
Using that example, you must modify the slurm.conf file to create two partitions:
1. Use the text editor of your choice to edit the /hptc_cluster/slurm/etc/slurm.conf
file.
2. Change the following line from this:
PartitionName=lsf RootOnly=YES Shared=FORCE Nodes=n[1-5]
To this:
PartitionName=lsf RootOnly=YES Shared=FORCE Nodes=n4
PartitionName=vis Default=yes RootOnly=NO Shared=NO Nodes=n[1-3]
Do not include the head node in either partition (lsf or vis).
Using the previous example, compute nodes you assign to the vis partition are not available
for jobs using LSF. The effect in this example is to have a single compute node (3) in the vis
partition and a single compute node (4) in the lsf partition.
3. Add the following line to the prolog/epilog section of the slurm.conf file:
Epilog=/opt/sva/sbin/sva_epilog.clean
4. Save your changes to the file and exit the text editor.
240 Customizing the SLURM Configuration