I am not sure what your sbatch line looks like, but you will need 
--partition=w_part associated with the sbatch which will get propagated to the 
srun.

On 02/15/11 11:45, Paul Thirumalai wrote:
I havea script I am launching using the sbatch. The script has the following 2 
lines

#!/bin/sh
srun -N1 --partition=w_part --output=/home/kdsd03/oas/klurm/test.out 
/home/kdsd03/oas/klurm/test.sh


Now my partitions are configured as follows

PartitionName=z_part Nodes=z[23-39,41-46] Default=YES MaxTime=INFINITE State=UP
PartitionName=obi_part Nodes=obi[23-40] Default=NO MaxTime=INFINITE State=UP
PartitionName=w_part Nodes=w[1-108] Default=NO MaxTime=INFINITE State=UP
PartitionName=y_part Nodes=y[2-10,12-25,27-38,41-62,64-108,111-119,121-186] 
Default=NO MaxTime=INFINITE State=UP


When I launch the job it always lands on a node in the default partition 
(z_part). It does not land on the w_part as I have specified in my srun command.

Any help appreciated.

Reply via email to