• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

qsub: command not found

by Deepika

qsub is a command-line tool used for submitting batch jobs to the queue management system TORQUE. TORQUE (Terascale Open-source Resource and QUEue Manager) is a widely used open-source tool that manages the distribution of computational jobs across a cluster or network of computers.

Using qsub, you can submit a script file containing a series of commands to the TORQUE queue. When the script is submitted, it is added to the queue and executed by the available compute nodes in the cluster according to a set of specified rules and priorities.

If you encounter the below error while running the command qsub:

qsub: command not found

you may try installing the below package as per your choice of distribution:

Distribution Command
Debian apt-get install slurm-llnl-torque
Ubuntu apt-get install slurm-llnl-torque
Kali Linux apt-get install slurm-wlm-torque
Fedora dnf install gridengine
Raspbian apt-get install torque-client-x11

qsub Command Examples

1. Submit a script with default settings (depends on TORQUE settings):

# qsub script.sh

2. 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

3. Submit a script that is executed on 2 nodes using 4 cores per node:

# qsub -l nodes=2:ppn=4 script.sh

4. 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

Summary

It is important to note that qsub is just one component of the larger TORQUE system, and requires a properly configured TORQUE installation in order to function. Additionally, submitting jobs to a TORQUE queue requires some knowledge of cluster computing and batch job management.

Overall, qsub is a powerful tool for submitting batch jobs to a cluster or network of computers, and is widely used in scientific computing and other applications that require distributed computing resources.

Filed Under: Linux

Some more articles you might also be interested in …

  1. brctl Command Examples in Linux
  2. lvextend command examples in Linux
  3. pscp – ssh_init: Network error: Cannot assign requested address
  4. ag – The Silver Searcher. Like ack, but aims to be faster (Command Examples)
  5. lxterminal: command not found
  6. How to uninstall arduino from Ubuntu
  7. localectl Command Examples in Linux
  8. po4a-gettextize: command not found
  9. auditd Command Examples in Linux
  10. ego Command Examples in Funtoo Linux

You May Also Like

Primary Sidebar

Recent Posts

  • aws ec2: CLI for AWS EC2 (Command Examples)
  • aws cur – Create, query, and delete AWS usage report definitions (Command Examples)
  • aws configure – Manage configuration for the AWS CLI (Command Examples)
  • aws cognito-idp: Manage Amazon Cognito user pool and its users and groups using the CLI

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright