[IPython-dev] Ubuntu 9.04 Jaunty on EC2 w/openmpi, parallel ipython errors

Peter Skomoroch peter.skomoroch@gmail....
Tue Jun 2 14:58:37 CDT 2009


When I try to run the parallel MPI example from the docs, I get:

ValueError: not a furl or a file containing a furl: /root/.ipython/security/
ipcontroller-engine.furl

This is on Ubuntu 9.04 Jaunty, using the following Amazon EC2 AMI with
openmpi:

http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1952&categoryID=101

I'm able to run standard C MPI jobs without any issues,

$ ec2-run-instances -k gsg-keypair ami-bf5eb9d6

ssh in and run the following installs...

apt-get -y update
apt-get -y upgrade
apt-get -y install libopenmpi1 openmpi-bin openmpi-common libopenmpi-dev
apt-get -y install python-setuptools python-docutils
apt-get -y install python-support python-distutils-extra
apt-get -y install python-dev python-numpy python-numpy-ext python-scipy
cython
apt-get -y install ipython
easy_install mpi4py

ipython (to initialize the env, then ctl-D to exit)

mpirun -n 2 ipengine --mpi=mpi4py

/var/lib/python-support/python2.6/IPython/Magic.py:38: DeprecationWarning:
the sets module is deprecated
  from sets import Set
/usr/lib/python2.6/dist-packages/foolscap/vocab.py:2: DeprecationWarning:
the sha module is deprecated; use the hashlib module instead
  import sha
/var/lib/python-support/python2.6/IPython/Magic.py:38: DeprecationWarning:
the sets module is deprecated
  from sets import Set
/usr/lib/python2.6/dist-packages/foolscap/vocab.py:2: DeprecationWarning:
the sha module is deprecated; use the hashlib module instead
  import sha
2009-05-29 16:23:04+0000 [-] Log opened.
2009-05-29 16:23:04+0000 [-] MPI started with rank = 0 and size = 2
2009-05-29 16:23:04+0000 [-] Using furl file:
/root/.ipython/security/ipcontroller-engine.furl
2009-05-29 16:23:04+0000 [-] Traceback (most recent call last):
2009-05-29 16:23:04+0000 [-]   File "/usr/bin/ipengine", line 19, in
<module>
2009-05-29 16:23:04+0000 [-]     ipengine.main()
2009-05-29 16:23:04+0000 [-]   File
"/var/lib/python-support/python2.6/IPython/kernel/scripts/ipengine.py", line
168, in main
2009-05-29 16:23:04+0000 [-]     start_engine()
2009-05-29 16:23:04+0000 [-]   File
"/var/lib/python-support/python2.6/IPython/kernel/scripts/ipengine.py", line
109, in start_engine
2009-05-29 16:23:04+0000 [-]     d =
engine_connector.connect_to_controller(engine_service, furl_file)
2009-05-29 16:23:04+0000 [-]   File
"/var/lib/python-support/python2.6/IPython/kernel/engineconnector.py", line
65, in connect_to_controller
2009-05-29 16:23:04+0000 [-]     self.furl = find_furl(furl_or_file)
2009-05-29 16:23:04+0000 [-]   File
"/var/lib/python-support/python2.6/IPython/kernel/fcutil.py", line 56, in
find_furl
2009-05-29 16:23:04+0000 [-]     raise ValueError("not a furl or a file
containing a furl: %s" % furl_or_file)
2009-05-29 16:23:04+0000 [-] ValueError: not a furl or a file containing a
furl: /root/.ipython/security/ipcontroller-engine.furl
2009-05-29 16:23:04+0000 [-] Log opened.
2009-05-29 16:23:04+0000 [-] MPI started with rank = 1 and size = 2
2009-05-29 16:23:05+0000 [-] Using furl file:
/root/.ipython/security/ipcontroller-engine.furl
2009-05-29 16:23:05+0000 [-] Traceback (most recent call last):
2009-05-29 16:23:05+0000 [-]   File "/usr/bin/ipengine", line 19, in
<module>
2009-05-29 16:23:05+0000 [-]     ipengine.main()
2009-05-29 16:23:05+0000 [-]   File
"/var/lib/python-support/python2.6/IPython/kernel/scripts/ipengine.py", line
168, in main
2009-05-29 16:23:05+0000 [-]     start_engine()
2009-05-29 16:23:05+0000 [-]   File
"/var/lib/python-support/python2.6/IPython/kernel/scripts/ipengine.py", line
109, in start_engine
2009-05-29 16:23:05+0000 [-]     d =
engine_connector.connect_to_controller(engine_service, furl_file)
2009-05-29 16:23:05+0000 [-]   File
"/var/lib/python-support/python2.6/IPython/kernel/engineconnector.py", line
65, in connect_to_controller
2009-05-29 16:23:05+0000 [-]     self.furl = find_furl(furl_or_file)
2009-05-29 16:23:05+0000 [-]   File
"/var/lib/python-support/python2.6/IPython/kernel/fcutil.py", line 56, in
find_furl
2009-05-29 16:23:05+0000 [-]     raise ValueError("not a furl or a file
containing a furl: %s" % furl_or_file)
2009-05-29 16:23:05+0000 [-] ValueError: not a furl or a file containing a
furl: /root/.ipython/security/ipcontroller-engine.furl


-- 
Peter N. Skomoroch
617.285.8348
http://www.datawrangling.com
http://delicious.com/pskomoroch
http://twitter.com/peteskomoroch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20090602/d6b99af4/attachment.html 


More information about the IPython-dev mailing list