[torqueusers] Question about what does PBS_NUM_NODES and PBS_NUM_PPN means

Bas van der Vlies basv at sara.nl
Tue Dec 7 09:00:59 MST 2010


  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
bas at gb-r7n5:~$ echo $PBS_NUM_PPN

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
bas at gb-r7n4:~$ echo $PBS_NUM_PPN

*  Bas van der Vlies                    e-mail: basv at sara.nl       *
*  SARA - Academic Computing Services   Amsterdam, The Netherlands *

More information about the torqueusers mailing list