We put this exact function in epilogctld
On Mon, Jul 9, 2018 at 4:02 AM, Franck HOUSSEN
wrote:
> Hello,
>
> How to add an epilog to the job.log I got from running "sbatch -o job.log
> job.sh" ?
> I would like to run "scontrol show job $SLURM_JOB_ID" in the epilog (track
> job info).
>
> I tried
I don't remember exactly when it comes to TaskEpilog, but the Epilog
does not put its output into the job's --output or --error file(s).
Hopefully, SchedMD will add an easy way for prologs/epilogs to write to
the job's file someday.
In the mean time, we use a dirty hack for it. Basically, our Epi
Hello,
How to add an epilog to the job.log I got from running "sbatch -o job.log
job.sh" ?
I would like to run "scontrol show job $SLURM_JOB_ID" in the epilog (track job
info).
I tried to play with Epilog and TaskEpilog in slurm.conf: but seems not to work.
Are these the correct ones ? Or did I