[torqueusers] There's any way to allocate nodes by CPUs ?

Garrick Staples garrick at clusterresources.com
Thu Mar 1 16:30:33 MST 2007


On Tue, Feb 13, 2007 at 04:54:12PM -0200, Leandro alleged:
> Hi,
> 
> Sorry by the cross post, but I'm looking for a solution for a problem I have
> with Torque with and without Maui.
> 
> What I need is choose nodes by CPUs in a simpler way than "-l nodes=X:ppn=Y"
> way. What I'm looking for is a "-l cpus=X" and let the resource
> manager/scheduler choose the nodes, packing the tasks in the nodes with more
> CPUs.
> 
> I'm testing a heterogeneous cluster, where I have nodes with 2 CPUs single
> core and nodes with 2 CPUs dual core (4 CPUs). This test cluster have 3
> nodes with 4 CPUs and 2 nodes with 2 CPUs.
> 
> All the jobs we run here are called automatically by an application, which
> calls some scripts to make the job on the cluster. If I need 16 CPUs I don't
> see any easy way to make a generic script, using some standard parameters,
> to create a "-l nodes=3:ppn=4+2:ppn=2" line :-/
> 
> The easy way is to have something like "-l cpus=16" to the previous example,
> but it is possible?
> 
> Today we are using dual core CPUs but what is gonna happen when we use quad
> core CPUs? I see an ugly picture to my job allocation task...
> 
> Thanks in advance for any help,


Sorry I'm late here.  You will need maui/moab to make this work
correctly.  But just set the server's node_pack attribute to true.



More information about the torqueusers mailing list