On Thu, 6 Nov 2014 13:33:03 +0000 Yago Fernández Pinilla <yago...@gmail.com> wrote:
> Hello, > > The thing is that I need to start a process when starting a job in a node and > this process should continue executing after the job has been killed. > > The idea is that when a job starts is launches another process and after the > job has died, it will exit automatically. > > The problem that i have is that everytime you do a qdel to the job all the > processes start within that job are killed(also the one that I don´t want to). > > How is possible to do that? > Using qsub -notify should give you a warning signal before the job is killed. If the default action of the signal configured for said warning is to kill the job then your process just needs to block it and it will have a little time before receiving SIGKILL to finish off. If it is something else then your process can catch it and kill the rest of the job itself before doing whatever it needs to do. Alternatively if you are, or have the co-operation of, the cluster administrator you could tweak the termination method. -- William Hay <w....@ucl.ac.uk>
pgp2vmTK3SN8y.pgp
Description: PGP signature
_______________________________________________ users mailing list users@gridengine.org https://gridengine.org/mailman/listinfo/users