Hi,

Am 23.05.2013 um 11:16 schrieb Peter Kraus:

> Hello,
> I hope this is the right place to ask questions like this.
> 
> In our cluster, we have a couple of different nodes - some good for serial 
> codes, some good for parallel jobs, and some general-purpose ones. I have set 
> up a hostgroup and a queue for each of these.

It is preferable to put all in queue only. In SGE you specify resource requests 
and SGE will select an appropriate queue instance for the job which fulfills 
the request. For parallel jobs it's advisable to request a PE (parallel 
environment) anyway, and hence the serial queues get no PE attached, and the 
parallel queue OTOH gets the qtype set to NONE. For the mixed hosts, both 
entries can be set:

$ qconf  -sq all.q
...
qtype BATCH INTERACTIVE,[@parallel_only=NONE]
...
pe_list smp mpich orted,[@serial_only=NONE]

The order of the hosts can be defined by the seq_no setting in the queue (`man 
queue_conf`) by using the above mentioned notation for various hostgroups and a 
corresponding setting in the scheduler for "queue_sort_method" (`man 
sched_conf`).

-- Reuti


> 
> How do I go about making a "queue", say, for serial jobs, which will fill up 
> all the serial-optimised nodes first, and then start filling up the 
> general-purpose ones?
> 
> Additionally, I'd like the "general-purpose" nodes be accessible for use for 
> both serial and parallel jobs, without oversubscribing.
> 
> Thanks!
> Peter
> 
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users


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

Reply via email to