[GE users] DRMAA: monitoring job status

Daniel Templeton Dan.Templeton at Sun.COM
Thu Jun 22 13:54:35 BST 2006


    [ 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. ]

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.

Daniel

Ron Chen wrote:
> You can also use qevent to monitor job completion events:
>
> http://gridengine.sunsource.net/servlets/ReadMsg?listName=users&msgNo=2910
>
> In fact, with the event notification interface in SGE, you can
> get any kind of events from the qmaster without constantly
> polling the qmaster.
>
>  -Ron
>
>
>
> --- Jeff White <jsw at farecast.com> wrote:
>   
>> I want to create a component that continually monitors for
>> completed 
>> jobs. It seems that I can only call
>> Session.wait(JOB_IDS_SESSION_ANY) 
>> when there are queued/running jobs. If I call wait() before
>> any jobs 
>> have been submitted or after they all complete I am thrown an 
>> InvalidJobException. I was hoping to have an independent
>> thread that 
>> continually waits for completed jobs. Must I coordinate with
>> the 
>> submission of jobs so I know when it is appropriate to call
>> wait()?
>>
>> jeff
>>
>>
>>     
> ---------------------------------------------------------------------
>   
>> To unsubscribe, e-mail:
>> users-unsubscribe at gridengine.sunsource.net
>> For additional commands, e-mail:
>> users-help at gridengine.sunsource.net
>>
>>
>>     
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net
>
>   

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