Reuti <[email protected]> writes:

> Idea 2: are these serial or parallel jobs? For serial ones one can
> setup two queues with sort oder in opposite direction, filling the
> cluster with different types of jobs from both ends.

If you fudge serial jobs as 1-slot parallel ones, you can sort the queue
instances with the PQS API, but that requires writing a shared object
<https://arc.liv.ac.uk/repos/darcs/sge/source/libs/sched/sge_pqs_api.h>.

It's messy, but I think you could use an adaptation of the Olesen
(flex-grid) scheme to keep track of the licences, with a host-level
complex indicating use of the resource on the host and a global complex
maintaining a total of such hosts and any external usage.  I haven't
thought much about it, though.
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to