[torqueusers] Exit status = -3

Glen Beane glen.beane at gmail.com
Fri Apr 18 05:32:55 MDT 2008


On Fri, Apr 18, 2008 at 5:14 AM, Arnau Bria <arnaubria at pic.es> wrote:

> On Tue, 15 Apr 2008 10:05:05 -0400
> Glen Beane wrote:
>
> Hi,
>
> > this probably isn't much help, but this is what the torque exit
> > statuses mean:
> >
> >
> > #define JOB_EXEC_OK        0    /* job exec successful */
> > #define JOB_EXEC_FAIL1    -1    /* job exec failed, before files, no
> > retry */
> > #define JOB_EXEC_FAIL2    -2    /* job exec failed, after files, no
> > retry */
> > #define JOB_EXEC_RETRY    -3    /* job execution failed, do retry
> > */ #define JOB_EXEC_INITABT  -4    /* job aborted on MOM
> > initialization */ #define JOB_EXEC_INITRST  -5    /* job aborted on
> > MOM init, chkpt, no migrate */
> > #define JOB_EXEC_INITRMG  -6    /* job aborted on MOM init, chkpt, ok
> > migrate */
> > #define JOB_EXEC_BADRESRT -7    /* job restart failed */
> > #define JOB_EXEC_CMDFAIL  -8    /* exec() of user command failed */
>
> what about exit status like 1, 15, 271... I mean, positive numbers?
>
> What are they meaning? are they job exit status? more pbs error codes?



anything positive is set by the job, so if you use bash for your shell you
would check bash return values (e.g. if your job is terminated with a fatal
signal bash returns the signal number + 128)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20080418/5447f04c/attachment.html


More information about the torqueusers mailing list