The SGE issue is fixed in master, and a workaround is described in <a href="https://github.com/ipython/ipython/issues/2171">Issue #2171</a>.<br><br>On Tue, Jul 24, 2012 at 5:44 PM, Robert Nishihara <<a href="mailto:robertnishihara@gmail.com">robertnishihara@gmail.com</a>> wrote:<br>
> <<a href="http://lists.ipython.scipy.org/pipermail/ipython-user/2012-July/010619.html">http://lists.ipython.scipy.org/pipermail/ipython-user/2012-July/010619.html</a>><br>> for reference.<br>><br>><br>
> On Tue, Jul 24, 2012 at 5:42 PM, Robert Nishihara<br>> <<a href="mailto:robertnishihara@gmail.com">robertnishihara@gmail.com</a>> wrote:<br>>><br>>> I am also interested in the answer to this question.<br>
>><br>>> I think I am running into the same problem (except I am using SGE) when I<br>>> use IPython 0.13. It works in IPython 0.12. <br>>><br>>><br>>> On Thu, Jul 19, 2012 at 1:39 AM, M. Wimmer <<a href="mailto:wimmer.mike@gmail.com">wimmer.mike@gmail.com</a>> wrote:<br>
>>><br>>>> Thanks for the quick reply!<br>>>><br>>>> > (or similar)PR #2163 (one-character patch) should fix it. Can you<br>>>> > confirm<br>>>> > that?<br>
>>><br>
>>> I tried this, and it certainly fixes the problem with the profile<br>>>> directory<br>>>> (i.e. the scp-commands work now).<br>>>><br>>>> However I have still problems with the engines not being launched due to<br>
>>> a<br>>>> syntax error (only the relevant part, and I add -vvv to ssh):<br>>>><br>>>> 2012-07-19 10:29:34.700 [IPClusterStart] debug1: Sending command:<br>>>> /usr/bin/python -c from IPython.parallel.apps.ipengineapp import<br>
>>> launch_new_instance; launch_new_instance() --profile-dir<br>>>> .ipython/profile_ssh --log-to-file --log-level=20<br>>>> 2012-07-19 10:29:34.763 [IPClusterStart] bash: -c: line 0: syntax error<br>
>>> near<br>>>> unexpected token `--profile-dir'<br>>>> 2012-07-19 10:29:34.764 [IPClusterStart] bash: -c: line 0:<br>>>> `/usr/bin/python<br>>>> -c from IPython.parallel.apps.ipengineapp import launch_new_instance;<br>
>>> launch_new_instance() --profile-dir .ipython/profile_ssh --log-to-file<br>>>> --log-level=20'<br>>>><br>>>> It seems to me that there are some quotation marks missing around `from<br>
>>> ...<br>>>> launch_new_instance()`? (I have to admit that quoting always confuses me)<br>>>><br>>>> Indeed, if I add to ipcluster_config.py<br>>>><br>>>> c.SSHEngineSetLauncher.engine_cmd = ['/usr/bin/python', '-c', '\"from<br>
>>> IPython.parallel.apps.ipengineapp import launch_new_instance;<br>>>> launch_new_instance()\"']<br>>>><br>>>> the syntax error is solved.<br>>>><br>>>> Unfortunately, the cluster still does not start, as the engines simply<br>
>>> stop<br>>>> within two seconds or so. I'm still investigating this, but in any case<br>>>> it<br>>>> would be nice if you could have a look into what I wrote above.<br>>>><br>
>>> All the best,<br>>>><br>>>> Michael<br>>>><br>>>><br>>>> _______________________________________________<br>>>> IPython-User mailing list<br>>>> <a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
>>> <a href="http://mail.scipy.org/mailman/listinfo/ipython-user">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>>><br>>><br>><br>><br>> _______________________________________________<br>
> IPython-User mailing list<br>> <a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>> <a href="http://mail.scipy.org/mailman/listinfo/ipython-user">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
><br><br>