[gridengine users] Scheduling maintenance and using advance reservation
m.c.dixon at leeds.ac.uk
Thu Jun 7 08:12:44 UTC 2018
Yes, it sounds like it should still work in that situation. Hope you find
a less ugly method, though :)
On Wed, 6 Jun 2018, Ilya M wrote:
> 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.
> 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:
>> 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?
More information about the users