The command you need to manipulate queues is qmgr. To create a new queue we use the following code:
Qmgr: queue create fastI named this queue fast but you can name it whatever you like. We then set the queue to allow execution of jobs and enable it. We must also start the queue, otherwise the job will be blocked.
Qmgr: set queue fast queue_type = Execution Qmgr: set queue fast enabled = True Qmgr: set queue fast started = TrueNow we want to add nodes to this new queue:
Qmgr: set queue fast resources_default.neednodes = fast Qmgr: create node new_node np=8 Qmgr: set node new_node properties = fastWe also define the fast property to both the node and queue to ensure that this node doesn't run on any other queue. Other existing queues need to have resources_default.neednodes set to a different property. We also define the node new_node as having eight processors (np=8).
You can now submit jobs by passing the -q fast parameter to Maui's qsub.
#!/bin/bash qsub -q fast
Resources
OpenPBS Resource Manager (link)Maui Sheduler (link)