<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">I would suspect it's your invocation of strigger regarding your shell; Don't really think it's a Slurm issue. I'd probably do something like follows, but not tested.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">`strigger --set --jobid=523 --fini --program="/bin/echo 'job complete' >> /tmp/trigger.txt"`</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">jared</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 18, 2022 at 8:48 AM John Yost <<a href="mailto:hokiegeek2@gmail.com" target="_blank">hokiegeek2@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">whoops, I guess images are not supported, sorry about that!<div><br></div><div>Here's what i am seeing:</div><div><br></div><div>$ sbatch simple.slurm<br>Submitted batch job 523<br>$ strigger --set --jobid=523 --fini --program=/bin/echo "job complete" >> /tmp/trigger.txt<br>$ strigger --get --jobid=523<br>TRIG_ID RES_TYPE RES_ID TYPE OFFSET USER FLAGS PROGRAM<br> 2 job 523 fini 0 slurm /bin/echo<br>$</div><div><br></div><div>slurmctld log:</div><div><br></div>[2022-01-18T15:19:59.171] _job_complete: JobId=523 done<br>[2022-01-18T15:20:19.328] trigger uid=1338 type=job:fini exit=1:0<div><br></div><div>Although the trigger is fired, the trigger.txt file is never written, so it seems to be there is a problem executing the program I've defined, but I don't see any errors in slurmctld.log. Any ideas?</div><div><br></div><div>Thanks</div><font color="#888888"><div><br></div><div>--John<br><div> </div></div></font></div>
</blockquote></div></div>