[Numpy-discussion] Best way to run python parallel

Steven H. Rogers steve at shrogers.com
Thu Mar 29 08:11:41 EDT 2007


Mandus wrote:
> 
> 
> On 3/29/07, *Brad Malone* <brad.malone at gmail.com 
> <mailto:brad.malone at gmail.com>> wrote:
> 
>     Hi, I use python for some fairly heavy scientific computations (at
>     least to be running on a single processor) and would like to use it
>     in parallel.  I've seen some stuff online about Parallel Python and
>     mpiPy, but I don't know much about them.  Is a python-specific
>     program needed to run python in parallel or are the others ( e.g.,
>     mpi/poe) just more difficult to work with?  And which one would you
>     recommend?
> 
> 
> 
> There are, speaking generally, two ways to achive this. One is running a 
> modified python linked with mpi, the other is using a python module 
> linked with mpi, which can be used directly in a regular python. In both 
> cases you will run your application using mpirun, just as with a C/C++ 
> based parallel program.  Both these approaches have pros and cons, it 
> depends on your needs.
> 

Another option coming 'Real Soon Now` is `IPython1 
<http://ipython.scipy.org/moin/IPython1>`.  It's the enhanced Python 
interactive shell with the added capability for distributed interactive 
computing.

# Steve



More information about the NumPy-Discussion mailing list