Re: [slurm-users] strigger being called but program not executing (take 2)

2022-01-18 Thread Jared Baker
I suppose after looking at your other post (w/ images) you had tried quoting elements. I'd be suspicious about using IO redirection here within Slurm. I imagine there is no guarantee that Slurm triggers invokes a shell either and perhaps just does an exec. I'd wrap it up in a shell script file, mak

Re: [slurm-users] strigger being called but program not executing (take 2)

2022-01-18 Thread Jared Baker
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. `strigger --set --jobid=523 --fini --program="/bin/echo 'job complete' >> /tmp/trigger.txt"` jared On Tue, Jan 18, 2022 at 8:48 AM

[slurm-users] strigger being called but program not executing (take 2)

2022-01-18 Thread John Yost
whoops, I guess images are not supported, sorry about that! Here's what i am seeing: $ sbatch simple.slurm Submitted batch job 523 $ strigger --set --jobid=523 --fini --program=/bin/echo "job complete" >> /tmp/trigger.txt $ strigger --get --jobid=523 TRIG_ID RES_TYPE RES_ID TYPE

[slurm-users] strigger being called but program not executing

2022-01-18 Thread John Yost
Hi Everyone, Trying to use strigger and, while the trigger is executed as expected, the program I've defined to be triggered does not run. The strigger is set like this: And it is set w/out errors: The trigger is called as expected when the job finishes: But the trigger.txt file is not writ