Dear Filip,

Is 'unknown symbol' everything it says? Or is there a specific symbol? And from which library does the unknown symbol come? From _meep(_mpi).so, or libmeep(_mpi).so?

I successfully installed the latest version of Python-meep on Linux Mint 12, which is based on Ubuntu 11.10. I'll write down the steps that I took, they might also be useful for other people that want to install the latest version on a debian-based system.

1) Installing hdf5 and libctl manually
- hdf5: The meep configure script didn't find the hdf5.h file. This is strange, because hdf5 was present in /usr/include/hdf5.h, so I have no idea why it didn't want to find this file. So I manually installed ( http://www.hdfgroup.org/ftp/HDF5/current/src-1.8.10/) it to /usr/local/hdf5 using ./configure --prefix /usr/local/hdf5, make, make install. Later, in step (3), I refer to this install of hdf5. - ctl: Because meep needs ctl version 3.2, which was not available on my version of Ubuntu. It might be useful to check if this is still necessary on later versions of Ubuntu).

2) I downloaded this source package of meep which solves some issues with lapack linking (see http://www.mail-archive.com/[email protected]/msg04569.html).

http://jdj.mit.edu/~stevenj/meep-1.2.1.tar.gz  
<http://jdj.mit.edu/%7Estevenj/meep-1.2.1.tar.gz>


3) I installed meep using the following configure step:
CXXFLAGS=-I/usr/local/hdf5/include/ LDFLAGS=-L/usr/local/hdf5/lib/ ./configure --with-mpi --enable-shared
And then of course make, sudo make install.

4) Then I installed python-meep: I had to add
includeDir.append("/usr/local/include/")
To the setup(_mpi).py script so it could find the new meep version.

5) I was able to successfully run python_meep_symmetry_straight_wg.py which leads me to believe it works correctly.

When I have some more time, I'll update the setup script in python-meep.

By the way, a question for the Meep authors / debian gurus:
sudo apt-get build-dep meep gives an error 'Unable to find a source package for meep'. Would it be possible to enable the dependency checking?

With kind regards,
Martin Fiers



On 02/08/2013 07:05 PM, Filip Dominec wrote:
Dear Meepers,
I am sorry for being overly active in this mailing list, but this
question is very simple:
Has anybody succeeded running python-meep above MEEP 1.2?

It can be built, but at my computer it always failed with "Unknown
symbol" error when I tried to import the meep module. The older
libmeep-dev 1.1.1 library from the Ubuntu repository, however, works
without problems with python-meep.
Thanks for reply!
Filip

_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to