[torqueusers] How to get assigned cpu count with torque?

Edsall, William (WJ) WJEdsall at dow.com
Mon May 11 09:18:59 MDT 2009

 I want to query the server for the total number of cpu's assigned
across the cluster.


	From: chemadm at hamilton.edu [mailto:chemadm at hamilton.edu] 
	Sent: Monday, May 11, 2009 11:12 AM
	To: Edsall, William (WJ)
	Cc: torqueusers at supercluster.org
	Subject: Re: [torqueusers] How to get assigned cpu count with
	I'm not for certain what you mean by this but perhaps this page
answers your question:

tml (note the section 2.1.6 Exported Batch Environment Variables maybe
your looking for PBS_NODEFILE? ).

	Or perhaps a qstat -f <jobid>  will give you the variable your
looking for. 


	On May 11, 2009, at 10:57 AM, Edsall, William (WJ) wrote:

		Hello List, 
		 I'm trying to parse out the assigned cpu count. In pbs
pro this is available under list server as resources_assigned.ncpus.

		Is this variable hiding somewhere in torque? 


		torqueusers mailing list
		torqueusers at supercluster.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20090511/ff622d86/attachment.html 

More information about the torqueusers mailing list