[Mauiusers] MaxjobPerNode for two queues

spitfire14 spitfire14 at bluewin.ch
Mon Dec 13 09:09:31 MST 2004

I run Maui with Torque and my aim is to have two queues on the same cluster.
One queue is a batch queue whith long run times and low priority which 
runs on all nodes of the cluster and one queue with a high priority on a 
subset of nodes to serve as a back end of a web server.

I use the virtual processor feature of Torque

Here is my torque config

Max open servers: 4
Qmgr: print server
# Create queues and set their attributes.
# Create and define queue batch
create queue batch
set queue batch queue_type = Execution
set queue batch acl_host_enable = False
set queue batch acl_hosts = cpt01+cpt02+cpt03+cpt04
set queue batch resources_max.nodect = 4
set queue batch resources_min.nodect = 1
set queue batch resources_default.neednodes = 1
set queue batch resources_default.nice = 15
set queue batch resources_default.nodect = 1
set queue batch resources_default.nodes = 1
set queue batch resources_default.walltime = 01:00:00
set queue batch enabled = True
set queue batch started = True
# Create and define queue express
create queue express
set queue express queue_type = Execution
set queue express acl_host_enable = False
set queue express acl_hosts = cpt01+cpt02
set queue express resources_max.nodect = 2
set queue express resources_min.nodect = 1
set queue express resources_default.neednodes = 1
set queue express resources_default.nice = 5
set queue express resources_default.nodect = 1
set queue express resources_default.nodes = 1
set queue express resources_default.walltime = 01:00:00
set queue express enabled = True
set queue express started = True
# Set server attributes.
set server scheduling = True
set server acl_host_enable = False
set server acl_hosts = localhost+
set server managers = root at frt01
set server default_queue = batch
set server log_events = 511
set server mail_from = adm
set server scheduler_iteration = 600
set server node_ping_rate = 300
set server node_check_rate = 600
set server tcp_timeout = 6

And now the relevant parts of maui config

NODEACCESSPOLICY                        SHARED


CLASSCFG[batch]       DEFAULT.WCLIMIT=10:00:00:00
CLASSCFG[express]     DEFAULT.WCLIMIT=02:00:00

Is it possible to limit the jobs per node for queue batch to two because 
with this config on the shared nodes  the batch queue will allocate 8 jobs.

More information about the mauiusers mailing list