User Tools

Site Tools


Writing /var/www/vhosts/hpczamren_ftp/hpc.zamren.zm/httpdocs/data/cache/c/c8569d4e737923ce7dbd270c9c684b87.metadata failed
useful_pbs_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

useful_pbs_commands [2017/10/19 13:52] (current)
Line 1: Line 1:
 +=====Useful PBS Commands=====
 +
 +This document contains a list of useful Portable Batch System (PBS) commands.
 +
 +More information about the TORQUE resource manager (PBS) and the Maui Cluster Scheduler can be found at Adaptive Computing’s official documentation website, located at www.adaptivecomputing.com/​resources/​docs/​
 +
 +**PBS commands**
 +
 +**qsub:**
 + ​submits PBS job
 +
 +typical usage:
 +<​code>​
 +qsub [-A account] script
 +</​code> ​
 +
 +**qdel:**
 + ​deletes PBS job
 +
 +typical usage:
 +<​code>​
 +qdel job_identifier
 +</​code>​
 +
 +**qstat:**
 + shows the status of PBS jobs
 +
 +typical usage:
 +<​code>​
 +qstat -f job_identifier
 +</​code> ​
 +
 +**myqueue:​**
 + shows all running and queued jobs for a user
 +
 +typical usage:
 +<​code>​
 +myqueue
 +</​code>​
 +
 +**myquota:​**
 + show disk quotas for all projects in which the user is a member
 +
 +typical usage:
 +<​code>​
 +myquota
 +</​code>​
 +
 +**showstart:​**
 + shows the approximate starting time of the job
 +
 +typical usage:
 +<​code>​
 +showstart job_identifier
 +</​code>​
 +
 +**checkjob:​**
 + shows the current status of the job
 +
 +typical ​ usage:
 +<​code>​
 +checkjob job_identifier
 +</​code>​
 +
 +**checknode:​**
 + shows the status of the node
 +
 +typical usage:
 +<​code>​
 +checknode node_identifier
 +</​code>​
 +
 +**pbsnodes:​**
 + shows the detail of nodes
 +
 +typical usage:
 +<​code>​
 +pbsnodes -a
 +
 +To list the count of unique nodes along with the properties of those nodes:
 +
 +pbsnodes -a | grep properties | sort | uniq -c
 +</​code> ​
 +
 +**pbsdsh:**
 + ​distributes task to nodes under pbs
 +
 +typical usage:
 +<​code>​
 +pbsdsh executable [args]
 +</​code>​
 +This command copies the inputfile into /tmp directory of each node:
 +<​code>​
 +pbsdsh cp inputfile /tmp
 +</​code> ​
 +
 +**mpiexec:​**
 + ​initializes parallel job
 +
 +typical usage:
 +<​code>​
 +mpiexec executable [args]
 +</​code>​
 +This command copies the input file into /tmp directory of each node:
 +<​code>​
 +mpiexec -comm=none -pernode cp inputfile /tmp
 +</​code>​
  
useful_pbs_commands.txt · Last modified: 2017/10/19 13:52 (external edit)