1) As root user type 'qconf -aq queue_name.q
'
2) Modify the queue with 'qconf -mq queue_name.q
'
3) Next to hostlist, list the node you want the queue to use. E.g:
compute-0-0.local compute-0-1.local \
compute-0-2.local compute-0-3.local
4) Change the pe_list. E.g.: make mpich mpi orte jobelan mpi_s
5) Change the slots. E.g.:
1, [compute-0-0.local=8],[compute-0-1.local=8], \
[compute-0-2.local=16],[compute-0-3.local=8]
6) Saves changes
7) Make sure queue you took the nodes from has the nodes removed (edit with same steps)