<html><head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
</head><body wsmode="reply" bgcolor="#FFFFFF" text="#000000"><br>
Yeah I responded to that email while working out of a "car-office" heh 
and misread the original question's intent ...<br>
<br>
I'm sure we (bioteam) can find a lot of use for the plugins/sge.py 
script!<br>
<br>
Regards,<br>
Chris<br>
<br>
<br>
<br>
<blockquote style="border: 0px none;" 
cite="mid:4F48056C.4010305@mit.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="jtriley@MIT.EDU" photoname="Justin Riley" 
src="cid:part1.04010102.06030000@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:jtriley@MIT.EDU" 
style="color:#737F92 
!important;padding-right:6px;font-weight:bold;text-decoration:none 
!important;">Justin Riley</a></div>   <div 
style="display:table-cell;white-space:nowrap;vertical-align:middle;">   
  <font color="#9FA2A5"><span style="padding-left:6px">February 24, 2012
 4:47 PM</span></font></div></div></div>
  <div style="color:#888888;margin-left:24px;margin-right:24px;" 
__pbrmquotes="true" class="__pbConvBody"><div>-----BEGIN PGP SIGNED 
MESSAGE-----<br>Hash: SHA1<br><br>Hi Chris,<br><br>By default all of the
 nodes in the cluster *should* be admin, submit,<br>and exec hosts.<br><br>With
 that said I'd love for folks to start customizing the new SGE<br>plugin
 on git (will be released with 0.93.2 as well). You can find the<br>new 
plugin in "plugins/sge.py".<br><br>Each SGE customization should be 
implemented as an optional keyword<br>argument to the plugin's __init__ 
method - other plugin methods should<br>then read these parameters and 
perform the customizations in run(),<br>on_add_node(), etc. I'm happy to
 help folks get started if interested.<br><br>~Justin<br></div><div><!----><br>-----BEGIN
 PGP SIGNATURE-----<br>Version: GnuPG v2.0.17 (GNU/Linux)<br>Comment: 
Using GnuPG with Mozilla - <a class="moz-txt-link-freetext" href="http://enigmail.mozdev.org/">http://enigmail.mozdev.org/</a><br><br>iEYEARECAAYFAk9IBWsACgkQ4llAkMfDcrlgLACfUYrrpRYk3hPu9SUgw6w+9hRe<br>KIoAn39PejiVJf861cfT+KEYzhhaMtzS<br>=3hpo<br>-----END
 PGP SIGNATURE-----<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="dag@bioteam.net" photoname="Chris Dagdigian" 
src="cid:part2.09020104.07000108@bioteam.net" name="postbox-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:dag@bioteam.net" 
style="color:#737F92 
!important;padding-right:6px;font-weight:bold;text-decoration:none 
!important;">Chris Dagdigian</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:58 PM</span></font></div></div></div>
  <div style="color:#888888;margin-left:24px;margin-right:24px;" 
__pbrmquotes="true" class="__pbConvBody">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<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>

<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
 style="margin:0; " ws="true"><span><span style="font-size: small;"><span
 style="color: #808080;"><strong data-name="name" data-type="var">Chris 
Dagdigian</strong><span style="color: #888888;"><em data-name="title" 
data-type="var"> Principal Consultant</em></span><span style="color: 
#888888;"><em data-name="company" data-type="var">, BioTeam Inc.</em></span></span></span>
 <br><span><span data-name="website" data-type="var" style="font-size: 
small;"><span style="color: #666699;"><a moz-do-not-send="true" 
href="http://bioteam.net" class="moz-txt-link-freetext">http://bioteam.net</a></span></span>
 </span><span><span data-name="website" data-type="var" 
style="font-size: small;"><span style="color: #666699;"><a 
moz-do-not-send="true" style="text-decoration: 
underline" href="http://www.slideshare.net/chrisdag/"><img 
name="image.png" moz-do-not-send="true" 
src="cid:part3.08040800.05090103@bioteam.net" style="padding: 0px 0px 
5px 0px; 
vertical-align: middle;" alt="SlideShare" border="0" height="16" 
width="16"></a> <a moz-do-not-send="true" style="text-decoration: 
underline" href="https://twitter.com/chris_dag"><img name="image.png" 
moz-do-not-send="true" src="cid:part4.08070004.07040007@bioteam.net" 
style="padding: 0px 0px 5px 0px; vertical-align: middle;" alt="Twitter" 
border="0" height="16" width="16"></a> <a moz-do-not-send="true" 
style="text-decoration: underline" 
href="http://www.linkedin.com/in/chrisdag"><img name="image.png" 
moz-do-not-send="true" src="cid:part5.07010006.00000709@bioteam.net" 
style="padding: 
0px 0px 5px 0px; vertical-align: middle;" alt="LinkedIn" border="0" 
height="16" width="16"></a> <a moz-do-not-send="true" 
style="text-decoration: underline" href="http://flic.kr/s/aHsiPuSdtY"><img
 name="image.png" moz-do-not-send="true" 
src="cid:part6.07060403.07020506@bioteam.net" style="padding: 0px
 0px 5px 0px; vertical-align: middle;" alt="Flickr" 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 moz-do-not-send="true" 
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>
  </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="derickso@stanford.edu" photoname="David Erickson" 
src="cid:part1.04010102.06030000@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.04010102.06030000@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_7373"><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:part9.05080608.04030409@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:part10.06050004.05070309@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:part11.09060403.02040201@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:part12.02080803.03000202@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>