This works for me: ./configure LDFLAGS=-L/opt/hdf5/lib
CPPFLAGS=-I/opt/hdf5/include --prefix=/opt/meep-ompi --with-mpi --with-hdf5
Don't know if this is the problem, but you can try this kind of syntax.
If you are able to run meep-mpi correctly without parallel hdf5 errors,
report to the list please. I have tried do that without results for ages...

Regards

Maicon Faria
Reseacher Unicamp/FEEC/DMO
Brazil



Date: Thu, 1 Dec 2011 16:19:12 -0800
> From: K Jonathan Harker <[email protected]>
> To: [email protected]
> Subject: [Meep-discuss] Trouble building Meep 1.1.1 against parallel
>        HDF5    1.8.8
> Message-ID:
>        <cadbpaqnyzif_aevsaoascec8d9ldbexvfspcnzdxcusrpl3...@mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> I have been trying to install a parallel version of meep on an mpi cluster
> for a while now.  Eventually I discovered that I was using the serial
> version of HDF5 and so I built a parallel version of HDF5 1.8.8 with the
> following configuration:
>
> CC=mpicc LDFLAGS="-L/share/apps/lib $LDFLAGS"
> CPPFLAGS="-I/share/apps/include $CPPFLAGS" ./configure --prefix=/share/apps
> --enable-parallel --enable-fortran
>
> As you can see, I built this package into the /share/apps directory.  I was
> able to successfully build H5utils 1.12.1 against this with the following
> configuration:
>
> F77=mpif77 CC=mpicc LDFLAGS="-L/share/apps/lib $LDFLAGS"
> CPPFLAGS="-I/share/apps/include $CPPFLAGS" ./configure --without-octave
> --prefix=/share/apps
>
> But then when I try to build Meep 1.1.1 against this HDF5 with the
> configuration:
>
> F77=mpif77 CC=mpicc LDFLAGS="-L/share/apps/lib $LDFLAGS"
> CPPFLAGS="-I/share/apps/include -DH5_USE_16_API=1 $CPPFLAGS" ./configure
> --with-libctl=$RPM_BUILD_DIR/libctl-3.1 --with-mpi=/opt/openmpi/lib
> --prefix=/share/apps
>
> I see the following output from ./configure:
>
> checking for H5Pcreate in -lhdf5... yes
> checking hdf5.h usability... no
> checking hdf5.h presence... no
> checking for hdf5.h... no
> configure: WARNING: Couldn't find the HDF5 library!!  Switching to
> --without-hdf5.
>
> I have checked the /share/apps/include directory, and it does indeed
> contain the hdf5.h header file -- with world-readable permissions.  For the
> life of me I can't figure out why configure can't see the header file.  Any
> thoughts?
>
> --
> Jonathan Harker
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://ab-initio.mit.edu/pipermail/meep-discuss/attachments/20111201/6b72bc2d/attachment-0001.html
> >
>
>
>
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to