28-Apr-2013

User Commands

PBS/TorqueSlurmLSF

SGE

LoadLeveler

Job submission
Job deletion
Job status (by job)Job status (by user)
Job holdJob release
Queue list
Node list
Cluster statusGUI

qsub [script_file]qdel [job_id]
qstat [job_id]
qstat -u [user_name]qhold [job_id]
qrls [job_id]
qstat -Q
pbsnodes -l
qstat -a
xpbsmonsbatch [script_file]
scancel [job_id]
squeue [job_id]
squeue -u [user_name]scontrol hold [job_id]
scontrol release [job_id]
squeuesinfo -N OR scontrol show nodes
sinfo
sview

bsub [script_file]bkill [job_id]
bjobs [job_id]
bjobs -u [user_name]bstop [job_id]
bresume [job_id]
bqueuesbhostsbqueues
xlsf OR xlsbatch

qsub [script_file]qdel [job_id]
qstat -u \* [-j job_id]
qstat [-u user_name]qhold [job_id]
qrls [job_id]
qconf -sql
qhost
qhost -qqmon

llsubmit [script_file]llcancel [job_id]
llq -u [username]llq -u [user_name]llhold -r [job_id]
llhold -r [job_id]llclassllstatus -L machinellstatus -L cluster
xload

Environment

PBS/Torque

Slurm

LSF

SGE

LoadLeveler

Job ID
Submit Directory
Submit Host
Node List
Job Array Index$PBS_JOBID$PBS_O_WORKDIR$PBS_O_HOST$PBS_NODEFILE$PBS_ARRAYID$SLURM_JOBID$SLURM_SUBMIT_DIR$SLURM_SUBMIT_HOST$SLURM_JOB_NODELIST$SLURM_ARRAY_TASK_ID$LSB_JOBID$JOB_ID$LSB_SUBCWD$SGE_O_WORKDIR$LSB_SUB_HOST$SGE_O_HOST$LSB_HOSTS/LSB_MCPU_HOST $PE_HOSTFILE$LSB_JOBINDEX$SGE_TASK_ID$LOAD_STEP_ID$LOADL_STEP_INITDIR

Job Specification

PBS/TorqueSlurmLSF

SGE

LoadLeveler

Script directive
Queue
Node Count#PBS#SBATCH-q [queue]-p [queue]-l nodes=[count]-N [min[-max]]-l ppn=[count] OR -l
mppwidth=[PE_count]-n [count]-l walltime=[hh:mm:ss]-t [min] OR -t [days-hh:mm:ss]-o [file_name]-o [file_name]-e [file_name]e [file_name]-j oe (both to stdout) OR -j eo(both to stderr)(use -o without -e)-V--export=[ALL | NONE | variables]-m abe--mail-type=[events]-M [address]--mail-user=[address]-N [name]--job-name=[name]--requeue OR --no-requeue (NOTE:-r [y|n]configurable default)
N/A--workdir=[dir_name]-l naccesspolicy=singlejob--exclusive OR--shared--mem=[mem][M|G|T] OR --mem-per-cpu=-l mem=[MB][mem][M|G|T]-W group_list=[account]--account=[account]-l mppnppn [PEs_per_node] --tasks-per-node=[count]--cpus-per-task=[count]-d [job_id]--depend=[state:job_id]--wckey=[name]--nodelist=[nodes] AND/OR --exclude=[nodes]-l qos=[name]--qos=[name]-t [array_spec]--array=[array_spec] (Slurm version 2.6+)-l other=[resource_spec]--gres=[resource_spec]--licenses=[license_spec]-A "YYYY-MM-DD HH:MM:SS"--begin=YYYY-MM-DD[THH:MM[:SS]]#BSUB-q [queue]-n [count]#$-q [queue]
N/A#@
class=[queue]
node=[count]-n [count]-W [hh:mm:ss]-o [file_name]-e [file_name]-pe [PE] [count]-l h_rt=[seconds]-o [file_name]-e [file_name]wall_clock_limit=[hh:mm:ss]
output=[file_name]error=[File_name](use -o without -e)-B or -N-u [address]-J [name]-j yes-V-m abe-M [address]-N [name]

environment=COPY_ALL
notification=start|error|complete|never|always
notify_user=[address]
job_name=[name]-r(submission directory)-x-r [yes|no]-wd [directory]-l exclusive

restart=[yes|no]
initialdir=[directory]
node_usage=not_shared-M [MB]-P [account]-l mem_free=[memory][K|M|G]-A [account](Fixed allocation_rule in PE)

requirements=(Memory >= [MB])CPU Count
Wall Clock LimitStandard Output FIle
Standard Error File
Combine stdout/err
Copy Environment
Event Notification
Email Address
Job Name
Job Restart
Working Directory
Resource Sharing
Memory Size
Account to charge
Tasks Per NodeCPUs Per Task
Job Dependency
Job Project
Job host preference
Quality Of Service
Job Arrays
Generic Resources
Licenses
Begin Time-w [done | exit | finish]-P [name]-m [nodes]
J "name[array_spec]"-R "rusage[license_spec]"-hold_jid [job_id | job_name]-P [name]-q [queue]@[node] OR -q[queue]@@[hostgroup]-t [array_spec]-l [resource]=[value]-l [license]=[count]-b[[year:][month:]daty:]hour:minute -a [YYMMDDhhmm]$LOADL_PROCESSOR_LIST

tasks_per_node=[count]