HP XC System Software Administration Guide Version 3.1
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.
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 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
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.
168 Managing SLURM