[torqueusers] An issue when using pbs script to invoke different cpus from different nodes.

Sefa Arslan sefa at ulakbim.gov.tr
Tue Oct 18 08:29:13 MDT 2011


just use nodes instead of nodes+ppn

#PBS -l nodes=8
#PBS -l walltime=99:00:00
#PBS -j oe
#PBS -o out
#PBS -e err
#PBS -V
#PBS -q default


In this case,  the cpus  are supplied from different nodes (not have to
be supplied from 8 different nodes, number of nodes depends on the
availability of the cluster)

Sefa Arslan


On 10/18/2011 07:38 AM, Hongsheng Zhao wrote:
> Hi all,
>
> I use qsub to submit the job to my queue.   Currently I've the following 
> lines in the pbs script invoked by qsub:
>
> --------
> #PBS -l nodes=2:ppn=8
> #PBS -l walltime=99:00:00
> #PBS -j oe
> #PBS -o out
> #PBS -e err
> #PBS -V
> #PBS -q default
> ----------
>
> As you can see, in the above example, the job will use 16 cpus equally 
> supplied by two nodes.   But now, I want to let pbs assign the cpus and 
> nodes to this job according to the following requirements:
>
> 1- There are 8 cpus used for this job.
> 2- All of the these cpus may belong to one node, or can come from 
> different nodes, say,  supplied by two/three/four nodes and so on.
>
> Could you please give me some hints on this issue.  Thanks in advance.
>
> Regards
>   


More information about the torqueusers mailing list