[torqueusers] An issue when using pbs script to invoke different cpus from different nodes.
Ralph C. Bording
rcbord at vims.edu
Wed Oct 19 02:34:01 MDT 2011
Hey, you can check to see which nodes (resources) are being use a couple of different ways. Try "qstat -n" while the job is running. You can also use "pbsnodes -a" if you know the PBS jobid you can look to see which nodes the job is running on that way too.
To try that use
qstat -u username
That will get you the jobid.
pbsnodes -a | grep jobid will get you something close to qstat -n.
Cheers
Chris
Sent from my iPhone
On Oct 18, 2011, at 7:12 AM, "Hongsheng Zhao" <zhaohscas at yahoo.com.cn> 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
> --
> Hongsheng Zhao <zhaohscas at yahoo.com.cn>
> School of Physics and Electrical Information Science,
> Ningxia University, Yinchuan 750021, China
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
More information about the torqueusers
mailing list