[torqueusers] Negative (-2) Exit_status

Alberto Simões hashashin at gmail.com
Wed Dec 27 04:38:12 MST 2006


On 12/27/06, Chris Samuel <csamuel at vpac.org> wrote:
> On Saturday 23 December 2006 09:07, Alberto Simões wrote:
> > 12/22/2006 22:01:42 S Exit_status=-2
> This will be the exit status of the last command that your PBS script ran, so
> you'll need to check the documentation for whatever program that is.

In fact that was my conclusion as well. I tried to run a program that returns -2

   int main(void) { return -2; }

as a PBS job, but as processes in Unix return an unsigned char, I get
254... not -2 as an exit_status.

Thus, I still do not understand that -2


Alberto Simões

More information about the torqueusers mailing list