Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP XC System Software : Installation Guide > Chapter 4 Configuring and Imaging the System

Task 8: Modify SLURM Characteristics (Optional)

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

The /hptc_cluster/slurm/etc/slurm.conf SLURM configuration file is created with a minimum understanding of the characteristics of the nodes in the system.

The spconfig command configures the processor and memory configuration for all of the compute nodes in the slurm.conf file. You can configure other compute node characteristics such as compute node temporary disk space and SLURM features. SLURM features are useful for distinguishing different types of nodes. You can also modify this file to configure additional node partitions.

HP recommends that you review the /hptc_cluster/slurm/etc/slurm.conf file, particularly to address the following configuration aspects:

  • Compute node characteristics

    Initially, all nodes with the compute role are listed as SLURM compute nodes, and these nodes are configured statically with a processor count of two.

    A sample default compute node entry in the slurm.conf file looks like this:

    NodeName=n[1-64] Procs=2

    SLURM provides the ability to set several other compute node characteristics. At a minimum, you should ensure that the processor count is accurate. You should also set the RealMemory and TmpDisk characteristics so that SLURM can monitor those values on the nodes and users can submit jobs that request specific values.

    A sample updated entry might look like this:

    NodeName=n[1-59]  Procs=2 RealMemory=2048 TmpDisk=9036
    NodeName=n[60-64] Procs=4 RealMemory=4096 TmpDisk=16384 Weight=2

    For more information about setting compute node characteristics, see slurm.conf(5) .

  • Compute node partition layout

    Initially, all nodes are placed into one partition for exclusive management by LSF. To set aside some nodes for non-LSF use, you must configure a second partition for those nodes.

    A sample default partition entry in the slurm.conf file looks like this:

    PartitionName=lsf RootOnly=YES Shared=FORCE Nodes=n[1-64]

    An updated partition configuration to create a second partition for direct SLURM use by users might look like this:

    PartitionName=lsf RootOnly=YES Shared=FORCE Nodes=n[10-64]
    PartitionName=srun Default=YES Nodes=n[1-9]

    For more information on configuring partitions, see slurm.conf(5) .

If you make any manual changes to the slurm.conf file, restart SLURM on the head node:

# service slurm restart

You might see service startup error messages if the resource_management or compute roles are not assigned to the head node. You can ignore these errors.

If you need more information about SLURM, consult the reference manual at:

http://www.llnl.gov/LCdocs/slurm/

Proceed to “Task 9: Run the startsys Utility To Start the System and Propagate the Golden Image” to start the system and propagate the golden image to all client nodes.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2003 Hewlett-Packard Development Company, L.P.