Re: Meep question

"Steven G. Johnson" <[email protected]>
Newsgroups gmane.comp.science.photonic-bands
Message-ID <[email protected]>
On Mon, 22 May 2006, Lukas Oliva wrote:
>  I know that this question could be a little bit off-topic for this channel, 
> but as far as I know meep is being developed in the same group  (or by your 
> colleagues). If this is not the right place to ask, I would  appreciate any 
> source of information.

The right place to ask, in the future, is on the meep-discuss mailing 
list.

> configure: WARNING: Couldn't find the HDF5 library!!  Switching to 
> ...
> I use Debian on AMD64 architecture for the installation and I have the 
> libhdf5-mpich-dev installed that contains hdf5.h in /usr/include/

Unfortunately, you cannot use the MPI version of HDF5 with serial code. 
(I think this is a mistake on the part of the HDF5 developers...they 
should have put all of their MPI code into a separate library.)

If you want to install the serial version of Meep you need to install the 
serial version of HDF5.  If you want to use the parallel HDF5 you must 
configure Meep with --with-mpi.  (However, I would recommend using LAM 
instead of MPICH.)

> gen-ctl-io --cxx --code -o ctl-io.cpp meep.scm /usr/share/libctl
> ERROR: Unbound variable: cxx

You need libctl 3.0 or later for Meep.  I believe that libctl 3.0.1 is 
available from Debian/testing.

(If you have installed multiple versions of libctl, it may get confused 
about which version to run.  e.g. if you installed the Debian package of 
libctl 2.x, this gives /usr/bin/gen-ctl-io, while if you installed 
libctl-3.0 from source, this gives /usr/local/bin/gen-ctl-io.  Depending 
on your PATH, the shell may then pick the older version.)

Cordially,
Steven G. Johnson
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.