[gridengine users] Scheduling maintenance and using advance reservation

Reuti reuti at staff.uni-marburg.de
Wed Jun 6 22:19:57 UTC 2018


Am 06.06.2018 um 23:37 schrieb Ilya M:

> Thank you, Mark.
> My hosts belong to multiple queues, but all queues have the same projects. So perhaps I can just remove all projects from queues' configuration.

Often also a calendar is used to disable certain queues. Once the calendar is defined, it can even be attached to a queue on the command line with `qconf -aattr queue calendar wartung common` where "wartung" is the name of the calendar and "common" the addressed queue. 

In your case I must admit you would need for sake of easiness a hostgroup containing all GPU nodes:

qconf -mattr queue calendar wartung common@@myGPUgroup

-- Reuti


> Ilya.
> 
> 
> On Wed, Jun 6, 2018 at 2:41 AM, Mark Dixon <m.c.dixon at leeds.ac.uk> wrote:
> On Tue, 5 Jun 2018, Ilya M wrote:
> ...
> Is there a way to submit AR when there are projects attached to queues? I am using SGE 6.2u5.
> ...
> 
> Hi Ilya,
> 
> I've run into this, too: I'm afraid that there isn't. I logged it here:
> 
> https://arc.liv.ac.uk/trac/SGE/ticket/1466
> 
> I started to fix it but ran out of time. I ended up reproducing the queue/project functionality in a way that works with ARs by:
> 
> 0) Remove the queue's project setting
> 1) Added the project's ACL to the queue's user_lists
> 2) Added a new complex called 'project'
> 3) On every host, set a default value for complex 'project'
> 4) On your gpu nodes, set an alternative value for complex 'project'
> 5) Added "-l project=<some_default>" to $SGE_ROOT/$SGE_CELL/common/sge_request 6) Used a JSV to rewrite the job to change its project complex request
>    if the job requests particular projects.
> 
> It's a bit of a faff, but it means you can do it without fixing/upgrading your scheduler. Only works if each host only belongs to one queue.
> 
> Does that help?
> 
> Mark
> 
> _______________________________________________
> users mailing list
> users at gridengine.org
> https://gridengine.org/mailman/listinfo/users





More information about the users mailing list