On 19 September 2012 13:36, Julien Nicoulaud <[email protected]> wrote:
> Hi all,
>
> On SGE 6.2u5, I submit jobs with -sync y and h_rt. When the jobs gets killed
> after the time is elapsed, qsub prints a "Unable to run job" message but
> exists with code 0.  I tried to trap KILL signal inside the job script, but

You can't trap SIGKILL but if you use s_rt instead of h_rt or use
-notify as well you should
be sent a signal you can trap.

> it does not seem to affect qsub return code. Is it possible to make it
> return 1 ?
>
> Note: it only behaves this way for jobs running in a tightly integrated
> parallel environment. In a loosely integrated PE, qsub returns 1 in this
> case...
>
> Regards,
> Julien
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to