[slurm-users] save job comment into job completion data

Fred Liu Fred_Liu at issi.com
Mon Jul 6 08:09:26 UTC 2020


I put job completion info into a MySQL database from which I can keep a thorough job history. The job accounting (without -c) database can’t hold a long history.

________________________________
发件人: slurm-users <slurm-users-bounces at lists.schedmd.com> 代表 Ole Holm Nielsen <ole.h.nielsen at fysik.dtu.dk>
发送时间: 星期一, 七月 6, 2020 4:01 下午
收件人: slurm-users at lists.schedmd.com
主题: Re: [slurm-users] save job comment into job completion data

On 7/5/20 5:42 PM, Fred Liu wrote:
> It looks job comment won't be saved into job completion data, for I can't see it when I use sacct -c
> But I can see it when I use sacct(without -c).
>
> Is it possible to make it work?

The sacct manual page explains the -c parameter:

-c, --completion
Use job completion data instead of job accounting. The JobCompType
parameter in the slurm.conf file must be defined to a non-none option.

I'm not familiar with the job comment field, but you say that it is
printed without -c with the job accounting data. Why do you want or
expect this to work with the job completion data?


/Ole

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20200706/b63a1d22/attachment.htm>


More information about the slurm-users mailing list