Hi Ian,

You could enforce this in a JSV script.
Check to which queue the jobs are submitted, add a -l gpu=0 to jobs submitted to low.q and reject jobs submitted to gpu.q with no -l gpu value (or whatever behaviour you want).

Txema

El 17/07/14 03:52, Ian Mortimer escribió:
Hi

For nodes with GPUs I've configured a gpu.q queue and a forced complex.
The same execution hosts are included in a low priority queue for
regular cpu jobs not needing a gpu so no forced complex.

What I'm aiming for is that jobs submitted to gpu.q require
'-l gpu=[012]' but jobs submitted to low.q don't however jobs submitted
to the low prioriy queue without '-l gpu=0' don't run.

qstat for the pending job shows:

   does not request 'forced' resource "gpu" of host node70

qconf -se shows this for node70:

   complex_values        NONE

qconf -sq shows this for low.q and for low.q@node70:

   complex_values        NONE

qconf -sq shows this gpu.q and for gpu.q@node70:

   complex_values        gpu=2

Is there a way to configure the complex so it applies to jobs
submitted to gpu.q but not jobs submitted to low.q?


Thanks

_______________________________________________
users mailing list
users@gridengine.org
https://gridengine.org/mailman/listinfo/users

Reply via email to