[torquedev] epilogue job exit code

Gareth.Williams at csiro.au Gareth.Williams at csiro.au
Thu Jun 16 06:50:53 MDT 2011


> -----Original Message-----
> From: torquedev-bounces at supercluster.org [mailto:torquedev-
> bounces at supercluster.org] On Behalf Of Eiríkur Hjartarson
> Sent: Thursday, 16 June 2011 10:41 PM
> To: Torque Developers mailing list
> Subject: Re: [torquedev] epilogue job exit code
> 
> Hi,
> 
> > -----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 11:46
> > To: torquedev at supercluster.org
> > Subject: [torquedev] epilogue job exit code
> >
> > Hi All,
> >
> > 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?

- Gareth

> 
> Regards,
> --
> Eiríkur Hjartarson      E-mail: Eirikur.Hjartarson at decode.is
> Íslensk Erfðagreining   Mobile: +3546641898
> Sturlugötu 7
> IS-101 Reykjavík
> _______________________________________________
> torquedev mailing list
> torquedev at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torquedev


More information about the torquedev mailing list