HP XC System Software Administration Guide Version 3.0

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"
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 103)).
2. Choose a log file to collect the job accounting data.
Note
You must specify an absolute path name for the log file; it must begin with the / character.
You can choose to isolate this data log on one node or in the /htpc_cluster directory so that all
nodes can access it. However, this log file must be accessible to the following:
Nodes that run the slurmctld daemon
LSF
Any node from which you execute the sacct command
Note
Ensure that the log file is located on a file system with adequate storage to avoid file system full
conditions.
This example uses the file /hptc_cluster/slurm/job/jobacct.log, which is the default and
recommended file.
Ensure that the configured job accounting log directory exists.
3. Determine the value for the Job Account Polling Frequency parameter.
For jobs that run for a very short time (that is, shorter than the polling frequency), the values of psize
and vsize may be sampled before the program has expanded to its normal working size.
Job Accounting 111