[torquedev] epilogue job exit code

Eiríkur Hjartarson Eirikur.Hjartarson at decode.is
Thu Jun 16 07:12:49 MDT 2011



> -----Original Message-----
> From: torquedev-bounces at supercluster.org [mailto:torquedev-
> bounces at supercluster.org] On Behalf Of Gareth.Williams at csiro.au
> Sent: 16. júní 2011 12:51
> To: torquedev at supercluster.org
> Subject: Re: [torquedev] epilogue job exit code
> 

> > >
> > > Can anyone confirm that there is a bug in the job exit code (10th argument
> > > to epilogue)?  I get the right Exit_status in the server and accounting log, but
> > > in the epilogue I seem to get the a particular number regardless of the exit
> > > code and it seems to be my numeric uid (18686).
> >
> > if the epilogue is a shell script, the 10th argument must be enclosed
> > in curly parenthesis, ${10}.
> > Otherwise you get the 1.st argument (uid) with a zero appended.
> >
> > (Made this error myself and posted to the list few months back.)
> 
> Thanks but that's not my problem.  Curly parenthesis give me 18686.  If you
> run a job that has 'exit 3' does ${10} contain '3'? If so, what version of
> torque?

Version 2.4.12 does it right.

Regards,
--
Eiríkur Hjartarson      E-mail: Eirikur.Hjartarson at decode.is
Íslensk Erfðagreining   Mobile: +3546641898
Sturlugötu 7
IS-101 Reykjavík


More information about the torquedev mailing list