HP XC System Software Administration Guide Version 3.1

The bacct command reports a slightly increased value for a job's runtime when compared to the value
reported by the sacct command. LSF-HPC with SLURM sums the resource usage values reported by
itself and SLURM.
14.4.2 Disabling Job Accounting
Job accounting is turned on by default. Note that job accounting is required if you are using LSF. Follow
this procedure to turn off job accounting:
1. Log in as the superuser on the SLURM server (see “Configuring SLURM Servers” (page 159)).
2. Use the text editor of your choice to edit the /hptc_cluster/slurm/etc/slurm.conf file as
follows:
a. Locate the parameter JobAcctType.
JobAcctType=jobacct/log
b. Set the value of JobAcctType to disable job accounting as follows:
JobAcctType=jobacct/none
c. Verify that this portion of the slurm.conf file resembles the following (the changes are shown
in bold):
.
.
.
#
# o Define the job accounting mechanism
#
JobAcctType=jobacct/none
#
# o Define the location where job accounting logs are to
# be written. For
# - jobacct/none - this parameter is ignored
# - jobacct/log - the fully-qualified file name
# for the data file
#
JobAcctLoc=/hptc_cluster/slurm/job/jobacct.log
.
.
.
d. Save the file.
3. Restart the slurmctld and slurmd daemons:
# cexec -a "service slurm restart"
14.4.3 Configuring Job Accounting
Job accounting is turned on by default. If job accounting has been disabled, follow this procedure to turn
job accounting back on and to designate the log file that collects the system data:
1. Log in as the superuser on the SLURM server (see “Configuring SLURM Servers” (page 159)).
2. Choose a log file to collect the job accounting data.
Note:
You must specify an absolute pathname for the log file; it must begin with the / character.
14.4 Job Accounting 167