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:02] charles [Sungrid Job scheduler] |
archive:computer_resources:campusrocks [2015/05/05 18:58] JaredC [Sungrid Job scheduler] |
||
---|---|---|---|
Line 99: | Line 99: | ||
#$ -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'. Default: 'all.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 116: | Line 123: | ||
*'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. | ||