Il 15.05.2014 19:17, Reuti ha scritto:
Am 15.05.2014 um 15:02 schrieb Roberto Nunnari:

Hi :-)

I'm now playing with hostgroups.

I would like users to be able to submit jobs specifying a preferred hostgroup..

up to now I found only this method:
qsub -q *@@hexcoreamd.hg myscript
But I'd rather avoid using the -q option.. also that pretty ugly..

I also tried:
qsub -l hostname=@hostgroup myscript
but hostname wants a real hostname


Then I tried with complex (a different approch without hostgroups):

$ qconf -sc |grep core
hexacore_amd        hcorea     BOOL        ==    YES         NO 0        0
quadcore_amd        qcorea     BOOL        ==    YES         NO 0        0
quadcore_intel      qcorei     BOOL        ==    YES         NO 0        0
seicore_intel       scorei     BOOL        ==    YES         NO 0        0

$ qconf -se node01 |grep core
complex_values        mem_free=31.4G,quadcore_amd=true

and that works with
qsub -l qcorea myscript


Any more ideas?

Similar to your extension, but only one CSTRING complex (see `man complex`), 
which can be set to the actual value in each exechost's definition. The 
advantage compared to the BOOL setup is, that you can use expressions in case 
you want to include/exclude more than one platform.

hehehe.. I like that.. much cleaner! ;-)

Thank you and best regards.
Robi

_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to