System Grab Bag

View all TLDR pages from Linux (or from all pages)

qsub

Submits a script to the queue management system TORQUE. More information: https://manned.org/qsub.1.
  • Submit a script with default settings (depends on TORQUE settings):
    qsub {{script.sh}}
  • Submit a script with a specified wallclock runtime limit of 1 hour, 2 minutes and 3 seconds:
    qsub -l walltime={{1}}:{{2}}:{{3}} {{script.sh}}
  • Submit a script that is executed on 2 nodes using 4 cores per node:
    qsub -l nodes={{2}}:ppn={{4}} {{script.sh}}
  • Submit a script to a specific queue. Note that different queues can have different maximum and minimum runtime limits:
    qsub -q {{queue_name}} {{script.sh}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.