[Pympi-users] Problem running pyMPI with OpenMPI
Status: Alpha
Brought to you by:
patmiller
From: Luigi P. <lu...@la...> - 2006-07-07 09:01:52
|
Hi! Sorry for boring you, but I have yet another problem with pyMPI and OpenMPI. I was reading your article (P. MILLER, 2002) which is "An introduction to parallel Python" in order to learn how to use pyMPI. Well, just at my first attempt to use it, something doesn't work properly. If I type: $ mpirun -np 3 pyMPI the >>> prompt doesn't appears, and if I type some commands, they are execute (only one time) only when I digit Ctrl+d to exit from the Python shell. Here my output: $ mpirun -np 3 pyMPI print "Hello!" (Ctrl+d) Hello! $ So, I thought that was a problem of my PYTHONPATH, which hasn't defined how to reach the mpi module (mpi.py). Well, I've searched for it in my installation directory, but I haven't found it! Can you suggest me some tests or something else in order to understand what's the trouble (and solve it)? Thank you! Luigi |