[Moabusers] Re: [torquedev] Re: [torqueusers] Allocating resources by CPUs

Joshua Bernstein bjosh at lpl.arizona.edu
Sun Mar 18 23:02:41 MDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Mar 18, 2007, at 9:23 PM, Chris Samuel wrote:

> On Mon, 19 Mar 2007, Joshua Bernstein wrote:
>
>> On Mar 18, 2007, at 7:56 PM, Chris Samuel wrote:
>>> On Tue, 13 Mar 2007, Glen Beane wrote:
>>>> I agree that we should add a '-l cpus=x'  option to torque
>>
>> Forgive me for being out of the loop and perhaps not following the
>> threads as closely as possible, but isn't there an -l ncpus=x option
>> in Torque?
>
> There is, but that only determines how many CPUs on an SMP node you  
> want, not
> how many CPUs across the whole cluster you may need.

You figure out how many CPUs you want across the the entire cluster  
by simply multiplying the nodes times the ppn. Otherwise simply  
notating nodes=x says that you want x number of cpus, since the nodes  
argument specifies the number of default number of "virtual cpus",  
not nodes (as is often confused). Adding another confusing option  
seems a bit excessive. People are already very well confused between  
the difference of nodes, ncpus, and ppn and how they all related.

On that note, both the nodes, and ppn arguments are nicely documented  
(including the virtual host idea), though ncpus wasn't listed last I  
looked at the Torque documentation.

- -Joshua Bernstein
Software Engineer
Penguin Computing
San Francisco, CA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFF/hl559R0kc9wewoRAlXvAJsFotr74xBjGIi3naFdRiqZGLd78wCeO/Tq
lMhTM9c4s2jPyKFKuREn9XQ=
=fD7E
-----END PGP SIGNATURE-----


More information about the moabusers mailing list