[GE users] Partitions with SGE

steve_s elcorto at gmx.net
Tue Jun 30 11:58:50 BST 2009


On Jun 30 12:16 +0200, joga  wrote:
> >  
> > OK, so if I understand correctly, one does not define partitions as such
> > (like in Maui for instance) and assigns nodes directly to them
> >
> >     NODECFG[node001]   PARTITION=astronomy
> >     NODECFG[node002]   PARTITION=astronomy
> >     ...
> >     NODECFG[node049]   PARTITION=math 
> >
> > but instead defines a queue for each node and groups them together into
> > arbitrary hierarchies (PEs). Thanks.
> >   
> You can use hostgroups (see hostgroup.5) to define partitions, e.g:
> % qconf -ahgrp
> group_name @astronomy
> hostlist node001 node002 ...
> 
> qconf -ahgrp
> group_name @math
> hostlist node049 ...
> 
> and use these hostgroups to list the pes in a queue - you don't need a 
> queue per node,
> you could define such a setup with just a single queue:
> qconf -mq all.q
> ...
> pe_list    mpi_single_node,[@astronomy=mpi_astronomy],[@math=mpi_math]
> ...
> 
> then you can submit a job with
> qsub -pe "mpi_*" 32 ...
> and it will get scheduled to hosts in one partition (or on a single host 
> in this example).
>

That even better, thanks!

best,
Steve

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

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



More information about the gridengine-users mailing list