[torqueusers] Question about what does PBS_NUM_NODES and PBS_NUM_PPN means

David Beer dbeer at adaptivecomputing.com
Tue Dec 7 09:13:08 MST 2010


Bas,

$PBS_NUM_NODES is the number of nodes assigned to the job, and $PBS_NUM_PPN is the ppn assigned to the job. As you have discovered, these are currently only compatible with single request jobs (nodes= with no '+'). 

Cheers,

David

----- Original Message -----
> Hello,
> 
> I see this in the Changelog 2.4.11:
> e - add the variables PBS_NUM_NODES and PBS_NUM_PPN to the job
> environment (backported from 2.5.3, TRQ-6)
> 
> What does this mean and how is this used? It seems it can only be used
> when
> you uniform node/ppn request.
> 
> eg 1:
> {{{
> 
> bas at batch1:~$ qsub -I -lnodes=1:ppn=4+1:ppn=5 -lwalltime=100
> qsub: waiting for job 4595352.batch to start
> qsub: job 4595352.batch ready
> 
> bas at gb-r7n5:~$ echo $PBS_NUM_NODES
> 1
> bas at gb-r7n5:~$ echo $PBS_NUM_PPN
> 4
> }}}
> 
> eg 2:
> {{{
> bas at batch1:~$ qsub -I -lnodes=2:ppn=4-lwalltime=100
> qsub: Job rejected by all possible destinations
> bas at batch1:~$ qsub -I -lnodes=2:ppn=4 -lwalltime=100
> qsub: waiting for job 4595354.batch to start
> qsub: job 4595354.batch ready
> 
> bas at gb-r7n4:~$ echo $PBS_NUM_NODES
> 2
> bas at gb-r7n4:~$ echo $PBS_NUM_PPN
> 4
> }}}
> 
> 
> --
> ********************************************************************
> * Bas van der Vlies e-mail: basv at sara.nl *
> * SARA - Academic Computing Services Amsterdam, The Netherlands *
> ********************************************************************
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers

-- 
David Beer 
Direct Line: 801-717-3386 | Fax: 801-717-3738
     Adaptive Computing
     1656 S. East Bay Blvd. Suite #300
     Provo, UT 84606



More information about the torqueusers mailing list