[CIG-MC] CitcomS

Craig O'Neill craig.oneill at mq.edu.au
Tue Jun 1 23:58:46 PDT 2010


Hi Eh, thanks for getting back to me before. I've just tried to wade through
this and get hdf5 working again but without success. Upon configure, the
error I get is:

checking for library containing H5Fopen... no
configure: error: HDF5 library not found; try setting PHDF5_HOME

Now PHDF5_HOME is actually set:

[coneill at enki CitcomS-3.1.1]$ echo $PHDF5_HOME
/home/coneill/hdf5-1.8.4-patch1/hdf5/lib

Also, in the config.log file, there is the line:
PHDF5_HOME='/home/coneill/hdf5-1.8.4-patch1/hdf5'

So this is strange. It's set, but not finding it?

 echo $LD_LIBRARY_PATH
:/usr/local/hdf5:/home/coneill/hdf5/lib/:/home/coneill/hdf5/lib/:/home/coneill/hdf5-1.8.4-patch1/hdf5/lib

within the last directory (ie. /home/coneill/hdf5-1.8.4-patch1/hdf5/lib)

[coneill at enki lib]$ ls
libhdf5.a  libhdf5.la  libhdf5.settings  libhdf5_fortran.a
libhdf5_fortran.la  libhdf5_hl.a  libhdf5_hl.la  libhdf5hl_fortran.a
libhdf5hl_fortran.la
[coneill at enki lib]$ grep H5Fopen *
Binary file libhdf5.a matches
Binary file libhdf5_fortran.a matches
[coneill at enki lib]$

But from the config.log file:

configure:20412: checking for library containing H5Fopen
configure:20453: mpicc -o conftest -g -O2
-L/home/coneill/hdf5-1.8.4-patch1/hdf5/lib  conftest.c  >&5
/tmp/ccIPa1AD.o: In function `main':
/home/coneill/CitcomS-3.1.1/conftest.c:33: undefined reference to `H5Fopen'
collect2: ld returned 1 exit status
configure:20459: $? = 1

I find this strange, I have the library flag pointing to the right place,
the H5Fopen libs are there, but its not picking it up in this compile.

Any ideas what's happening here?

cheers

-Craig.


-- 
Dr Craig O'Neill
GEMOC ARC National Key Centre
Department of Earth & Planetary Science
Macquarie University, E7A, Rm 515
Sydney, NSW, 2109, Australia

Phone: +61 2 9850 9673
http://www.es.mq.edu.au/GEMOC/Participants/AcademManag/CraigOneill/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://geodynamics.org/pipermail/cig-mc/attachments/20100602/fd57959e/attachment.htm 


More information about the CIG-MC mailing list