Hi,

For accounting, I have filetxt plugin configured (no Slurmdbd). Details
below from slurm.conf

AccountingStorageLoc=/usr/local/var/log/slurm/accounting
AccountingStorageType=accounting_storage/filetxt
JobCompLoc=/usr/local/var/log/slurm/job_completions
JobCompType=jobcomp/filetxt
JobAcctGatherFrequency=30
JobAcctGatherType=jobacct_gather/linux
ProctrackType=proctrack/linuxproc

I have sacct running without any troubles but it does not seem to provide
certain stats,
I have formatted the output of 'sacct'  below.

Account: (null)
AdminComment:
AllocCPUS: 0
AllocGRES:
AllocTRES:
AssocID: 0
AveCPU:
AveCPUFreq:
AveDiskRead:
AveDiskWrite:
AvePages:
AveRSS:
AveVMSize:
...
ReqGRES:

What it does provide (though some of them seem incorrect - CPUTime)

AllocNodes: 1
...
CPUTime: 00:00:00
CPUTimeRAW: 0
DerivedExitCode: 0:0
Elapsed: 00:00:51
ElapsedRaw: 51
Eligible:2017-04-14T14:43:51
End:2017-04-14T14:44:42
ExitCode: 0:0
GID: 1002
Group: slurm
JobID:1446
JobIDRaw:1446
JobName:gpu_test.+
...
Start:2017-04-14T14:43:51
State: COMPLETED
Submit:2017-04-14T14:43:51
...
ReqCPUS: 4
...
UID: 1002
User: slurm


Anything that I need to enable to get these stats? (sstat reports a lot of
the details that sacct does not. So it looks to me like I have to add
something else to the configuration?)

I would have expected AllocCPUS and AllocGRES to be valid/non-zero values.
My job uses GPU resources and completes successfully. Just that sacct does
not seem to be printing the right stats for the job.

Any clues?

Thanks,
Pavan

Reply via email to