>From IPython&#39;s perspective, I would love to use a Python library, rather than qsub via a subprocess to launch engines with SGE in ipcluster.<br><br><div class="gmail_quote">On Sun, Jul 29, 2012 at 4:56 PM, Chris Diehl <span dir="ltr">&lt;<a href="mailto:cpdiehl@gmail.com" target="_blank">cpdiehl@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Justin,<br>
<br>
Should I be able to use DRMAA on a StarCluster instance to submit jobs<br>
from Python to the Grid Engine? It appears drmaa-python is installed.<br>
When I try to do an &quot;import drmaa&quot;, I get the following response.<br>
<br>
root@master:/usr# python<br>
Python 2.7.2+ (default, Oct  4 2011, 20:06:09)<br>
[GCC 4.6.1] on linux2<br>
Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.<br>
&gt;&gt;&gt; import drmaa<br>
Traceback (most recent call last):<br>
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>
  File &quot;/usr/local/lib/python2.7/dist-packages/drmaa/__init__.py&quot;,<br>
line 41, in &lt;module&gt;<br>
    import drmaa.wrappers as _w<br>
  File &quot;/usr/local/lib/python2.7/dist-packages/drmaa/wrappers.py&quot;,<br>
line 43, in &lt;module&gt;<br>
    raise RuntimeError(errmsg)<br>
RuntimeError: could not find drmaa library. Please specify its full<br>
path using the environment variable DRMAA_LIBRARY_PATH<br>
&gt;&gt;&gt;<br>
<br>
The Python DRMAA library looked like a good way to submit and monitor<br>
jobs running in SGE from Python. So I&#39;d like to get this up and<br>
running if possible.<br>
<br>
Any suggestions you have would be most appreciated!<br>
<br>
Chris<br>
_______________________________________________<br>
StarCluster mailing list<br>
<a href="mailto:StarCluster@mit.edu">StarCluster@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/starcluster" target="_blank">http://mailman.mit.edu/mailman/listinfo/starcluster</a><br>
</blockquote></div><br>