[GE users] PE allocation rules

Reuti reuti at staff.uni-marburg.de
Thu Jul 19 19:29:48 BST 2007

    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

Am 19.07.2007 um 19:41 schrieb Shannon V. Davidson:

> Here's a simple problem.
> I have four 8-CPU hosts.
> I run serial jobs and distributed parallel MPI jobs on the hosts
> I want to schedule a 10 CPU distributed parallel job.
> For efficiency reasons, I need to run no less than 2 MPI tasks  
> (slots) of the job on each host.
> What PE allocation rule can I use?
> If I use $fill_up or $round_robin, I'll likely schedule an odd  
> number of MPI tasks on a host.  If I create several PE's with a  
> specific number for the allocation rule ("mpi2", "mpi4", and "mpi8"  
> PEs with allocation_rules of 2, 4, and 8 respectively), and submit  
> the job with a wildcard PE (-pe "mpi*" 10), the job will sit in the  
> pending queue forever, since none of these individual PEs will  
> support the scheduling of 10 CPUs.


> Am I missing something obvious?


> Perhaps it's possible to force the scheduling of 2 slots per host  
> by using $fill_up with some strange resource definition and  
> request, but I haven't resorted to trying that yet.  Instead, I'm  
> working on an RFE to support a flexible PE allocation rule.

I also thought already of such "ranges" for limits in a more general  
way by using resource requests:


So it could be put there by a new entry in the resource quotas like:

limit pes my_special_pe hosts {*}  to pe_allocation_rule=(2,10,2)

-- Reuti

To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net

More information about the gridengine-users mailing list