This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
archive:computer_resources:campusrocks [2015/04/18 21:01] charles [Sungrid Job scheduler] |
archive:computer_resources:campusrocks [2015/05/05 19:00] JaredC [Sungrid Job scheduler] |
||
---|---|---|---|
Line 98: | Line 98: | ||
#$ -q [Name of specific server queue]\\ | #$ -q [Name of specific server queue]\\ | ||
- | Used to specify which set of servers you would like the sungrid scheduler to schedule/run your jobs in. Names on campus rocks include 'all.q' and 'small.q' | + | Used to specify which set of servers you would like the sungrid scheduler to schedule/run your jobs in. Names on campus rocks include 'all.q' and 'small.q'. Default: 'all.q' |
+ | |||
+ | #$ -M ADolichophallus@ucsc.edu\\ | ||
+ | #$ -m e\\ | ||
+ | Used to have campus rocks email you at the end of your job. | ||
+ | |||
+ | #$ -j y\\ | ||
+ | Used to combine stderr & stdout into stdout. | ||
Example qsub commands: | Example qsub commands: | ||
Line 108: | Line 115: | ||
#$ qhost\\ | #$ qhost\\ | ||
Displays the compute nodes available on the cluster including hardware statistics. | Displays the compute nodes available on the cluster including hardware statistics. | ||
+ | *'j' displays a detailed list of all current jobs running | ||
#$ qstat\\ | #$ qstat\\ | ||
Line 116: | Line 124: | ||
*'qw' status indicates that a job is waiting to be scheduled/run on a machine. | *'qw' status indicates that a job is waiting to be scheduled/run on a machine. | ||
+ | #$ qacct -j [job id]\\ | ||
+ | Displays resource usage and runtime statistics for a job that has run to completion.\\ | ||
+ | Very useful for determining optimal resource allocation for tasks. | ||