[MOAB-dev] Problems with MOAB not finding hdf5

Tim Tautges tautges at mcs.anl.gov
Thu Apr 16 14:30:31 CDT 2009


Hi John,
   I wasn't aware that the build was breaking with pre-compiled versions 
of hdf5 on 64 bit.  I'm passing that along to Jason to test.

- tim

John H Magerlein wrote:
> 
> Tim,
> I was able to get this to work today, but it took a lot of effort. When 
> I compile this on my 64-bit system, I obviously need the 64-bit HDF5 
> libraries. I loaded the latest pre-compiled HDF5 64-bit libraries, but 
> your configure code to detect working HDF libraries seems to fail for 
> this latest release of HDF. Eventually I got some older HDF5 code 
> (release 1.6.4), but I had to compile this from sources to get a 64-bit 
> version. This was a lot of trouble and I'm not sure it is completely 
> right. In any case, using this older HDF5 code with MOAB/iMesh does seem 
> to all work now.
> 
> In summary, can you modify your code so it is compatible with the 
> current release of HDF5?
> 
> John Magerlein
> IBM T. J. Watson Research Center
> 914-945-2726  (Tieline 862-2726)
> 
> 
> From: 	John H Magerlein/Watson/IBM
> To: 	tautges at mcs.anl.gov
> Date: 	04/10/2009 05:34 PM
> Subject: 	Problems with MOAB not finding hdf5
> 
> 
> ------------------------------------------------------------------------
> 
> 
> Tim,
> I recently moved to a new machine which has 64-bit Red Hat Enterprise 
> Linux 5.3 and downloaded a new copy of MOAB. In trying to build this, I 
> seem to have a new set of problems. I don't know if this is due to my 
> different operating environment or to changes you might have made. The 
> autoreconf -fi works fine, but configure can't find hdf5 even though 
> I've pointed it at the libraries:
> ./configure --with-hdf5=/usr/lib/salome/hdf-1.6.4 --prefix=/usr/lib/moab
> 
> The messages are:
> checking if HDF5 support is enabled... yes
> checking hdf5.h usability... yes
> checking hdf5.h presence... yes
> checking for hdf5.h... yes
> checking for H5Fopen in -lhdf5... no
> checking for H5Fopen in -lhdf5... no
> configure: error: HDF5 library not found or not usable.
> 
> I also tried installing the current version of hdf5 64-bit directly on 
> the machine and pointed configure to that, but got the same results. Any 
> suggestions?
> 
> John Magerlein
> IBM T. J. Watson Research Center
> 914-945-2726  (Tieline 862-2726)
> 

-- 
================================================================
"You will keep in perfect peace him whose mind is
   steadfast, because he trusts in you."               Isaiah 26:3

              Tim Tautges            Argonne National Laboratory
          (tautges at mcs.anl.gov)      (telecommuting from UW-Madison)
          phone: (608) 263-8485      1500 Engineering Dr.
            fax: (608) 263-4499      Madison, WI 53706



More information about the moab-dev mailing list