<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Dave,<div><br></div><div>This is what I have in my config file.</div><div><br></div><div><div>$pbsserver crunch.local</div><div>$usecp crunch.its.nyu.edu:/home /home</div><div>$spool_as_final_name true</div><div><br></div><div>I think you need to mention the second line.</div><div><br></div><div>Best,</div><div>Sreedhar.</div><div><br></div><div><br></div><div><br></div><div><div>On Sep 14, 2011, at 12:48 PM, Zarnoch, Dave wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">


<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 11">
<meta name="Originator" content="Microsoft Word 11">
<link rel="File-List" href="cid:filelist.xml@01CC72DC.89671EB0">
<link rel="Edit-Time-Data" href="cid:editdata.mso">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState="false" LatentStyleCount="156">
 </w:LatentStyles>
</xml><![endif]--><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:-1610611985 1073750139 0 0 159 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;
        mso-font-charset:0;
        mso-generic-font-family:modern;
        mso-font-pitch:fixed;
        mso-font-signature:-1610611985 1073750091 0 0 159 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin-top:0in;
        margin-right:0in;
        margin-bottom:10.0pt;
        margin-left:0in;
        mso-pagination:widow-orphan;
        font-size:11.0pt;
        font-family:Calibri;
        mso-fareast-font-family:"Times New Roman";
        mso-bidi-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
span.EmailStyle17
        {mso-style-type:personal;
        mso-style-noshow:yes;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:windowtext;
        letter-spacing:0pt;}
span.EmailStyle18
        {mso-style-type:personal;
        mso-style-noshow:yes;
        font-family:Calibri;
        mso-ascii-font-family:Calibri;
        mso-hansi-font-family:Calibri;
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        mso-style-noshow:yes;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:navy;}
span.SpellE
        {mso-style-name:"";
        mso-spl-e:yes;}
span.GramE
        {mso-style-name:"";
        mso-gram-e:yes;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;
        mso-header-margin:.5in;
        mso-footer-margin:.5in;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */ 
 table.MsoNormalTable
        {mso-style-name:"Table Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0in 5.4pt 0in 5.4pt;
        mso-para-margin:0in;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";
        mso-ansi-language:#0400;
        mso-fareast-language:#0400;
        mso-bidi-language:#0400;}
</style>
<![endif]--><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->


<div lang="EN-US" link="blue" vlink="purple" style="tab-interval:.5in">

<div class="Section1"><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">James,<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">I tried entering:<o:p></o:p></span></font></p><p class="MsoNormal"><span class="SpellE"><span class="GramE"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">qsub</span></font></span></span><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> -V –I
&nbsp;-l nodes=1 -q <span class="SpellE">dn</span><o:p></o:p></span></font></p><p class="MsoNormal"><span class="GramE"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">and</span></font></span><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> it just
hangs there<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">Do I have a problem with “mom”?<o:p></o:p></span></font></p><p class="MsoNormal"><span class="GramE"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Here’s</span></font></span><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;
color:navy"> some files in <span class="SpellE">mom_priv</span>:<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;
color:navy">usphl1ora002@/var/spool/torque/mom_priv&gt;<span class="SpellE">ls</span>
-l jobs<o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><span class="GramE"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;
font-family:Arial;color:navy">total</span></font></span><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;
color:navy"> 0<o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;
color:navy"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;
color:navy">usphl1ora002@/var/spool/torque/mom_priv&gt;more <span class="SpellE">config</span><o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;
color:navy">$<span class="SpellE">pbsserver</span><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><a href="http://usphl1ora002.amer.sykes.com">usphl1ora002.amer.sykes.com</a><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span># note: hostname
running <span class="SpellE">pbs_server</span><o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;
color:navy">$<span class="SpellE">logevent</span><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>255<span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp; </span># bitmap of which
events to log<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;
color:navy">usphl1ora002@/var/spool/torque/mom_priv&gt;more <span class="SpellE">mom.lock</span><o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;
color:navy">25994<o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;
color:navy"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;
color:navy">usphl1ora002@/var/spool/torque/mom_priv&gt;<span class="SpellE">ps</span>
-<span class="SpellE">ef</span> | <span class="SpellE">grep</span> 25994 | <span class="SpellE">grep</span> -v <span class="SpellE">grep</span><o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><span class="GramE"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;
font-family:Arial;color:navy">root</span></font></span><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp; </span>25994<span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp; </span>1<span style="mso-spacerun:yes">&nbsp; </span>0 Sep12 ?<span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>00:01:03 /usr/local/<span class="SpellE">sbin/pbs_mom</span> -p<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">Not really familiar with “mom”<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;
color:navy;font-weight:bold;mso-bidi-font-weight:normal">I also don’t
have a lot of documentation on Torque…<o:p></o:p></span></font></b></p><p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;
color:navy;font-weight:bold;mso-bidi-font-weight:normal">Do you know of any
good web pages?<o:p></o:p></span></font></b></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">Thanks!<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">Dave<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p>

<div><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy;mso-no-proof:yes">Dave Zarnoch<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy;mso-no-proof:yes">UNIX Systems
Administration<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy;mso-no-proof:yes">(215)200-0911<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy;mso-no-proof:yes"><a href="mailto:Dave.Zarnoch@sykes.com">Dave.Zarnoch@sykes.com</a></span></font><font size="3" color="navy" face="Times New Roman"><span style="font-size:12.0pt;
font-family:&quot;Times New Roman&quot;;color:navy;mso-no-proof:yes"><o:p></o:p></span></font></p>

</div><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class="MsoNormal" align="center" style="margin-bottom:0in;margin-bottom:.0001pt;
text-align:center"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt;font-family:&quot;Times New Roman&quot;">

<hr size="2" width="100%" align="center" tabindex="-1">

</span></font></div><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:
bold">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size:
10.0pt;font-family:Tahoma"> <a href="mailto:torqueusers-bounces@supercluster.org">torqueusers-bounces@supercluster.org</a>
[mailto:torqueusers-bounces@supercluster.org] <b><span style="font-weight:bold">On
Behalf Of </span></b>Coyle, James J [ITACD]<br>
<b><span style="font-weight:bold">Sent:</span></b> Wednesday, September 14,
2011 12:00 PM<br>
<b><span style="font-weight:bold">To:</span></b> Torque Users Mailing List<br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [torqueusers] Batch
not running : Things to check</span></font><font size="3" face="Times New Roman"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;"><o:p></o:p></span></font></p>

</div><p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;color:#1F497D">Dave,<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;color:#1F497D"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;color:#1F497D">&nbsp; Welcome to Torque. I switched
from NQS some time ago, and Torque/PBS has been a good replacement for me.<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;color:#1F497D">Things to check:<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;color:#1F497D">&nbsp; What does the error output say? (
Probably in file </span></font><font size="2" face="Arial"><span style="font-size:
10.0pt;font-family:Arial">dn_test.txt.e[0-9]* )</span></font><font color="#1f497d"><span style="color:#1F497D"><o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;color:#1F497D">&nbsp; Permissions on &nbsp;</span></font><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">/home/zarnocda/torque/scripts_test/dn_test.sh
, is it executable?&nbsp; <o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">You may need:</span></font><font color="#1f497d"><span style="color:#1F497D">&nbsp;&nbsp; &nbsp;chmod u+x </span></font><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">/home/zarnocda/torque/scripts_test/dn_test.sh<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">&nbsp;&nbsp;I’d also check if
/home/zarnocda/torque/scripts_test/dn_test.sh <o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">even exists on the compute node.<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">e.g.&nbsp; ls
/home/zarnocda/torque/scripts_test/dn_test.sh&nbsp; executable<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;color:#1F497D">&nbsp; I usually use the interactive
opion ( qsub –I ) to debug these kinds of problems.<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;color:#1F497D">You could issue:<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">qsub -V –I &nbsp;-l nodes=1 -q dn</span></font><font color="#1f497d"><span style="color:#1F497D"><o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;color:#1F497D">which will start an interactive jobs and
log you into the mother superior node for that job<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;color:#1F497D">where you can then try issuing the
commands within your job that is not working.<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;color:#1F497D"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="5" color="#1f497d" face="Consolas"><span style="font-size:16.0pt;font-family:
Consolas;color:#1F497D">James Coyle, PhD<o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="5" color="#1f497d" face="Consolas"><span style="font-size:16.0pt;font-family:
Consolas;color:#1F497D">High Performance Computing
Group&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="5" color="#1f497d" face="Consolas"><span style="font-size:16.0pt;font-family:
Consolas;color:#1F497D">&nbsp;Iowa State
Univ.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="5" color="#1f497d" face="Consolas"><span style="font-size:16.0pt;font-family:
Consolas;color:#1F497D">web: <a href="http://www.public.iastate.edu/~jjc">http://jjc.public.iastate.edu/</a><o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;color:#1F497D"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;color:#1F497D"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;color:#1F497D"><o:p>&nbsp;</o:p></span></font></p>

<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">

<div>

<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:
bold">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size:
10.0pt;font-family:Tahoma"> <a href="mailto:torqueusers-bounces@supercluster.org">torqueusers-bounces@supercluster.org</a>
[mailto:torqueusers-bounces@supercluster.org] <b><span style="font-weight:bold">On
Behalf Of </span></b><st1:personname w:st="on">Zarnoch, Dave</st1:personname><br>
<b><span style="font-weight:bold">Sent:</span></b> Wednesday, September 14,
2011 8:42 AM<br>
<b><span style="font-weight:bold">To:</span></b> <a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
<b><span style="font-weight:bold">Subject:</span></b> [torqueusers] Batch not
running<br>
<b><span style="font-weight:bold">Importance:</span></b> High<o:p></o:p></span></font></p>

</div>

</div><p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">Hello folks,<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">New to Torque, used to run NQS….<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">Concerning Torque…<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">I have a small script:<o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">$ more
dn_test.sh<o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">#!/bin/sh<o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">#<o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">PATH=/bin:/usr/bin:/usr/local/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11<o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">:/sbin:.<o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">export PATH<o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">DATE=`date
+%H%M`<o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">echo
"Hello"<o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">touch
/tmp/dn_test_${DATE}<o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">sleep 90<o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">When I
submit the script:<o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">qsub -V -l
nodes=1 -q dn dn_test.sh<o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">It runs
fine.<o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">But I need
to run batch…<o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">I created a
text file “dn_test.txt”<o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">That
contains:<o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">/home/zarnocda/torque/scripts_test/dn_test.sh<o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">When I run:<o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">qsub -V -l
nodes=1 –q dn dn_test.txt<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">It appears to process the file:<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">qstat –s<o:p></o:p></span></font></p><p class="MsoNormal"><b><font size="2" color="red" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:red;font-weight:bold">Job
id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
User&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Time Use
S Queue<o:p></o:p></span></font></b></p><p class="MsoNormal"><b><font size="2" color="red" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:red;font-weight:bold">-------------------------
---------------- --------------- -------- - -----<o:p></o:p></span></font></b></p><p class="MsoNormal"><b><font size="2" color="red" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:red;font-weight:bold">7592.usphl1ora002.amer&nbsp;&nbsp;&nbsp;
dn_test.txt&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
zarnocda&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0 R dn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></font></b></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">But it doesn’t excute the script
within:<o:p></o:p></span></font></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">/home/zarnocda/torque/scripts_test/dn_test.sh<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">Any help!<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">Thanks!<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">Dave<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">Dave Zarnoch<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">UNIX Systems Administration<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">(215)200-0911<o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><a href="mailto:Dave.Zarnoch@sykes.com">Dave.Zarnoch@sykes.com</a></span></font><font size="3" face="Times New Roman"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;"><o:p></o:p></span></font></p><p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></font></p>

</div>

</div>

</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></o:smarttagtype></blockquote></div><br></div></body></html>