[torqueusers] How to get number of allocated CPUs within jobscript?

Andrew J Caird acaird at umich.edu
Fri Apr 7 14:31:02 MDT 2006


On Thu, 6 Apr 2006, Norbert Paschedag wrote:

> There was a patch for torque floating around on this list (I think) that 
> would add additional environment variables $NCPUS (similar to what 
> PBSpro is doing on SMPs) and $PBS_NCPUS. Worked fine on our cluster.
>
> If you're interested I can send you my version of the patch.

Norbert,

I'd like a copy of that patch.

Garrick, will this be rolled into the main Torque stream at some point?

Thanks.
--andy


More information about the torqueusers mailing list