Matthieu,<br><br>Sorry about the delay. Here are the step I usually go through if I am having trouble with ipcluster:<br><br>1. First, clear out $HOME/.ipython/security<br>2. Try to create a 1 engine cluster using ipcontroller and ipengine manually (this is what ipcluster uses underneath the hood). This will help you debug any security related things.<br>
3. Then move on to ipcluster local and beyond.<br><br>Cheers,<br><br>Brian<br><br><div class="gmail_quote">On Thu, Aug 6, 2009 at 12:07 AM, Matthieu Brucher <span dir="ltr"><<a href="mailto:matthieu.brucher@gmail.com">matthieu.brucher@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi again,<br>
<br>
It seems that it works now, also nothing changed (perhaps a quota<br>
issue in my home folder?).<br>
<br>
I will try to setup the cluster stuff now.<br>
<br>
Matthieu<br>
<br>
2009/8/5 Matthieu Brucher <<a href="mailto:matthieu.brucher@gmail.com">matthieu.brucher@gmail.com</a>>:<br>
<div><div></div><div class="h5">> Hi,<br>
><br>
> I'm trying to setup ipython 0.10 and test it before submitting a patch<br>
> for LSF support (which is what we are using in Pau instead of PBS).<br>
> This would be my first patch for Ipython (emotion).<br>
><br>
> So first, I'm trying to get the ipcluster work locally with:<br>
><br>
>> ipcluster local -n 4<br>
> And the log:<br>
> 2009-08-05 16:09:15+0200 [-] Log opened.<br>
> 2009-08-05 16:09:15+0200 [-] Process ['ipcontroller',<br>
> '--logfile=/users/brucher/.ipython/log/ipcontroller'] has started with<br>
> pid=8050<br>
> 2009-08-05 16:09:15+0200 [-] Waiting for controller to finish starting...<br>
> 2009-08-05 16:09:17+0200 [-] Controller started<br>
> 2009-08-05 16:09:17+0200 [-] Process ['ipengine',<br>
> '--logfile=/users/brucher/.ipython/log/ipengine8050-'] has started<br>
> with pid=8051<br>
> 2009-08-05 16:09:17+0200 [-] Process ['ipengine',<br>
> '--logfile=/users/brucher/.ipython/log/ipengine8050-'] has started<br>
> with pid=8052<br>
> 2009-08-05 16:09:17+0200 [-] Process ['ipengine',<br>
> '--logfile=/users/brucher/.ipython/log/ipengine8050-'] has started<br>
> with pid=8053<br>
> 2009-08-05 16:09:17+0200 [-] Process ['ipengine',<br>
> '--logfile=/users/brucher/.ipython/log/ipengine8050-'] has started<br>
> with pid=8054<br>
> 2009-08-05 16:09:17+0200 [-] Engines started with pids: [8051, 8052, 8053, 8054]<br>
><br>
> Then, in the same location, I'm starting IPython and I try to connect<br>
> to the controller/engines but strangelly, it fails:<br>
><br>
> [6] mec = client.MultiEngineClient()<br>
> ---------------------------------------------------------------------------<br>
> BananaError Traceback (most recent call last)<br>
><br>
> /users/brucher/<ipython console> in <module>()<br>
><br>
> /users/brucher/x86_64/lib/python2.5/site-packages/IPython/kernel/client.py<br>
> in get_multiengine_client(furl_or_file)<br>
> 67 """<br>
> 68 client = blockingCallFromThread(_client_tub.get_multiengine_client,<br>
> ---> 69 furl_or_file)<br>
> 70 return client.adapt_to_blocking_client()<br>
> 71<br>
><br>
> /users/brucher/x86_64/lib/python2.5/site-packages/IPython/kernel/twistedutil.pyc<br>
> in blockingCallFromThread(f, *a, **kw)<br>
> 70 @raise: any error raised during the callback chain.<br>
> 71 """<br>
> ---> 72 return<br>
> twisted.internet.threads.blockingCallFromThread(reactor, f, *a, **kw)<br>
> 73<br>
> 74 else:<br>
><br>
> /users/brucher/x86_64/lib/python2.5/site-packages/twisted/internet/threads.pyc<br>
> in blockingCallFromThread(reactor, f, *a, **kw)<br>
> 112 result = queue.get()<br>
> 113 if isinstance(result, failure.Failure):<br>
> --> 114 result.raiseException()<br>
> 115 return result<br>
> 116<br>
><br>
> /users/brucher/x86_64/lib/python2.5/site-packages/twisted/python/failure.pyc<br>
> in raiseException(self)<br>
> 324 information if available.<br>
> 325 """<br>
> --> 326 raise self.type, self.value, self.tb<br>
> 327<br>
> 328<br>
><br>
> BananaError: BananaError: ('crypto for PB is not available, we cannot<br>
> handle encrypted PB-URLs like<br>
> pb://<a href="http://lhourelkbvqan3lmgrjcuhndtwiskows@10.57.15.41:34415" target="_blank">lhourelkbvqan3lmgrjcuhndtwiskows@10.57.15.41:34415</a>,<a href="http://127.0.0.1:34415/gjgrouve4cmkx43b65qydlkyln5xwbc6" target="_blank">127.0.0.1:34415/gjgrouve4cmkx43b65qydlkyln5xwbc6</a>',)<br>
><br>
> I've tried without openssl with ipcluster -xy, but in this case, it<br>
> claimed it couldn't find furls in .ipython/security/..., and indeed,<br>
> there were none there or in the folder where I've started ipcluster.<br>
><br>
> Is there something I'm missing? I've tried following the guide, but no<br>
> success so far :|<br>
><br>
> Matthieu<br>
> --<br>
> Information System Engineer, Ph.D.<br>
> Website: <a href="http://matthieu-brucher.developpez.com/" target="_blank">http://matthieu-brucher.developpez.com/</a><br>
> Blogs: <a href="http://matt.eifelle.com" target="_blank">http://matt.eifelle.com</a> and <a href="http://blog.developpez.com/?blog=92" target="_blank">http://blog.developpez.com/?blog=92</a><br>
> LinkedIn: <a href="http://www.linkedin.com/in/matthieubrucher" target="_blank">http://www.linkedin.com/in/matthieubrucher</a><br>
><br>
<br>
<br>
<br>
--<br>
Information System Engineer, Ph.D.<br>
Website: <a href="http://matthieu-brucher.developpez.com/" target="_blank">http://matthieu-brucher.developpez.com/</a><br>
Blogs: <a href="http://matt.eifelle.com" target="_blank">http://matt.eifelle.com</a> and <a href="http://blog.developpez.com/?blog=92" target="_blank">http://blog.developpez.com/?blog=92</a><br>
LinkedIn: <a href="http://www.linkedin.com/in/matthieubrucher" target="_blank">http://www.linkedin.com/in/matthieubrucher</a><br>
_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</div></div></blockquote></div><br>