[torqueusers] Creating a queue for certain nodes

シピオニ ロベルト SCIPIONI.Roberto at nims.go.jp
Tue Oct 21 16:50:56 MDT 2008


> The way I have seen that you could make this work is to put inside 
> 
> your script on the nodes = line the following
> #PBS -l nodes=1:ppn=4:node11

Yes that is the way I normally do. 
However, some programs allow you to select the queue but not the script so that it would be nice to have a way using 
qsub -q QUEUE  to make sure that the job goes there of course 
we would still need a reliable way of specify the number of cpus

Thanks

RS
 
 
> This will guarantee that this will go to node 11.  The queue name  
> will place it on the queue but not the node.  For some reason I 
> have  
> found that the property in the server_priv/nodes file only works 
> on  
> the -l nodes=x:ppn=x:<property> and not in the qmgr side.  If this 
> is  
> a bug then someone should check into it.
> 
> Jackie
> 
> On Oct 20, 2008, at 7:03 PM, SCIPIONI Roberto wrote:
> 
> > I tried to create a queue that puts the jobs only in the node 11
> >
> > The extract from the command pbsnodes tells me that
> >
> > slavenode11
> >      state = free
> >      np = 8
> >      properties = big,8core,node11
> >      ntype = cluster
> >      status = opsys=linux,uname=Linux SLAVENODE11 2.6.5-7.244-
> smp  
> > #1 SMP Mon Dec 12 18:32:25 UTC 2005 x86_64,sessions=?  
> > 15201,nsessions=?  
> > 
> 15201,nusers=0,idletime=7342331,totmem=12366300kb,availmem=12271880kb, 
> > 
> physmem=8157292kb,ncpus=8,loadave=0.11,netload=64966591093066,state=fr 
> > ee,jobs=? 15201,rectime=1224551444
> >
> >
> > so, it has been given a property     node11
> >
> > then I created a queue
> >
> >
> > create queue node11
> > set queue node11 queue_type = Execution
> > set queue node11 resources_default.nodes = node11
> > set queue node11 resources_default.walltime = 24:00:00
> > set queue node11 max_user_run = 5
> > set queue node11 enabled = True
> > set queue node11 started = True
> >
> >
> > But when I submit a job with the script
> >
> >
> > #!/bin/sh
> > ###########################################################
> > #PBS -N TEST
> > #PBS -l walltime=100:00:00
> > #PBS -l nodes=1:ppn=4
> > ############################################################
> > cd ${PBS_O_WORKDIR}
> > .
> > .
> >
> >
> > using the command
> >
> >
> > qsub -q node11 script.sh
> >
> >
> > the job would go to the fiorst available node on the list
> >
> > /server_priv/nodes
> >
> > and NOT on the node11.
> >
> > That differs to waht specified in the manual of Torque on 
> section  
> > 4.1.4
> >
> >
> > Any suggestions to why it does not work ?
> >
> >
> >
> > Roberto Scipioni
> >
> > ps
> >
> > I also tried
> >
> > create queue node11
> > set queue node11 queue_type = Execution
> > set queue node11 resources_default.neednodes = node11
> > set queue node11 resources_default.walltime = 24:00:00
> > set queue node11 max_user_run = 5
> > set queue node11 enabled = True
> > set queue node11 started = True
> >
> > with the same result !!!
> >
> >
> > _______________________________________________
> > torqueusers mailing list
> > torqueusers at supercluster.org
> > http://www.supercluster.org/mailman/listinfo/torqueusers
> 
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
> 


More information about the torqueusers mailing list