[GE users] Waiting for any of a number of jobs via DRMAA-python

templedf dan.templeton at sun.com
Wed Jun 24 05:23:55 BST 2009


Yes, don't use synchronize().  The wait() call does the same thing and 
lets you wait for any.

Daniel

hoffman wrote:
> Hi,
>
> I am using drmaa-python 0.4a2 and SGE 6.1u5 to submit a number of jobs.
> I would like my script to be informed when any of these complete.
> Session.synchronize() will only tell me when all of them are complete.
> Is there a way to do this short of continuously polling each individual
> job with Session.wait(), which seems like it would be a big waste of
> resources?
>
> Thanks,
> Michael
>
> ------------------------------------------------------
> http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=203201
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].
>

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=203223

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



More information about the gridengine-users mailing list