Hi David,

During configure you will get a warning stating that the required libraries
were not detected at the given location and MEEP will compile without hdf5
support. You need to check the configure output carefully.

I always set the LDFLAGS and CPPFLAGS, for me this would be:

export LDFLAGS="-L/usr/local/gnu_builds/blas -L/usr/local/gnu_builds/lapack
-L/usr/local/gnu_builds/hdf5/mpi/lib -L/usr/local/gnu_builds/harminv/lib
-L/usr/local/gnu_builds/libctl/lib"
export CPPFLAGS="-I/usr/local/gnu_builds/gsl/include
-I/usr/local/gnu_builds/gsl-1.13/include
-I/usr/local/gnu_builds/hdf5/mpi/include
-I/usr/local/gnu_builds/libctl/include
-I/usr/local/gnu_builds/harminv/include"

note that blas, lapack, harminv and libctl are not required but can be
useful. From what I can see in the commands you posted, you are not
configuring with libctl, although it's not required, it means you can't run
MEEP with the Scheme interface.

then I run configure:
./configure --prefix=$HOME/source/meep-1.1.1/src --with-mpi
--with-libctl=/usr/local/gnu_builds/libctl/share/libctl/

Hope it helps,

Arthur
On 23 November 2010 17:07, David Lively <[email protected]> wrote:

> We compiled/installed Meep with:
>
> ./configure --prefix=/grid/software/meep-1.1.1
> MPICXX=/usr/mpi/gcc/mvapich2-1.4.1/bin/mpicxx
> MPILIBS=/usr/mpi/gcc/mvapich2-1.4.1/lib --with-mpi
> --with-hdf5=/grid/software/hdf5-1.8.3
>
> And everything appears to work correctly, until it gets to the part where
> it needs to save an H5 file. Then, I get the wonderful error:
>
> creating output file "./smu-eps-000000.00.h5"...
> meep: meep: not compiled with HDF5, required for HDF5 outputmeep: meep:
> meep: meep: meep: not compiled with HDF5, required for HDF5 outputnot
> compiled with HDF5, required for HDF5 outputmeep: not compiled with HDF5,
> required for HDF5 output
>
> I'm perplexed as the -with-hdf5 flag was included when we compiled.
> Suggestions? I'm having to go back and forth with our administrator with
> this so it's difficult to perform any real diagnostics.
>
> D
>
>
>
> _______________________________________________
> 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