<html><head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
</head><body wsmode="reply" bgcolor="#FFFFFF" text="#000000"><br>
It is *extremely* common for all SGE nodes in a cluster to be both admin
 and submit hosts. <br>
<br>
The reason for making every node a submit host is that there are cluster
 workflows that often include jobs running on a node that either do new 
job submissions directly or else alter things like hold_jid or the 
parameters of a job array.<br>
<br>
For small clusters that are persistant, the CLI command is "qconf -as 
&lt;hostname&gt;" to add a submit host.<br>
<br>
Starcluster uses an SGE autoinstallation template file (I think ...) to 
automate the process of cluster building. Within this template file 
there is a parameter where you can list out your Admin and Submit hosts.<br>
<br>
I imagine it would be pretty simple to customize or override the default
 StarCluster autoinstallation file so that all your nodes become submit 
host.<br>
<br>
And if that is too complicated it's pretty trivial to iterate over the 
hostnames and run the "qconf -as" command ...<br>
<br>
My $.02 of course!<br>
<br>
-Chris<br>
<br>
<br>
<blockquote style="border: 0px none;" 
cite="mid:4F47F542.4030003@stanford.edu" type="cite">
  <div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div 
style="display:table;width:100%;border-top:1px solid 
#EDEEF0;padding-top:5px">         <div 
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
 photoaddress="derickso@stanford.edu" photoname="David Erickson" 
src="cid:part1.03000401.05060505@bioteam.net" 
name="compose-unknown-contact.jpg" height="25px" width="25px"></div>   <div
 
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
           <a moz-do-not-send="true" href="mailto:derickso@stanford.edu" 
style="color:#737F92 
!important;padding-right:6px;font-weight:bold;text-decoration:none 
!important;">David Erickson</a></div>   <div 
style="display:table-cell;white-space:nowrap;vertical-align:middle;">   
  <font color="#9FA2A5"><span style="padding-left:6px">February 24, 2012
 3:38 PM</span></font></div></div></div>
  <div style="color:#888888;margin-left:24px;margin-right:24px;" 
__pbrmquotes="true" class="__pbConvBody"><div><!----><br>I ran into this
 too and found out I had to source <br>/etc/profile.d/sge.sh.  I also am
 curious if there is a better solution, <br>presumably this is an 
interactive vs noninteractive shell issue.<br><br>-D<br>_______________________________________________<br>StarCluster
 mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:StarCluster@mit.edu">StarCluster@mit.edu</a><br><a class="moz-txt-link-freetext" href="http://mailman.mit.edu/mailman/listinfo/starcluster">http://mailman.mit.edu/mailman/listinfo/starcluster</a><br></div></div>
  <div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div 
style="display:table;width:100%;border-top:1px solid 
#EDEEF0;padding-top:5px">         <div 
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
 photoaddress="robert.yu@aditazz.com" photoname="Robert Yu" 
src="cid:part1.03000401.05060505@bioteam.net" 
name="compose-unknown-contact.jpg" height="25px" width="25px"></div>   <div
 
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
           <a moz-do-not-send="true" href="mailto:robert.yu@aditazz.com" 
style="color:#737F92 
!important;padding-right:6px;font-weight:bold;text-decoration:none 
!important;">Robert Yu</a></div>   <div 
style="display:table-cell;white-space:nowrap;vertical-align:middle;">   
  <font color="#9FA2A5"><span style="padding-left:6px">February 24, 2012
 3:07 PM</span></font></div></div></div>
  <div style="color:#888888;margin-left:24px;margin-right:24px;" 
__pbrmquotes="true" class="__pbConvBody"><div>Hi,<br><br>This is more of
 a best-practice question.<br><br>Let's say I am on machine A.  From it,
 I create a cluster.  I can then<br>ssh into the "master" and launch 
jobs.  Can this also be done from<br>machine A directly?  I know one can
 do "starcluster sshmaster -u<br>sgeadmin &lt;clustername&gt; 'some 
command'" but then I typically run into<br>environment issues.  Is there
 (simple) a way to make machine A an sge<br>submit host?<br><br></div></div>
</blockquote>
<br>
<div id="WISESTAMP_SIG_5664"><div style="font-size: 13.3px; font-family:
 Verdana, Arial, Helvetica, sans-serif;"><div style="margin: 0 0 8px 0"><p
 ws="true" style="margin:0; "><span><span style="font-size: small;"><span
 style="color: #808080;"><strong data-type="var" data-name="name">Chris 
Dagdigian</strong><span style="color: #888888;"><em data-type="var" 
data-name="title"> Principal Consultant</em></span><span style="color: 
#888888;"><em data-type="var" data-name="company">, BioTeam Inc.</em></span></span></span>
 <br><span><span style="font-size: small;" data-type="var" 
data-name="website"><span style="color: #666699;"><a class="moz-txt-link-freetext" href="http://bioteam.net">http://bioteam.net</a></span></span>
 </span><span><span style="font-size: small;" data-type="var" 
data-name="website"><span style="color: #666699;"><a 
href="http://www.slideshare.net/chrisdag/" style="text-decoration: 
underline"><img alt="SlideShare" style="padding: 0px 0px 5px 0px; 
vertical-align: middle;" src="cid:part3.01060500.06040603@bioteam.net" 
border="0" height="16" width="16"></a> <a 
href="https://twitter.com/chris_dag" style="text-decoration: underline"><img
 alt="Twitter" style="padding: 0px 0px 5px 0px; vertical-align: middle;"
 src="cid:part4.02010409.02050407@bioteam.net" border="0" height="16" 
width="16"></a> <a href="http://www.linkedin.com/in/chrisdag" 
style="text-decoration: underline"><img alt="LinkedIn" style="padding: 
0px 0px 5px 0px; vertical-align: middle;" 
src="cid:part5.04020302.05000401@bioteam.net" border="0" height="16" 
width="16"></a> <a href="http://flic.kr/s/aHsiPuSdtY" 
style="text-decoration: underline"><img alt="Flickr" style="padding: 0px
 0px 5px 0px; vertical-align: middle;" 
src="cid:part6.02090406.00070706@bioteam.net" border="0" height="16" 
width="16"></a></span></span>&nbsp; </span><br></span></p></div><div 
style="max-width: 469px; padding: 0.5em 0 0.5em;"><span 
style="font-size: 90%;"><span style="color: gray">My latest BioTeam Blog
 Post:</span>  <a 
href="http://bioteam.net/2012/02/metrum-moves-to-the-cloud/"><span 
style="color:#00e; text-decoration: underline;">Metrum moves to the 
cloud</span></a></span><br></div></div></div>
</body></html>