<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<div dir="ltr">
<div></div>
<div data-ogsc="" style="">
<div>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.</div>
<div><br>
</div>
<div class="ms-outlook-ios-signature"></div>
</div>
<div id="id-1e35697b-ce08-497e-a2e6-22daea96b705" class="ms-outlook-mobile-reference-message">
<hr style="display: inline-block; width: 98%; font-family: -webkit-standard; font-size: 12pt; color: rgb(0, 0, 0);" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif"><b>发件人:</b> slurm-users <slurm-users-bounces@lists.schedmd.com> 代表 Ole Holm Nielsen <ole.h.nielsen@fysik.dtu.dk><br>
<b>发送时间:</b> 星期一, 七月 6, 2020 4:01 下午<br>
<b>收件人:</b> slurm-users@lists.schedmd.com<br>
<b>主题:</b> Re: [slurm-users] save job comment into job completion data
<div> </div>
</font></div>
On 7/5/20 5:42 PM, Fred Liu wrote: <br>
> It looks job comment won't be saved into job completion data, for I can't see it when I use sacct -c
<br>
> But I can see it when I use sacct(without -c). <br>
> <br>
> Is it possible to make it work? <br>
<br>
The sacct manual page explains the -c parameter: <br>
<br>
-c, --completion <br>
Use job completion data instead of job accounting. The JobCompType <br>
parameter in the slurm.conf file must be defined to a non-none option. <br>
<br>
I'm not familiar with the job comment field, but you say that it is <br>
printed without -c with the job accounting data. Why do you want or <br>
expect this to work with the job completion data? <br>
<br>
<br>
/Ole <br>
<br>
</div>
</div>
</body>
</html>