[IPython-user] ipython 0.9.rc1: problem with example from the manual during import, using MultiEngineClient
Tue Sep 9 11:51:54 CDT 2008
Sorry about the messed up install instructions - the current docs are
patently wrong. We are going to fix this for the 0.9 release, which
is coming soon. We finished the final bit of bug fixing this last
week. The last thing we have to do before the release is the docs.
Hopefully you can be patient with us a few more days.
> I'll continue with this new installation. So far, the engines execute code sent to them with, 'mec.execute',
> but seem to hang when the code is 'import xxxxx'.
One thing you have to make sure of is that xxxxx is somewhere in the
sys.path of the Python that is running the engines. In your case,
what is xxxxx?
> Best regards,
> Brian Granger wrote:
>>> Hi everyone, sorry if this is a duplicate post; the original appeared,
>>> on my machine, under another thread. Sorry for that.
>>> I'm following the instructions in the Aug 29 2008 manual for parallel
>>> computing, and have been having some problems; reading back through the
>>> posts, I've noticed nothing to help (please, correct me if I'm wrong!).
>> Sorry about the delay and the confusing docs. I am working on
>> updating them for the 0.9 release. Hopefully that will help
>>> If I start my cluster with:
>>> $ ipcluster -n 4 &
>>> Then, with IPython, 0.9.rc1:
>>> In : from IPython.kernel import client
>>> In : tc = client.TaskClient()
>>> I get:
>>> ... traceback information....
>>> ValueError: not a furl or a file containing a furl:
>> This should work. Can you tell me more about your setup? OS?
>> Platform? Can you show what is in you ~/.ipython or _ipython
>>> If I follow the instructions printed by the shell during cluster startup:
>>> In : from ipython1.kernel import client # Differs from the manual
>>> In : mec = client.MultiEngineClient(('127.0.0.1',10105)) # Differs.
>>> All seems well. The same occurs when I follow the 'Quickstart Task
>>> Farming' section:
>>> In : tc = client.TaskClient(('127.0.0.1',10105))
>> It this works, then you have:
>> 1. Either both ipython1 and IPython 0.9 installed
>> 2. Just IPython 0.9 installed
>> I would remove ipython1 and IPython 0.9 and do a reinstall of _just_
>> 0.9 and try again. Also, in 0.9, you don't need to provide (and
>> can't) the ip and port. The two options are:
>> client.TaskClient("path to a furl file")
>> client.TaskClient() # empty - look for the default furl flie.
>> But...there are a few bugs that are in the process of being fixed (we
>> have fixed them, but the fixes aren't in the release candidate or
>> trunk yet).
>> But, this should work. Why don't you clean up your install and give
>> it a try again.
> IPython-user mailing list
More information about the IPython-user