[GE users] Users defined exit values for job requeue (issue #1053)

Ara.T.Howard Ara.T.Howard at noaa.gov
Mon May 17 19:27:10 BST 2004


On Mon, 17 May 2004, Rayson Ho wrote:

> >So, in most cases, it's safer to do something like:
> >
> >#!/bin/csh
> >run_my_program
> >if ($? == 45) then
> >	exit 99
> >endif
> 
> But if there is no job script (eg. qrsh when it supports requeue), then
> user defined exit values would be useful.
> 
> Rayson


  ~ > export SGE_RESUB=2:45:99
  ~ > qrsh

works with scripts and qrsh ??

-a

> 
> >
> >If and only if I know that the specific exit code 45 from this program 
> >means a transient error, I translate it into SGE exit code 99 which 
> >means rescheduling.
> >
> ---------------------------------------------------------
> Get your FREE E-mail account at http://www.eseenet.com !
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net
> 

-- 
===============================================================================
| EMAIL   :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
| PHONE   :: 303.497.6469
| ADDRESS :: E/GC2 325 Broadway, Boulder, CO 80305-3328
| URL     :: http://www.ngdc.noaa.gov/stp/
| "640K ought to be enough for anybody." - Bill Gates, 1981
===============================================================================


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list