HP XC System Software Administration Guide Version 2.1

Any node f ro m which y ou execute the sacct command
_______________________ Note _______________________
Ensure that the log file is l ocated on a file system with adequate storag e to
avoid file system full conditions.
This exam ple uses the file /hptc_cluster/slurm/job/jobacct.log,whichis
the default and recommended file.
Ensure th at the configured job accounting log directory exists.
3. Determine the value for the Job Account Polling Frequency parameter.
For jobs that run for a v ery short time (that is, shorter th an the pollin g frequency), the
values of psize and vsize may be sampled before the program has expanded to its
normal working size.
You can set this parameter to a value indicating the polling interval (in seconds). Th e
majority of the jobs run should h ave longer run tim es than this value.
The default value is 30.
Setting this value to 0 causes the sacct comm and always to report values of 0 f or
psize and vsize.
4. Use the text ed ito r of your choice to edit the /hptc_clus-
ter/slurm/etc/slurm.conf file as follows:
a. Locate the parameter JobAcctType.
JobAcctType=
b. Set the value of JobAcctType to enable job accoun tin g as fol lows:
JobAcctType=jobacct/log
c. Locate the param eter JobAcctLoc.
JobAcctLoc=
d. Set the value of the JobAcctLoc parameter to designate the log file you chose in
step 2:
JobAcctLoc=/hptc_cluster/slurm/job/jobacct.log
_____________________ Note _____________________
Ensure that the leading hash character (#), w hich designates a com ment
line, is removed.
e. Set the value of the JobAcctParameters param e ter to designate the log file you
chose in step 3; this example uses a frequency of ten seconds:
JobAcctParameters="Frequency=10"
f. Verify that this portion of the slurm.conf file resembles the following (the
changes are sh own in bold):
.
.
.
#
# o Define the job accounting mechanism
#
JobAcctType=jobacct/log
#
# 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
11-10 SLURM Administration