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-boun...@lists.schedmd.com> 代表 Ole Holm Nielsen 
<ole.h.niel...@fysik.dtu.dk>
发送时间: 星期一, 七月 6, 2020 4:01 下午
收件人: slurm-users@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

Reply via email to