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 20:29] charles |
archive:computer_resources:campusrocks [2015/04/18 20:57] charles [Sungrid Job scheduler] |
||
---|---|---|---|
Line 96: | Line 96: | ||
#$ -cwd\\ | #$ -cwd\\ | ||
Your job will be launched at the directory where the qsub command was given. Useful for setting predictable bash commands. Though not recommended for portability as other users of the script would need to also know where to launch the qsub command. | Your job will be launched at the directory where the qsub command was given. Useful for setting predictable bash commands. Though not recommended for portability as other users of the script would need to also know where to launch the qsub command. | ||
+ | |||
+ | #$ -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' | ||
+ | |||
+ | Example qsub commands: | ||
+ | * qsub -N skewer_adapter_removal -cwd -V -pe mpi 20 -l mem_free=50g /campusdata/BME235/S15_assemblies/SOAPdenovo2/adapterRemovalTask/skewer_run/run_skewer_adapter_removal.sh | ||
+ | |||
+ | |||
+ | Useful commands for viewing currently run jobs: | ||
+ | |||
+ | #$ qhost\\ | ||
+ | Displays the compute nodes available on the cluster including hardware statistics. | ||
+ | |||
+ | #$ qstat\\ | ||
+ | Displays the status of the jobs submitted to qsub.\\ | ||
+ | *flag '-f' displays more hardware usage information on each node. The 'resv/used/tot.' column displays number of processing cores reserved, used, and the total number of cores for a node respectively. | ||
+ | Primary job status codes: | ||
+ | *'r' status indicates that a job is running. | ||
+ | *'qw' status indicates that a job is waiting to be scheduled/run on a machine. | ||
+ | |||
+ | |||