On 7 Feb 2012, at 16:50, Reuti wrote: > Hi, > > Am 07.02.2012 um 16:57 schrieb Hugh Macdonald: > >> I just tried something here, that is apparently not possible, so I was >> wondering if anyone had any alternate suggestions for how to do it... >> >> For a piece of software, I've got 12 type A licenses and another 12 type B >> licenses. I can do the same thing with either, but I need to change a flag >> on the command line to get it to pick up one or the other. >> >> >> I tried creating two consumables: >> >> licenses : 24 >> licenses_b : 12 >> And then making jobs have a hard request for 'licenses' and a soft request >> for 'licenses_b' (I would then check whether a job has been granted >> 'licenses_b', and add a flag appropriately. > > Two dedicated queues for this type of job would do which you can request by a > forced boolean complex, each having a overall slot count of 12 by an RQS. > Depending on the name of the queue you can then request the correct type of > license. > > If you don't like too many queues: you could also set up two PEs (each with > 12 slots defined in the PE definition) and request them by a wildcard and a > slot count of 1. Here you can then use the name of the PE you got, and don't > need any RQS. > > (In case these are already parallel jobs, you would need the former option > though.) > > -- Reuti
Thanks for the tips - that's very useful. I've already got parallel jobs here, so it would have to be the queue option. I'm actually trying to persuade the developers of the software to allow a flag that says "pick up a render license if available, otherwise use a GUI license", which would negate any need for this. Unless they tell me that they're doing that soon, though, I'll look at implementing what you suggested with queues. Thanks Hugh Macdonald nvizible – VISUAL EFFECTS [email protected] +44(0) 20 3167 3860 +44(0) 7773 764 708 www.nvizible.com > > >> However, qsub told me that I can't soft request consumable resources. >> >> Any suggestions as to how I might be able to do this? >> >> >> Thanks >> >> Hugh Macdonald >> nvizible – VISUAL EFFECTS >> >> [email protected] >> +44(0) 20 3167 3860 >> +44(0) 7773 764 708 >> >> www.nvizible.com >> >> _______________________________________________ >> users mailing list >> [email protected] >> https://gridengine.org/mailman/listinfo/users >
_______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
