[Mauiusers] Torque/Maui and Resources

Garrick Staples garrick at usc.edu
Sun Dec 2 00:59:30 MST 2007


On Sun, Dec 02, 2007 at 03:31:12PM +0800, Jon Wright alleged:
> 
> 
> Hi we have 4 queues on our cluster assigning different machines to  
> different queues.
> 
> We have now bought a license for 16 nodes to run the qchem program  
> and all these 16 nodes are a subset of the 24 node 'long' queue.
> 
> We currently use the
> SRCFG[long] HOSTLIST = xxx,xxx,xxx to do the assigning
> 
> I tried to make another qeue called qchem and assign 16 of the 24  
> nodes to that queue but leaving all 24 nodes in the long queue as  
> well but any job submitted to the new qchem queue was deferred.

They shouldn't be deferred.  I'd investigate that further.

 
> I then used qmgr and
> s n i01 properties=qchem
> to assign the feature qchem to the 16 nodes with the idea in the  
> torque submission script I can use something like
> 
> #PBS -l nodes=2:ppn=2:qchem
> 
> so that all jobs are still submitted to the long queue but ones using  
> qchem are marked and so only go to qchem licensed nodes but the error  
> I get is:
> qsub -l qchem queues/qchem_run1.in
> qsub: Unknown resource type  Resource_List.qchem
> 
> Can someone give me a simple example of how 24 nodes can be assigned  
> to one queue but 16 of them can be singed out for running a  
> particular type of jobs?

You did the right thing, just note that node properties can't directly be used
as job resources.  You want to submit something like "-l nodes=qchem" or "-l
nodes=X:qchem".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/mauiusers/attachments/20071201/b1543560/attachment.bin


More information about the mauiusers mailing list