Hi,

Am 25.05.2014 um 13:30 schrieb ueki.hikonuki:

> Yes, I should've explained it first.
> 
> This plug-in is used for managing a hardware resource.
> There is a server process to manage the hardware.

This means outside of SGE it's used too.


> When users try to submit a job which uses the hardware, the plug-in makes a 
> query to
> the server process if the requested resource is available.
> 
> If it is available, the server process returns the set of resources.
> The plug-in then reserves one of the sets returned.
> Now LSF submits the job with the reserved hardware resource.
> 
> I thought this was similar to using GPU resource in the following discussion.
> 
> http://serverfault.com/questions/322073/howto-set-up-sge-for-cuda-devices
> 
> However, in my case, any delay like loadsensor is not acceptable.
> I'm not sure if the loadsensor can do what the plug-in does.

Maybe you can directly set a consumable complex when the server process for the 
hardware releases it? I mean issuing something like:

$ qconf -mattr exechost complex_values MyResource=1 nodeXY

resp. resetting it to 0. The external server process has then to check what the 
actual value of the complex is, i.e. whether SGE used it already, before an 
external application can use it.

-- Reuti


> Thanks,
> 
> Ueki
> 
> -------- Original Message  --------
> Subject: Re: [gridengine users] how to create plug-in ?
> From: Reuti <[email protected]>
> To: ueki.hikonuki <[email protected]>
> Date: Sun May 25 2014 16:57:14 GMT+0900 (JST)
> 
>> Hi,
>> 
>> Am 25.05.2014 um 04:29 schrieb ueki.hikonuki:
>> 
>> 
>>> I'm using a plug-in for LSF.
>> 
>> A Plug-in for which application to do what?
>> 
>> -- Reuti
>> 
>> 
>>> I'm wondering if I can create a similar plug-in for GridEngine.
>>> 
>>> So my questions are:
>>> 
>>>  Is it possible to create a plug-in for GridEngine?
>>>  If so, is there a document for that?
>>> 
>>> Thank you,
>>> 
>>> Ueki
>>> _______________________________________________
>>> users mailing list
>>> [email protected]
>>> https://gridengine.org/mailman/listinfo/users
>> 
>> 
> 


_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to