Comment 1 for bug 1065146

Revision history for this message
Martin Fiers (mfiers-u) wrote :

Dear Bernardo,

It seems like meep is just running 7 times single-threaded. Is the text output on the terminal also replicated 7 times?

Also, does the output in the beginning of your scipt say something like this:
Python-meep starting...
Python-meep starting...
Python-meep starting...
Python-meep starting...
Using MPI version 2.1, 4 processes

To be sure, can you try to run your script as a normal python file? (so undo the chmod'ing, and use python script_name.py instead of ./script_name.py)? There might be something going wrong with the shabang
The call would then be:
mpirun -np 7 python script_name.py

I'm not sure whether it will give a difference but you can give it a shot.

My PC architecture is exactly the same as yours (Ub. 12.04, intel core i7), and it looks like it gives a speedup for the bent_waveguide example. I have only tried this with openmpi. (I just did a fresh install of python-meep), but I had to change meep_mpi library to meep_openmpi and make a symbolic link from /usr/include/meep-mpi/ to /usr/include/meep/ .

With kind regards,
Martin Fiers