Difference between revisions of "Torque/PBS on mime"
(Created page with '= Running PBS on the Mime Cluster = Portable Batch System (PBS) is a full featured queuing system for job submission. Listed below are a few sample commands to get you up and r…') |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | = | + | = 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 [http://www.clusterresources.com/products/torque-resource-manager.php|official Torque webpage]. | ||
== Prerequisites == | == Prerequisites == | ||
− | * Add /usr/ | + | * Add /usr/torque/bin to your path |
* Configure ssh to have password-less login on the mime nodes (see UsingTheMimeCluster). | * Configure ssh to have password-less login on the mime nodes (see UsingTheMimeCluster). | ||
== Checking machine status == | == Checking machine status == | ||
− | To check the | + | To check the Torque queue status on mime type: |
$ qstat | $ qstat | ||
Line 19: | Line 21: | ||
To submit a job to the queue type: | To submit a job to the queue type: | ||
− | $ qsub < | + | $ qsub <torque_script> |
− | == | + | == Torque Scripts == |
− | A | + | 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 | #!/bin/bash |
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.