OpenPBS HPC Cluster Software

OpenPBS is an cluster job management tool that is compatible the old PBS resource manager. Torque is commonly used together with Maui as the cluster scheduler, which is what we'll have a look at in this post.
The command you need to manipulate queues is qmgr. To create a new queue we use the following code:
Qmgr: queue create fast
I 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 = True
Now 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 = fast
We 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)