Hi,

Am 04.12.2011 um 11:57 schrieb mahbube rustaee:

> I defined an exclusive  tag in complex resources for users that can request 
> "-l excl=1 "
> Such users, lock free slots of hosts  that have added excl=true to consumable 
> resources.
> 
> 1) In this case, how can I get accounting for all of slots that a user cause 
> to lock on hosts?

it's not recorded in the accounting file where the job ran, i.e. a 
"pe_hostfile" like record. As a result also the blocked slots are not recorded. 
What you can try if you need it: use a global (or queue) prolog, which runs 
under e.g. the sgeadmin account by prefixing it with the name (see `man 
queue_conf`, resp. `man sge_conf`) and copy the "pe_hostfile" with the 
information of the distribution to a central place. Whether the exclusive 
access was requested, is recorded already in the accounting file (like all -l 
resource requests).

With this information, you can compute the real blocked cores then.

-- Reuti

NB: although the exclusive attribute is often attached to exechosts, it can 
also be attached to queues (i.e. exclusive access to queue instances). But as 
you know how your cluster was set up, you can set it up in the correct way in 
your processing of the "pe_hostfile" then to honot the blocked slots correctly.


> 
> Any suggestion would be appriciated.
> Thx
> 
> _______________________________________________
> 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