Python MPI

Karsten Petersen wunschname at kapet.de
Fri Mar 23 12:25:23 EST 2001


Eugene Leitl wrote:
> I've just came back from a 3 day MPI course, and promptly noticed that
> I can use Python with MPI (yay!):
> 	http://www.fysik.dtu.dk/~schiotz/comp/PythonAndSwig/pythonMPI.html
Well, that only describes how to use Python with C-modules using MPI.
I found it even more interesting to call MPI functions directly from
Python - thats possible with e.g. the MPI-module contained in
ScientificPython 2.1.
	http://starship.python.net/crew/hinsen/scientific.html
The above link also describes, that you have to patch your Python
executable.  But my tests with lam-mpi and mpich had shown that it is
not really needed - they finish themself cleanly even if MPI_Finalize is
not called.

> Any MPI Python users here? I'll be interested in hearing your experiences.
I used Python with the MPI-Module from Scientific-Python 2.1 during the
last months to do my MPI-coding homework.  Currently I am trying to
write a parallizing fractal-generator in Python using MPI, NumPy and
PyGTK...

Greets, Karsten
-- 
,-,  Student of Computer Science at Chemnitz University of Technology  ,-,
| |    EMail:  Karsten at kapet.de          WWW:  http://www.kapet.de/    | |
'-'  Home: kapet at dollerup.csn   V72 / 230    Phone: +49-177-82 35 136  '-'



More information about the Python-list mailing list