<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3492" name=GENERATOR></HEAD>
<BODY
style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space">
<DIV dir=ltr align=left><SPAN class=206471815-11052009><FONT face=Verdana
size=2>Hello,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=206471815-11052009><FONT face=Verdana
size=2> I want to query the server for the total number of cpu's assigned
across the cluster.</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> chemadm@hamilton.edu
[mailto:chemadm@hamilton.edu] <BR><B>Sent:</B> Monday, May 11, 2009 11:12
AM<BR><B>To:</B> Edsall, William (WJ)<BR><B>Cc:</B>
torqueusers@supercluster.org<BR><B>Subject:</B> Re: [torqueusers] How to get
assigned cpu count with torque?<BR></FONT><BR></DIV>
<DIV></DIV>Hi,
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>I'm not for
certain what you mean by this but perhaps this page answers your
question:</DIV>
<DIV><BR></DIV>
<DIV><A
href="http://www.clusterresources.com/products/torque/docs/2.1jobsubmission.shtml">http://www.clusterresources.com/products/torque/docs/2.1jobsubmission.shtml</A>
(note the section 2.1.6 Exported Batch Environment Variables maybe your
looking for PBS_NODEFILE? ).</DIV>
<DIV><BR></DIV>
<DIV>Or perhaps a qstat -f <jobid> will give you the variable your
looking for. </DIV>
<DIV><BR></DIV>
<DIV>-Steve</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>
<DIV>
<DIV>On May 11, 2009, at 10:57 AM, Edsall, William (WJ) wrote:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
<DIV><!-- Converted from text/rtf format -->
<P><FONT face=Verdana size=2>Hello List,</FONT> <BR><FONT face=Verdana
size=2> I'm trying to parse out the assigned cpu count. In pbs pro this
is available under list server as resources_assigned.ncpus.</FONT></P>
<P><FONT face=Verdana size=2>Is this variable hiding somewhere in
torque?</FONT> </P>
<P><FONT face=Verdana size=2>William</FONT>
</P></DIV>_______________________________________________<BR>torqueusers
mailing list<BR><A
href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</A><BR>http://www.supercluster.org/mailman/listinfo/torqueusers<BR></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></BODY></HTML>