[torqueusers] Problem about $PBS_NODEFILE

Christoph Weber cweber at burnham.org
Thu Mar 19 10:42:32 MDT 2009


And to elaborate a bit more:
$PBS_NODEFILE contains the nodes assigned to your job, not the  
complete list of available nodes.

Christoph

On Mar 19, 2009, at 5:38 AM, Glen Beane wrote:

> you need to tell torque how many nodes/processors the job requires
> using qsub -l or #PBS -l (small L)
>
>
> qsub -l nodes=3:ppn=X ... (where X is the number of processors on each
> of your nodes, e.g. 1,2,4,8)?
>
> or you can and #PBS -l nodes=3:ppn=X to your job script.
>
>
> 2009/3/19 tracy_luofengji <tracy_luofengji at 126.com>:
>> Dear all,
>>
>> I have installed torque-2.3.0 on 4 machines:1 master and 3 slaves.  
>> When I
>> start the pbs_mom of the slave machines and use "pbsnodes -a" to  
>> check their
>> status, the result is correct: 3 machines are list and the status  
>> of all the
>> 3 machines are "free".
>>
>> But if I submit a job script on the master to check the  
>> $PBS_NODEFILE, as
>> following:
>> #!/bin/tcsh
>> #PBS -o /usr/local/out
>> #PBS -e /usr/local/err
>> cd $PBS_O_WORKDIR
>> cat $PBS_NODEFILE
>>
>> And then I used "vim /usr/local/out" to check the output, found  
>> that there
>> was only 1 node (the first slave node) displayed in the output  
>> file. Why?
>>
>> Any help will be appraciated
>> Thanks!
>>
>> Regards,
>> Tracy
>>
>>
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers

Christoph Weber
HPC Manager
Burnham Institute for Medical Research
10901 North Torrey Pines Road
La Jolla, CA 92037

(858) 646-3100 x3345
cweber at burnham.org
www.burnham.org



More information about the torqueusers mailing list