-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Research python options for geoda cluster #12
Comments
Trying to replicate the mpi example on ipython leads to
|
Was the psum.py file created? Also In[9] should read I'll play with the example via iPython as well. The mpi_test1.py file is working as expected using mpi4py. |
it was, i forgot to commit. there now s.Sergio (Serge) Rey Editor, International Regional Science Review On Sep 25, 2013, at 4:45 PM, jlaura [email protected] wrote:
|
Working as long as I am in the same directory as the psum script. Even the absolute path to that file (In [6]) does not seem to function properly. In [2]: from IPython.parallel import Client In [3]: c = Client(profile='mpi') In [4]: view = c[:] In [5]: view.activate() In [6]: view.run('psum.py') In [7]: import numpy as np In [8]: view.scatter('a', np.arange(16, dtype='float')) In [9]: view['a'] In [10]: %px totalsum = psum(a) In [11]: view['totalsum'] |
IPython http://ipython.org/ipython-doc/stable/parallel/parallel_intro.html
mpi4py http://mpi4py.scipy.org
Note that mpi4py is already installed with Anaconda
Other https://wiki.python.org/moin/ParallelProcessing
The text was updated successfully, but these errors were encountered: