[CMake] [New Module] FindHDF5.cmake

Will Dicharry wdicharry at stellarscience.com
Thu Aug 20 14:27:36 EDT 2009


Brad King wrote:
> John R. Cary wrote:
>> Brad King wrote:
>>> John, how do autotools detect this?
>> hdf5par=`grep "HAVE_PARALLEL 1" $HDF5_INCDIR/H5config.h`
>>
>> I suppose there are other ways, but we have been doing this through
>> several versions of hdf5.
> 
> Great, thanks John.
> 
> Will, you should be able to use the file(STRINGS) command
> to grep through H5config.h after finding it.
> 

John,

What version of HDF5 are you using?  It looks like H5config.h doesn't 
exists in 1.8.3.  I found the H5_HAVE_PARALLEL definition in H5pubconf.h 
for HDF5 1.8.3.

Thanks,
Will

> -Brad


-- 
Will Dicharry
Software Developer
Stellar Science Ltd Co
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3344 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090820/dc72e7bf/attachment.bin>


More information about the CMake mailing list