HP XC System Software Administration Guide Version 3.0

You can set this parameter to a value indicating the polling interval (in seconds). The majority of the
jobs run should have longer run times than this value.
The default value is 30.
Setting this value to 0 causes the sacct command always to report values of 0 for psize and vsize.
4. 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=
b. Set the value of JobAcctType to enable job accounting as follows:
JobAcctType=jobacct/log
c. Locate the parameter 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 (#), which designates a comment line, is removed.
e. Set the value of the JobAcctParameters parameter to designate the log file you chose in step
3.; this example uses a frequency of 10 seconds:
JobAcctParameters="Frequency=10"
You can also set the following additional parameters:
MaxSendRetries The number of times an accounting message is retried. The default
value is 3 times.
MaxSendRetryDelay The maximum number of seconds to pause before sending an
accounting message. The actual delay is a random value between 1
and this value. The default value is 5 seconds.
StaggerSlotSize Generally, the increment of time a process pauses before sending its
message. For n tasks, an equal number of staggered time slots are
defined in increments of (StaggerSlotSize * 0.001) seconds. The
first task sends its message immediately; the second task pauses one
increment before sending its mesage; the third task pauses two
increments before sending its message; and so on. The default value
of this parameter is 1.
If you change the values of any of these parameters, assign them in a comma-separated horizontal
list in quotation marks, as shown here:
JobAcctParameters="Frequency=10,MaxSendRetries=5,StaggerSlotSize=2"
f. 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/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
112 Managing SLURM