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

Rayson Ho raysonho at eseenet.com
Mon May 17 19:48:37 BST 2004


    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

>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

>
>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




More information about the gridengine-users mailing list