Maybe strigger is what you want: it is capable of executing a script/binary when certain events occur, like job successful completion or failure.

Ethier, Michael писал 2014-06-18 21:45:
Hello,

Is there a way to make Slurm write job stats to a file on completion
or
failure?

We tried to placed the line at the end of the job script:

saact -j <jobid>
--format=JobID,JobName,Partition,MaxRSS,AveRSS,MaxRSSNode,ReqMem

but it doesn't display the stats, only zeros for the various fields.

Thanks,
Mike

Email secured by Check Point

--
Никоноров Всеволод Дмитриевич, ОИТТиС, НИКИЭТ

Vsevolod D. Nikonorov, JSC NIKET

Reply via email to