Hi Michael,

On Tue, 2014-03-25 at 17:30 -0400, Michael Stauffer wrote:
> Hi,
> 
> I'm setting up a new cluster. I'd like to limit jobs to a set number of
> cores on each host. Jobs default to 1 slot currently, and I'm using
> pe_serial to keep parallel jobs restricted to single hosts because we use
> shared-memory parallel apps here.
> 
> But on an older cluster here, jobs will spill out onto more cores when the
> app's number of threads isn't limited by the user.
> 
> I found a post that mentions the '-binding' option for qsub:
> 
> "Here, we are also binding each job to a single core.
> -binding linear:1"
> 
> Does this really do that? I can't quite tell from the qsub documentation.

Yes, exactly.

> If someone uses -pe my_pe 4 -binding linear:4 to request for cores, will
> their job placement be limited if no host as 4 consecutive cores to
> allocate?

AFAIK this is done on a best-effort basis. As long as 4 consecutive
cores are available, jobs will be limited that way. If not, jobs might
even be bound to cores spread over different cpus on multi-socket
systems. On newer UGE versions (8.1+) your intended behaviour should be
configurable using the resource maps feature.

Cheers,
Andreas
-- 
| Andreas Haupt             | E-Mail: [email protected]
|  DESY Zeuthen             | WWW:    http://www-zeuthen.desy.de/~ahaupt
|  Platanenallee 6          | Phone:  +49/33762/7-7359
|  D-15738 Zeuthen          | Fax:    +49/33762/7-7216


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

Reply via email to