This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
archive:computer_resources:campusrocks [2015/04/18 21:02] charles [Sungrid Job scheduler] |
archive:computer_resources:campusrocks [2015/09/02 16:42] (current) ceisenhart ↷ Page moved from computer_resources:campusrocks to archive:computer_resources:campusrocks |
||
---|---|---|---|
Line 24: | Line 24: | ||
* [[Creating an account|Create a new account]] | * [[Creating an account|Create a new account]] | ||
- | * [[http://campusrocks.soe.ucsc.edu/roll-documentation/sge/5.2/|Documentation]] (works only on campus or when connected via [[http://vpn.soe.ucsc.edu |VPN]].) | + | * [[http://campusrocks.soe.ucsc.edu/roll-documentation/sge/5.2/|SGE Documentation]] (works only on campus or when connected via [[http://vpn.soe.ucsc.edu |VPN]].) |
+ | * {{:computer_resources:roll-sge-usersguide.pdf| SGE User's Guide (no VPN needed)}} | ||
* [[http://campusrocks.soe.ucsc.edu/ganglia/|Status page]] | * [[http://campusrocks.soe.ucsc.edu/ganglia/|Status page]] | ||
* [[Installed Software|Software]] | * [[Installed Software|Software]] | ||
Line 99: | Line 100: | ||
#$ -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 108: | Line 116: | ||
#$ 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 125: | ||
*'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. | ||