When I try to run the parallel MPI example from the docs, I get:<br><br>ValueError: not a furl or a file containing a furl: /root/.ipython/security/<div id=":1o8" class="ii gt">ipcontroller-engine.furl<br>
<br>This is on Ubuntu 9.04 Jaunty, using the following Amazon EC2 AMI with openmpi:<br><br><a href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1952&categoryID=101" target="_blank">http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1952&categoryID=101</a><br>
<br>I'm able to run standard C MPI jobs without any issues,<br>
<br>$ ec2-run-instances -k gsg-keypair ami-bf5eb9d6<br><br>ssh in and run the following installs...<br><br>apt-get -y update<br>apt-get -y upgrade <br>apt-get -y install libopenmpi1 openmpi-bin openmpi-common libopenmpi-dev<br>
apt-get -y install python-setuptools python-docutils <br>apt-get -y install python-support python-distutils-extra <br>apt-get -y install python-dev python-numpy python-numpy-ext python-scipy cython <br>apt-get -y install ipython<br>
easy_install mpi4py<br><br>ipython (to initialize the env, then ctl-D to exit)<br><br>mpirun -n 2 ipengine --mpi=mpi4py<br><br>/var/lib/python-support/python2.6/IPython/Magic.py:38: DeprecationWarning: the sets module is deprecated<br>
from sets import Set<br>/usr/lib/python2.6/dist-packages/foolscap/vocab.py:2: DeprecationWarning: the sha module is deprecated; use the hashlib module instead<br> import sha<br>/var/lib/python-support/python2.6/IPython/Magic.py:38: DeprecationWarning: the sets module is deprecated<br>
from sets import Set<br>/usr/lib/python2.6/dist-packages/foolscap/vocab.py:2: DeprecationWarning: the sha module is deprecated; use the hashlib module instead<br> import sha<br>2009-05-29 16:23:04+0000 [-] Log opened.<br>
2009-05-29 16:23:04+0000 [-] MPI started with rank = 0 and size = 2<br>2009-05-29 16:23:04+0000 [-] Using furl file: /root/.ipython/security/ipcontroller-engine.furl<br>2009-05-29 16:23:04+0000 [-] Traceback (most recent call last):<br>
2009-05-29 16:23:04+0000 [-] File "/usr/bin/ipengine", line 19, in <module><br>2009-05-29 16:23:04+0000 [-] ipengine.main()<br>2009-05-29 16:23:04+0000 [-] File "/var/lib/python-support/python2.6/IPython/kernel/scripts/ipengine.py", line 168, in main<br>
2009-05-29 16:23:04+0000 [-] start_engine()<br>2009-05-29 16:23:04+0000 [-] File "/var/lib/python-support/python2.6/IPython/kernel/scripts/ipengine.py", line 109, in start_engine<br>2009-05-29 16:23:04+0000 [-] d = engine_connector.connect_to_controller(engine_service, furl_file)<br>
2009-05-29 16:23:04+0000 [-] File "/var/lib/python-support/python2.6/IPython/kernel/engineconnector.py", line 65, in connect_to_controller<br>2009-05-29 16:23:04+0000 [-] self.furl = find_furl(furl_or_file)<br>
2009-05-29 16:23:04+0000 [-] File "/var/lib/python-support/python2.6/IPython/kernel/fcutil.py", line 56, in find_furl<br>2009-05-29 16:23:04+0000 [-] raise ValueError("not a furl or a file containing a furl: %s" % furl_or_file)<br>
2009-05-29 16:23:04+0000 [-] ValueError: not a furl or a file containing a furl: /root/.ipython/security/ipcontroller-engine.furl<br>2009-05-29 16:23:04+0000 [-] Log opened.<br>2009-05-29 16:23:04+0000 [-] MPI started with rank = 1 and size = 2<br>
2009-05-29 16:23:05+0000 [-] Using furl file: /root/.ipython/security/ipcontroller-engine.furl<br>2009-05-29 16:23:05+0000 [-] Traceback (most recent call last):<br>2009-05-29 16:23:05+0000 [-] File "/usr/bin/ipengine", line 19, in <module><br>
2009-05-29 16:23:05+0000 [-] ipengine.main()<br>2009-05-29 16:23:05+0000 [-] File "/var/lib/python-support/python2.6/IPython/kernel/scripts/ipengine.py", line 168, in main<br>2009-05-29 16:23:05+0000 [-] start_engine()<br>
2009-05-29 16:23:05+0000 [-] File "/var/lib/python-support/python2.6/IPython/kernel/scripts/ipengine.py", line 109, in start_engine<br>2009-05-29 16:23:05+0000 [-] d = engine_connector.connect_to_controller(engine_service, furl_file)<br>
2009-05-29 16:23:05+0000 [-] File "/var/lib/python-support/python2.6/IPython/kernel/engineconnector.py", line 65, in connect_to_controller<br>2009-05-29 16:23:05+0000 [-] self.furl = find_furl(furl_or_file)<br>
2009-05-29 16:23:05+0000 [-] File "/var/lib/python-support/python2.6/IPython/kernel/fcutil.py", line 56, in find_furl<br>2009-05-29 16:23:05+0000 [-] raise ValueError("not a furl or a file containing a furl: %s" % furl_or_file)<br>
2009-05-29 16:23:05+0000 [-] ValueError: not a furl or a file containing a furl: /root/.ipython/security/ipcontroller-engine.furl</div><br clear="all"><br>-- <br>Peter N. Skomoroch<br>617.285.8348<br><a href="http://www.datawrangling.com">http://www.datawrangling.com</a><br>
<a href="http://delicious.com/pskomoroch">http://delicious.com/pskomoroch</a><br><a href="http://twitter.com/peteskomoroch">http://twitter.com/peteskomoroch</a><br>