Hello,

We had installed MPB about a year ago (Sun Java workstation, Red Hat linux
OS) without HDF5. Now to integrate HDF5 with mpb, the following was done:

1) Logged in as root, added "usr/local/HDF5/hdf5-1.6.4/lib" in
   "/etc/ld.so.conf" and ran "/sbin/ldconfig"

2) Configured, compiled and installed HDF5, and defined the following:
   export LDFLAGS=-L/usr/local/HDF5/hdf5-1.6.4/lib
   export CPPFLAGS=-I/usr/local/HDF5/hdf5-1.6.4/include

3) Configured and compiled MPB. The configure script showed:

   checking for H5Pcreate in -lhdf5... yes
   checking hdf5.h usability... yes
   checking hdf5.h presence... yes
   checking for hdf5.h... yes

However, executing mpb gives "matrixio: cannot output epsilon (compiled
without HDF)". Also, repeated steps 1-3 after defining the following in
bash_profile of root:

LDFLAGS=-L/usr/local/HDF5/hdf5-1.6.4/lib
CPPFLAGS=-I/usr/local/HDF5/hdf5-1.6.4/include
LD_LIBRARY_PATH=/usr/local/HDF5/hdf5-1.6.4/lib
LD_RUN_PATH=/usr/local/HDF5/hdf5-1.6.4/lib
export LDFLAGS CPPFLAGS LD_LIBRARY_PATH LD_RUN_PATH

Still same result. Worse, when NOT logged in as root but as a general user
(under /home/username) then mpb command doesn't work anymore. Error
message:

mpb: error while loading shared libraries: libhdf5.so.0: cannot open
shared object file: No such file or directory

Can't be fixed when .bash_profile in root is reverted back to its original
content, or by repeating all the steps again. Anyone had similar problems
? Any suggestions will be highly appreciated. Thanks!

- Tushar
------------------------


_______________________________________________
mpb-discuss mailing list
mpb-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss

Reply via email to