[gridengine users] release job dependency hold upon starting of dependent job instead on completing job

Happy Monk gascan211 at gmail.com
Thu May 2 17:31:18 UTC 2013

Thanks for the quick reply Reuti.

How can I restrict prolog to only certain jobs ? Here is the LSF recipe
that we are trying to implement in SGE


bsub < preproc.sh


bsub -w 'done($LSB_JOBID)' < hostjob.sh


bsub -w 'started($LSB_JOBID)' < computejob.sh


On Thu, May 2, 2013 at 9:00 AM, Reuti <reuti at staff.uni-marburg.de> wrote:

> Hi,
> Am 02.05.2013 um 17:10 schrieb Happy Monk:
> > Is there any way to release hold of a job immediately after the
> dependent job started, usually this hold is released after execution of the
> dependent job.
> >
> > This function is available in LSF but checking whether its also
> available in SGE or not.
> Not directly. You could use a queue prolog to remove the actual starting
> job from all jobs which depend on this one. This makes it necessary, that
> all exechosts are also submission hosts.
> To remove a complete -hold_jid list, you can give the job id 0 there to
> `qalter`. As this job id will never be a real job, it always satisfies the
> condition as being completed already.
> -- Reuti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gridengine.org/pipermail/users/attachments/20130502/bbcb9ae4/attachment.html>

More information about the users mailing list