[GE users] Automatic job dependency

templedf dan.templeton at sun.com
Fri Jul 24 14:28:10 BST 2009

The easiest way to to assign a job name to step N, e.g "qsub -N stepN 
..." and then use the name instead of the id.  If there's the 
possibility for conflict, then you'll need to introduce some kind of 
uniqueness into the names.


igardais wrote:
> Hi list,
> One of our process could benefit from job dependency : it consists of 
> 3 steps that are run one after the other.
> The user starts a whole sequence of step1, step2 and step3 in one 
> command line (we are wrapping the submission stuff into scripts for 
> the user).
> When submitting stepN, how to retrieve job-id of stepN-1 ?
> The obvious way is to parse stepN-1's 'qsub' output to get it but I 
> wonder if there is another way to archieve this ?
> Thanks,
> Ionel


To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].

More information about the gridengine-users mailing list