Difference between revisions of "PSYC 7102: Statistical-Genetics"
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
htop ### Souped up "top" | htop ### Souped up "top" | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | |||
+ | Logging into vieques from home without using VPN | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | ssh <uniquename>@statgen.colorado.edu ### log into statgen a server at IBG (ask Jeff Lessem for an account if you don't already have one). | ||
+ | ssh <uniquename>@vieques.colorado.edu ### Once on statgen, then log into vieques from statgen. | ||
+ | </syntaxhighlight> | ||
+ | |||
PBS batch queuing (used on vieques and research computing) | PBS batch queuing (used on vieques and research computing) | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
### PBS batch system utilities | ### PBS batch system utilities | ||
− | qstat | + | qstat ### On PBS batch system shows status of submitted jobs |
watch qstat ### Refreshes "qstat" every second. | watch qstat ### Refreshes "qstat" every second. | ||
Line 26: | Line 33: | ||
### Having 22 or 23 CPUs is helpful when you're running per-chromosome jobs. | ### Having 22 or 23 CPUs is helpful when you're running per-chromosome jobs. | ||
qsub -I -q short -l walltime=23:00:00 -l nodes=1:ppn=22 | qsub -I -q short -l walltime=23:00:00 -l nodes=1:ppn=22 | ||
+ | qdel <job number> ### Kill a PBS job | ||
+ | qdel all ### Kill all your PBS jobs | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 03:50, 14 November 2015
Homework
Command Line and Other Coding Resources
Code Samples (Please add!)
Here are some useful server management tools
df -h ### Show space availability in all directories
df -h /directory ### Show disk space in /directory
top ### Show resource utilization and job status, etc.
htop ### Souped up "top"
Logging into vieques from home without using VPN
ssh <uniquename>@statgen.colorado.edu ### log into statgen a server at IBG (ask Jeff Lessem for an account if you don't already have one).
ssh <uniquename>@vieques.colorado.edu ### Once on statgen, then log into vieques from statgen.
PBS batch queuing (used on vieques and research computing)
### PBS batch system utilities
qstat ### On PBS batch system shows status of submitted jobs
watch qstat ### Refreshes "qstat" every second.
### Submit interactive pbs job in the short queue for 23 hours on 1 node with 22 CPUs
### Having 22 or 23 CPUs is helpful when you're running per-chromosome jobs.
qsub -I -q short -l walltime=23:00:00 -l nodes=1:ppn=22
qdel <job number> ### Kill a PBS job
qdel all ### Kill all your PBS jobs