qsub

Submits a script to the queue management system TORQUE. More information: <https://manned.org/qsub.1>.

Install

All systems
curl cmd.cat/qsub.sh
Debian Debian
apt-get install slurm-llnl-torque
Ubuntu
apt-get install slurm-llnl-torque
image/svg+xml Kali Linux
apt-get install slurm-wlm-torque
Fedora
dnf install gridengine
Windows (WSL2)
sudo apt-get update sudo apt-get install slurm-llnl-torque
Raspbian
apt-get install torque-client-x11

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

© tl;dr; authors and contributors