Difference between revisions of "Torque/PBS on mime"
Line 3: | Line 3: | ||
= Running Torque on the Mime Cluster = | = Running Torque on the Mime Cluster = | ||
− | + | Torque is a full featured queuing system for job submission. Listed below are a few sample commands to get you up and running on the cluster. For a more detailed documentation on Torque, please refer to the man pages or the [http://www.clusterresources.com/products/torque-resource-manager.php|official Torque webpage]. | |
− | |||
== Prerequisites == | == Prerequisites == |
Latest revision as of 13:59, 21 September 2009
Torque vs. PBS
While PBS used to be the preferred job scheduling software on mime, the repeated hassle of renewing expired licenses gave us reason to switch to Torque, an open source resource manager based on the original PBS. For the most part PBS scripts should still work with Torque.
Running Torque on the Mime Cluster
Torque is a full featured queuing system for job submission. Listed below are a few sample commands to get you up and running on the cluster. For a more detailed documentation on Torque, please refer to the man pages or the Torque webpage.
Prerequisites
- Add /usr/torque/bin to your path
- Configure ssh to have password-less login on the mime nodes (see UsingTheMimeCluster).
Checking machine status
To check the Torque queue status on mime type:
$ qstat
For more information and options see the qstat man page.
Submitting jobs
To submit a job to the queue type:
$ qsub <torque_script>
Torque Scripts
A Torque script is a shell script with PBS commands specified by comments starting with #PBS. A bare bones PBS script without any PBS options would look something like this:
#!/bin/bash your_commands_here
For a more thorough PBS example script with a wide range of PBS options please look at PbsExampleScript.
Deleting Jobs
To delete a job type:
$ qdel <job_id>
Please refer to the qdel man page for more details.