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

templedf daniel.templeton at oracle.com
Tue Apr 6 22:59:47 BST 2010


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.

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



More information about the gridengine-users mailing list