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 the output from the makefile: *swigging meep_mpi.i to meep_mpi_wrap.cpp* *swig -python -c++ -w503,389,302,362,314,509,451 -I/tests -o meep_mpi_wrap.cpp meep_mpi.i* *gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/tests -I/usr/include/python2.7 -c meep_mpi_wrap.cpp -o build/temp.linux-x86_64-2.7/meep_mpi_wrap.o* *cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]* *meep_mpi_wrap.cpp:3961:26: fatal error: meep/mympi.hpp: No such file or directory* It is being built a few directories nested inside my home folder. I don't know if this is a problem. Anyway, I then added the meep folder manually to usr/include where it was looking, and it now gets a different error message: *swigging meep_mpi.i to meep_mpi_wrap.cpp* *swig -python -c++ -w503,389,302,362,314,509,451 -I/usr/include -o meep_mpi_wrap.cpp meep_mpi.i* *gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include -I/usr/include/python2.7 -c meep_mpi_wrap.cpp -o build/temp.linux-x86_64-2.7/meep_mpi_wrap.o* *cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]* *g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/meep_mpi_wrap.o -lmeep_mpi -o build/lib.linux-x86_64-2.7/_meep_mpi.so* */usr/bin/ld: cannot find -lmeep_mpi* *collect2: error: ld returned 1 exit status* *error: command 'g++' failed with exit status 1* I have made sure all the dependencies are up to date, so I am not sure what else to try. Any help is appreciated. Thanks for your time! -Jeff
_______________________________________________ Mailing list: https://launchpad.net/~python-meep Post to : [email protected] Unsubscribe : https://launchpad.net/~python-meep More help : https://help.launchpad.net/ListHelp

