next up previous contents
Next: Requesting Walltime Up: Requesting Resources - Reference Previous: Requesting Resources - Reference   Contents

Requesting Queues

Directive:


#PBS -q <queue_name>

Example:

#!/bin/bash
#PBS -q urgent

echo "Script begins here"

Command Line:


qsub -q <queue_name> script


Example:

qsub -q default blast.sh



Practicum:

 [jdpoisso@umms-amino blast_test]$ qsub blast.sh
 2498963.umms-amino.ccmb.med.umich.edu
 [jdpoisso@umms-amino blast_test]$ qsub -q urgent blast.sh
 2498965.umms-amino.ccmb.med.umich.edu
 [jdpoisso@umms-amino blast_test]$ qstat -f 2498963
 Job Id: 2498963.umms-amino.ccmb.med.umich.edu
     Job_Name = blast.sh
 <- output omitted ->
     queue = urgent
 <- output omitted ->
 [jdpoisso@umms-amino blast_test]$ qstat -f 2498965
 Job Id: 2498965.umms-amino.ccmb.med.umich.edu
     Job_Name = blast.sh
 <- output omitted ->
     queue = urgent
 <- output omitted ->

 [jdpoisso@umms-amino blast_test]$




2010-08-27