[Rocks-Discuss] [Torque roll] How to associate 10 compute nodeswith a queue name ?
In his write-up
======== qmgr -c "create queue vision queue_type=execution" qmgr -c "set queue vision resources_default.neednodes = vision" qmgr -c "set queue vision acl_hosts=c2-0-20+c2-0-21+c2-0-22+c2-0-27+c2-0-28+c2-0-29" qmgr -c "set queue vision acl_host_enable = false" qmgr -c "set queue vision acl_users=user1" qmgr -c "set queue vision acl_users+=user2" qmgr -c "set queue vision acl_users+=user3" qmgr -c "set queue vision acl_user_enable=true" qmgr -c "set queue vision enabled = True" qmgr -c "set queue vision started = True" qmgr -c "set queue default resources_default.neednodes = general" for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 23 24 25 26 30 31 32 33; do /opt/torque/bin/qmgr -c "set node c2-0-${i} properties = general"; done for i in 20 21 22 27 28 29 ; do /opt/torque/bin/qmgr -c "set node c2-0-${i} properties = vision"; done ========
For more information, do also read up on
- 4.1 Queue Configuration (From Cluster Resources)
- Cluster Node-Locking with Torque and Maui (Wednesday, October 22, 2008)
No comments:
Post a Comment