[torqueusers] Routing queue -> always the same execution queue

Nicolas Ferré nicolas.ferre at univ-provence.fr
Thu Oct 22 07:02:14 MDT 2009


Hi again,

Actually I just found I need to add "-l ncpus=4" to the qsub arguements. 
Why is the "-l nodes=1:ppn=4" ignored? I tried to add a 
resources_defaut.ppn value to Q4 but it is not recognized.

Nicolas Ferré a écrit :
> Hi,
> 
> I've added a routing queue to my torque config, made for selecting the 
> execution queue on a ncpus basis. However, even if a submit a job on 4 
> cpus, it ends in the Q1 queue where the resources_max, resources_min and 
> resources_default ncpus are set to 1.
> 
> Where am I wrong?
> 
> By the way, I tried to reverse the order of the route_destinations, with 
> no effect.
> 
> #
> # Create and define queue Q4
> #
> create queue Q4
> set queue Q4 queue_type = Execution
> set queue Q4 Priority = 1
> set queue Q4 max_running = 14
> set queue Q4 resources_max.ncpus = 4
> set queue Q4 resources_max.walltime = 24:00:00
> set queue Q4 resources_min.ncpus = 4
> set queue Q4 resources_default.ncpus = 4
> set queue Q4 resources_default.nice = 15
> set queue Q4 resources_default.walltime = 01:00:00
> set queue Q4 max_user_run = 3
> set queue Q4 enabled = True
> set queue Q4 started = True
> #
> # Create and define queue Q2
> #
> create queue Q2
> set queue Q2 queue_type = Execution
> set queue Q2 Priority = 100
> set queue Q2 max_running = 28
> set queue Q2 resources_max.ncpus = 2
> set queue Q2 resources_max.walltime = 55:00:00
> set queue Q2 resources_min.ncpus = 2
> set queue Q2 resources_default.ncpus = 2
> set queue Q2 resources_default.nice = 10
> set queue Q2 resources_default.walltime = 06:00:00
> set queue Q2 max_user_run = 6
> set queue Q2 enabled = True
> set queue Q2 started = True
> #
> # Create and define queue Q1
> #
> create queue Q1
> set queue Q1 queue_type = Execution
> set queue Q1 Priority = 1000
> set queue Q1 max_running = 56
> set queue Q1 resources_max.ncpus = 1
> set queue Q1 resources_max.walltime = 120:00:00
> set queue Q1 resources_min.ncpus = 1
> set queue Q1 resources_default.ncpus = 1
> set queue Q1 resources_default.walltime = 12:00:00
> set queue Q1 max_user_run = 8
> set queue Q1 enabled = True
> set queue Q1 started = True
> #
> # Create and define queue defaut
> #
> create queue defaut
> set queue defaut queue_type = Route
> set queue defaut max_running = 56
> set queue defaut route_destinations = Q4
> set queue defaut route_destinations += Q2
> set queue defaut route_destinations += Q1
> set queue defaut enabled = True
> set queue defaut started = True
> #
> # Set server attributes.
> #
> set server scheduling = True
> set server max_user_run = 8
> set server acl_hosts = slater
> set server default_queue = defaut
> set server log_events = 511
> set server mail_from = admin
> set server query_other_jobs = True
> set server resources_available.mem = 160gb
> set server resources_available.ncpus = 56
> set server resources_default.mem = 250mb
> set server resources_default.ncpus = 1
> set server resources_default.walltime = 01:00:00
> set server resources_max.mem = 8gb
> set server resources_max.ncpus = 4
> set server scheduler_iteration = 600
> set server node_check_rate = 150
> set server tcp_timeout = 6
> set server queue_centric_limits = True
> 


-- 
Nicolas Ferre'
Laboratoire Chimie Provence
Universite' de Provence - France
Tel: +33 491282733
http://sites.univ-provence.fr/lcp-ct


More information about the torqueusers mailing list