[torqueusers] Queue to node mapping with TORQUE only
Davide Cesari
dcesari at arpa.emr.it
Fri Jun 20 09:28:57 MDT 2008
HI,
I have Torque 2.1.10 (shipped with Fedora 8) without Maui/Moad and I
noticed by trial-and-error that, in my case,
"resources_default.neednodes" requires a node name, not a node property
as specified in the documentation, maybe something has changed in more
recent versions of Torque!?
Davide
Steve Young ha scritto:
> I do it here with the resources_default.needsnodes and it works fine.
>
> in my server_priv nodes file I have
>
> host1 chem altix
> host2 physics altix
>
> then I could have three queue's....
>
> create queue chem
> set queue mac queue_type = Execution
> set queue mac Priority = 100
> set queue mac resources_default.neednodes = chem
> set queue mac resources_default.walltime = 24:00:00
>
> create queue physics
> set queue mac queue_type = Execution
> set queue mac Priority = 100
> set queue mac resources_default.neednodes = physics
> set queue mac resources_default.walltime = 24:00:00
>
> create queue altix
> set queue mac queue_type = Execution
> set queue mac Priority = 100
> set queue mac resources_default.neednodes = altix
> set queue mac resources_default.walltime = 24:00:00
>
> Doing that has worked fine here. jobs in each queue go to the hosts you
> would expect them to.
> Hope that helps,
>
> -Steve
>
> On Jun 20, 2008, at 2:40 AM, Nicolas CHARVIN wrote:
>
>> Hi all
>> My question has probably been asked many times, but I need some
>> clarifications
>>
>> 1) While using only TORQUE (i am not using Maui, neither Moab), is it
>> possible to configure queue to node mapping, e.g queue1 to run on
>> host1+host2+host3, and queue2 on host4+host5+host6 ?
>>
>> 2) If so, how can I perform it ?
>> I am currently using TORQUE 2.1.7. I tried the
>> 'resources_default.neednodes' stuff (torque manual chapter 4.1.4), and
>> the 'acl_host_enable' stuff (Moab manual chapter 12.1.3.1), but none
>> of them work.
>>
>>
>> If maui is really mandatory, please tell me so.
>> Best regards
>> nicolas
>>
>> here is my configuration:
>>
>> server_priv/nodes:
>> lmpc5 np=2 unijob work
>> lmpc4 np=4 unijob work
>> lmpc6 np=8 work
>> lmpc7 np=8 testing
>>
>>
>>
>> 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 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 testing
>> #
>> create queue testing
>> set queue testing queue_type = Execution
>> set queue testing acl_host_enable = False
>> set queue testing acl_hosts = lmpc7
>> set queue testing resources_default.neednodes = testing
>> set queue testing resources_default.walltime = 01:00:00
>> set queue testing enabled = True
>> set queue testing started = True
--
============================= Davide Cesari ============================
Servizio IdroMeteorologico ARPA Emilia Romagna
Area Modellistica Numerica e Radarmeteorologia
Phone/Fax: +39 051525926/+39 0516497501
E-mail: dcesari at arpa.emr.it
Home page: http://www.webalice.it/o.drofa/davide/
Address: ARPA-SIM, Viale Silvani 6, 40122 Bologna, Italy
========================================================================
More information about the torqueusers
mailing list