Difference between revisions of "PSYC 7102: Statistical-Genetics"

From Vrieze Wiki
Jump to navigation Jump to search
Line 22: Line 22:
 
  watch qstat        ### Refreshes "qstat" every second.
 
  watch qstat        ### Refreshes "qstat" every second.
 
   
 
   
  ### submit interactive pbs job in the short queue for 23 hours on 1 node with 20 CPUs
+
  ### Submit interactive pbs job in the short queue for 23 hours on 1 node with 22 CPUs
  qsub -I -q short -l walltime=23:00:00 -l nodes=1:ppn=20
+
###  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
 
  </syntaxhighlight>
 
  </syntaxhighlight>

Revision as of 00:44, 14 November 2015

Homework

Homework 6: Ancestry

Command Line and Other Coding Resources

Code Academy Coursera

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"

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