[GE users] DRMAA: monitoring job status

Daniel Templeton Dan.Templeton at Sun.COM
Thu Jun 22 15:39:45 BST 2006

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


Yes.  That's where this conversation started.  Because DRMAA will throw 
an exception when waiting for a job while there is no job, he'll have to 
poll in a loop and ignore the exception.


Piotr Domagalski wrote:
> On Thu, Jun 22, 2006 at 03:03:38PM +0200, Andreas.Haas at Sun.COM wrote:
>> On Thu, 22 Jun 2006, Daniel Templeton wrote:
>>> Ron,
>>> That's also how DRMAA works.  Calling Session.wait() doesn't hit the 
>>> qmaster. It blocks internally until the qmaster sends a job finish event.
>> Yep. Besides qevent anyways would not help Jeff, to write his app in a 
>> way that no synchronization between the threads is required.
> But doesn't DRMAA wait work the way that it only waits for jobs that
> were submitted in the session up to the moment drmaa_wait() call is
> performed? This doesn't help Jeff much, he'd still need to pool...

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