HP XC System Software Installation Guide Version 2.1
4. Determine the SLURM partition name. In order for the Maui Scheduler to access your
SLURM partition, yo u m ust defi ne a part iti on in the maui.cfg file with the sam e
name as your SLURM partit ion. To determine the SLURM partition name, view the
/hpcd_cluster/slurm/etc/slurm.conf file, and find the f ollowing line:
PartitionName=PARTA Default=YES Shared=FORCE Nodes=n[13-16]
5. Define a partition in the maui.cfg file with the same name as your SLURM par tition.
To do this, update the maui.cfg file to inclu d e the following lines. Use the p artition
information determined in the previous st ep to specify the partition name in each line.
In this example, PARTA is the partiti on name, and n16, n15, n14,andn13 are nodes
in the system.
NODECFG[n16] PARTITION=PARTA
NODECFG[n15] PARTITION=PARTA
NODECFG[n14] PARTITION=PARTA
NODECFG[n13] PARTITION=PARTA
6. Save your changes and exit the file.
L.4.4 Step 4: Edit the SLURM Configuration File
Uncomme nt the following lin es in the /hptc_cluster/slurm/etc/slurm.conf
SLURM configuration file:
SchedulerType=sched/wiki
SchedulerAuth=42
SchedulerPort=7321
L.4.5 Step 5: Configure the Maui Scheduler
After yo u install and set up the Maui Sch eduler to interoperate with SLURM on X C, you must
perform th e standard Maui Scheduler configuration s teps. The configuration is complicated and
is beyond the scope of this document. The best resource for configuring the Maui Scheduler is
the online information available at the Maui Scheduler developer’s Web site, which is located at
the following URL:
http://www.supercluster.org
L.5 Verifying Success
You can verify the success of the Maui Scheduler installation and configuration by executing
various Maui comm ands.
Maui Scheduler commands such as showq, showstate, checknode,andcheckjob can
help you to determine if the M aui Scheduler is operating properly on your system.
For example, you could verify M aui Scheduler operations by launchin g a job and using the
following comm and s:
• Show the state of the queue and other job and reservation data structures:
root@n16: showq
ACTIVE JOBS--------------------
JOBNAME USERNAME STATE PROC REMAINING STARTTIME
115 root Running 6 1:00:00 Tue June 28 20:29:59
1 Active Job 6 of 10 Processors Active (60.00%)
2 of 4 Nodes Active (50.00%)
IDLE JOBS----------------------
JOBNAME USERNAME STATE PROC WCLIMIT QUEUETIME
L-4 Installing the M aui Scheduler