next up previous contents
Next: Explicitly Restricting a Node Up: Requesting Resources - Reference Previous: Requesting Multiple Nodes and   Contents

Explicitly Assigning Slices to Separate Nodes



Directive:


#PBS -W x=nmatchpolicy:EXACTNODE

Example:

#!/bin/bash
#PBS -l nodes=4:ppn=2
#PBS -W x=nmatchpolicy:EXACTNODE

echo "Script begins here"


Command Line:


qsub -l <resource_request> -W x=nmatchpolicy:exactnode script

Example:

qsub -l nodes=4:ppn=2 -W x=nmatchpolicy:exactnode blast.sh



Practicum:

 [jdpoisso@umms-amino blast_test]$ qsub blast.sh
 2500749.umms-amino.ccmb.med.umich.edu
 [jdpoisso@umms-amino blast_test]$ qsub -l nodes=4:ppn=2 -W x=nmatchpolicy:exactnode blast.sh
 2500750.umms-amino.ccmb.med.umich.edu
 [jdpoisso@umms-amino blast_test]$ qstat -f 2500749
 Job Id: 2500749.umms-amino.ccmb.med.umich.edu
     Job_Name = blast.sh
 <- output omitted ->
     exec_host = compute-4-31/3+compute-4-31/0+compute-4-30/3+compute-4-30/2+compute-4-29/3+compute-4-29/2+compute-4-26/3+compute-4-26/1
 <- output omitted ->
     Resource_List.nodect = 4
     Resource_List.nodes = 4:ppn=2
 <- output omitted ->
 [jdpoisso@umms-amino blast_test]$ qstat -f 2500750
 Job Id: 2500750.umms-amino.ccmb.med.umich.edu
     Job_Name = blast.sh
 <- output omitted ->
     exec_host = compute-4-2/3+compute-4-2/0+compute-4-1/3+compute-4-1/0+comput e-3-31/3+compute-3-31/0+compute-3-27/3+compute-3-27/0
 <- output omitted ->
     Resource_List.nodect = 4
     Resource_List.nodes = 4:ppn=2
 <- output omitted ->
 [jdpoisso@umms-amino blast_test]$



2010-08-27