[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Condor-users] Priority = $(DAGManJobId)



Hi,

While looking for information on prioritizing dags I found this post (again) :

You can now use DAGManJobId as the value of your job's queue priority, like so:
 Priority = $(DAGManJobId)

This will ensure that jobs submitted by earlier DAGMans will have local, per-user queue priority over jobs submitted by later DAGMans.

I don't really get it. I thought job priority works the other way, higher priority is preferred. And in case I'm right than how can I use the priority expression at all? Should I subtract the DAGManJobId from a really huge number and hope that job ids will never reach it? (I tried using negative values to get around this problem but they seem to be clipped at -1.)

Or is a job rank expression the way to go?

Cheers,
Szabolcs