USC Center for High Performance Computing and Communications

:: Systems & Resources
 > Linux Computing Resource
 > Sun Computing Resource
 > HPCC Policies

:: Getting Access
 > Account Applications
 > Account Resource Limits

:: Learning to Use
 > Linux Computing Resource
    - Standard Environment
    - Setting Up the Compiler
    - Temporary Disk Space
    - USCLinux
    - Portable Batch System
    - MPI Tutorials
    - MPI Compilers
    - MPI Execution
    - Gaussian03
    - Useful Commands
    - Compiler Help Pages
    - 64 Bit Nodes
 > Sun Computing Resource
    - Standard Environment
    - Setting Up the Compiler
    - Temporary Disk Space
    - Portable Batch System
    - MPI Tutorials
    - MPI Execution
    - Applications on Almaak-01

Useful Commands

Systems & Access :: Learning to Use :: Linux Computing Resource

Below is a list of commands that are useful to know. The man-page for the pbs commands are available on almaak and uschpc. More information and documentation about the TORQUE resource manager (PBS) and the Maui Cluster Scheduler can be found at http://www.clusterresources.com/products/documentation.shtml

PBS commands

qsub: submits PBS job
typical usage:
qsub   [-A account] script

qdel: deletes PBS job
	typical usage:
	qdel job_identifier

qstat: shows the status of PBS jobs
	typical usage:
	qstat -f job_identifier

pbstop: shows the current status of the cluster nodes

qbalance: shows the QBank account balance
	typical usage:
	qbalance [-a account] [-u user] -h

showstart: shows the approximate starting time of the job
	typical usage:
	showstart job_identifier

checkjob: shows the current status of the job
	typical	usage:
	checkjob job_identifier

checknode: shows the status of the node
	typical	usage:
	checknode node_identifier

pbsnodes: shows the detail of nodes
	typical usage:
	pbsnodes -a

	To list the count of unique nodes along with the properties of those nodes:
	pbsnodes -a | grep properties | sort | uniq -c

pbsdsh: distributes task to nodes under pbs
	typical usage:
	pbsdsh executable [args]

	The following command copies the inputfile into /tmp directory of each node:
	pbsdsh cp inputfile /tmp

mpiexec: initializes parallel job
	typical usage:
	mpiexec executable [args]

	The following command copies the inputfile into /tmp directory of each node:
	mpiexec -comm=none -pernode cp inputfile /tmp

Disk quota

/opt/SUNWsamfs/sbin/samquota: shows the disk quota information
	This command is available on almaak and not on hpc.
	typical usage:
	/opt/SUNWsamfs/sbin/samquota -k -U username

  ITS Policies       Contact HPCC