[GE users] Can a job tell which slot it's run on ?

templedf daniel.templeton at oracle.com
Tue Apr 6 23:26:44 BST 2010


Oh, fine.  Yes, that's a better idea. ;)

Daniel

On 04/06/10 15:06, reuti wrote:
> Am 06.04.2010 um 23:59 schrieb templedf:
>
>> There isn't really such a concept as "which" slot the job is in.  Your
>> best bet would be a prolog or custom starter that uses file locks to
>> figure out which USB device to take.
>
> What about 4 queues each having one slot named fubar.1.q, fubar2.q, ...?
>
> -- Reuti
>
>
>> Daniel
>>
>> On 04/06/10 13:48, bdbaddog wrote:
>>> Greetings,
>>>
>>> If I have 4 slots on a machine, can a job tell which of the four
>>> slots
>>> it's running in?
>>> We may have N distinct USB devices we want our tests to utilize when
>>> running on a given host, and we'd like to assign each slot to it's
>>> own
>>> USB device.
>>>
>>> I suppose also, if we have a global consumable HW_AVAIL, say it's set
>>> to 4 and consumable, will the job know which of the 4 it's using?
>>>
>>> Thanks,
>>> Bill
>>>
>>> ------------------------------------------------------
>>> http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=252521
>>>
>>> To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net
>>> ].
>>
>> ------------------------------------------------------
>> http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=252528
>>
>> To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net
>> ].
>
> ------------------------------------------------------
> http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=252530
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].

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

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



More information about the gridengine-users mailing list