Hi.

You have two gpu on one host.. why not define a consumable resource gpu=2 and request it with -l gpu=1 ?

the value of gpu will be decreased by one, and it would be possible for another job to ask for the remaining gpu.. or you could request two gpus for one job, with -l gpu=2

Best regards.
Robi


Il 19.11.2014 14:44, Kevin Taylor ha scritto:
I'm not sure if this is possible or not, but thought I'd ask it.

We have a setup of consumable resources for our GPUs. If a system has
two we have a complex called gpu1_free and gpu2_free. They'll be equal
to 1 if they're free and zero if they're not. Typically we just request
like this:   qsub -l gpu1_free=1 job.sh

Is there a way though qsub to say

qsub -l gpu1_free=1 OR gpu2_free=1 job.sh

I know putting multiple -l's will ask for both, but we just want one or
the other, whichever.

Univa has that nice RSMAP feature that would solve our issue, but we
haven't worked out finances on that yet so we're seeing if we can just
make it work a little easier with what we have.

Thanks.



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

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

Reply via email to