Hi,

Am 28.04.2013 um 11:53 schrieb Yehia R. El Shater:

> I am beginner in using SGE. I want to assign priorities to the jobs in the 
> queue. I tried by using qmon but it did not work.

What did you try in detail?


> Also it tried to pass the priority using qsub command and –p option (e.g. 
> qsub –p -100).

This will lower of course the actual priority of the waiting jobs.


>  My objective is to make the queue list acts like a stack (not queue) which 
> means the last come first serve.

You can assign a negative waiting time weight (it's also necessary to give 
"weight_urgency" a value unequal to zero):

$ qconf -ssconf
...
weight_waiting_time  -10.000000
...
weight_urgency  1.000000


Setting "report_pjob_tickets  TRUE" in the scheduler configuration will allow 
you to check the computed priority.

See `man sge_priority` for the formular.

-- Reuti

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

Reply via email to