Re: [Python-meep] Build problems for MPI in Ubuntu 12.10

2012-11-11 Thread Martin Fiers
Dear Jeff, Great that you got it working! The speedup of only 30% for 4 cores is probably due to the fact that the example is too small for 4 cores. Once the simulation starts, there's no Python overhead. For higher resolutions you will see more effect of using multiple cores. Kind regards, Mart

Re: [Python-meep] Build problems for MPI in Ubuntu 12.10

2012-11-10 Thread Jeff Chiles
I finally got it working. The problem seemed to be a few things. But the tweaks below (some of which you recommended) seem to work fine: -changed the "include" path in setup-mpi.py to link to a folder with the files from meep-openmpi: meep.hpp and /meep/mympi.hpp and /meep/vec.hpp. -in the "mee

Re: [Python-meep] Build problems for MPI in Ubuntu 12.10

2012-11-07 Thread Nizamov Shawkat
Hello, 2012/11/6 Jeff Chiles : > > Now it has another problem... when I execute a script with mpirun and the > "-np 2" argument, it seems that the program just executes two identical > copies of itself in parallel rather than splitting up any of the work: > > The command I use is > > mpirun -np 2

Re: [Python-meep] Build problems for MPI in Ubuntu 12.10

2012-11-06 Thread Jeff Chiles
I finally got it to compile with MPI support now. It worked once I was able to install the packages just named "meep-mpi" and "libmeep-mpi-dev" which were different from the "default" and "openmpi" versions. Now it has another problem... when I execute a script with mpirun and the "-np 2" argumen

Re: [Python-meep] Build problems for MPI in Ubuntu 12.10

2012-11-06 Thread Martin Fiers
Dear Jeff, I'm not sure whether that's the problem, but the ImportError probably means it cannot find your _meep_mpi.so file. This could be, again, because of non-default locations. By the way, if I'm not mistaking _meep_mpi.so is not a file from the ubuntu repository but a file that was generated

Re: [Python-meep] Build problems for MPI in Ubuntu 12.10

2012-11-05 Thread Jeff Chiles
Thanks for your reply. I took your advice, and I found out that it successfully compiled if I installed the Ubuntu packages "libmeep-mpi-default-dev" and "meep-mpi-default", and then changed the extension in the setup-mpi.py to "_meep_mpi-default" and the libraries var to "meep_mpi-default". So i

Re: [Python-meep] Build problems for MPI in Ubuntu 12.10

2012-11-05 Thread Nizamov Shawkat
Hello, Sorry for the delay with maillist - the policy of Launchpad changed it to be a moderated list a year or so ago. The errors which you are facing are most probably caused by the meep build. The first error you are mentioning is due to the meep's include *.h files being absent at their usual

[Python-meep] Build problems for MPI in Ubuntu 12.10

2012-11-05 Thread Jeff Chiles
Hello, I'm trying to build python-meep with MPI in Ubuntu 12.10, but keep getting errors. I was able to successfully build and use it without MPI, so it seems that most of the dependencies should be ok. I did go through the readme and install all of the recommended files. This is an excerpt of

Re: [Python-meep] Build Problems

2010-08-08 Thread Emmanuel Lambert
Hello Andrea, I was on vacation with no access to e-mail, so apologies for the late reply... and our community of mailinglist subscribers is still small. Maybe somebody else already replied to you directly? * please check if you have installed all the required prerequisites as specified in the R

[Python-meep] Build Problems

2010-07-26 Thread Andrea Armaroli
> > Dear Python-meep developers, > > I use ubuntu 9.04 and I can't build python-meep. > Is there someone who could please help me? > > I attach the make result > > Directories for SWIG -I option : ['/usr/include'] > Directories for -L option : ['/usr/lib'] > running clean > removing 'build/tem