[slurm-users] Epilog script does not execute
mercan
ahmet.mercan at uhem.itu.edu.tr
Mon Jul 18 11:41:59 UTC 2022
Hi;
The Epilog script will be invoked by slurm user at job's node. Who is
your slurm user? Did the slurm user have right to read & execute your
epilog script. Did you check slurmctld logs?
Also, instead of the using the /tmp directory, if you can use a shared
directory, you can look for the file at single directory.
Regards,
Ahmet M.
On 18.07.2022 13:29, Purvesh Parmar wrote:
> Hi,
>
> I have written a shell script with the name epilog-test. I have
> mentioned in the slurm.conf file :
> Epilog=/var/slurm/etc/epilog-test
> The same slurm.conf file has been copied on all the nodes.
>
> My epilog-test is
>
> #! /bin/bash
> echo "epilog test" > /tmp/testfile
>
> Chmod +x epilog-test
>
> I have restarted slurmctld on master and slurmd on the nodes. Then I
> have tested jobs, but nothing executes after the job is over.
>
> Please help
>
> Regards,
> Purvesh
>
> On Sat, 16 Jul 2022 at 12:37, Purvesh Parmar <purveshp0507 at gmail.com>
> wrote:
>
> Hi,
>
> I have written a shell script with name epilog-test. I have
> mentioned in the slurm.conf file :
> Epilog=/var/slurm/etc/epilog-test
> The same slurm.conf file has been copied on all the nodes.
>
> My epilog-test is
>
> #! /bin/bash
> echo "epilog test" > /tmp/testfile
>
> Chmod +x epilog-test
>
> I have restarted slurmctld on master and slurmd on the nodes. Then
> I have tested jobs, but nothing executes after job is over.
>
> Please help
>
> Regards,
> Purvesh
>
More information about the slurm-users
mailing list