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
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to