[Moabusers] multiple software requirements

Gareth Williams wil240 at csiro.au
Thu May 31 06:37:05 MDT 2007


I have a need to run jobs that have two software requirements.  One is a 
generic consumable resources sort of requirement (4 licenses available to 
run anywhere) and the second is a piece of software that is only installed 
on some nodes.  Since they are both software requirements, I would like to 
be able to specify "qsub -l software=A,software=B" or similar, but it 
seems that torque only uses the last software option in this case - which 
is fine for one software requirement, but not two.

-l gres=A:1,gres=B:1 which seems to be recommeded by 
http://www.clusterresources.com/products/mwm/docs/13.3rmextensions.shtml#gres 
has the same behaviour.

-W x=GRES:A+1,B+1 seems to work.  Am I being too fussy when I say this 
seems very obtuse and I would prefer to recommend a simpler syntax to 
users?

Perhaps there is a simpler way that I can't find documentation for.

Any ideas?

I'm running torque 2.1.7-snap.200611061737 and the current moab.
Moab has both software A and B defined as GRES (floating and node locked) 
nad requesting either resource on its own works.

thanks,

Gareth Williams

ps. Yes I could use node properties for the second piece of software but I 
prefer not to tell users to request some software in one way and some in 
another.


More information about the moabusers mailing list