[cmake-developers] [PATCH] Fix a few issues in FindHDF5 module

Paul Romano paul.k.romano at gmail.com
Thu Sep 3 05:16:35 EDT 2015


Tim- I did notice your issue about Fortran HL not working but wasn't sure
what the original problem was or if it was still relevant. Anyway, I'm glad
we got a fix in, albeit four years later -- better late than never!

Brad- here's a new patch based off of 8ea7611 that uses the new
NAMES_PER_DIR option of find_program as well adds the HDF5_PREFER_PARALLEL
variable. The only case I know of where h5cc and h5pcc would get into the
same directory is in /usr/bin, e.g. the hdf5-helpers and
libhdf5-openmpi-dev packages in debian. However, the packagers don't use
the name h5pcc but rather h5pcc.mpich and h5pcc.openmpi, so in that case
HDF5_PREFER_PARALLEL doesn't actually help. Anyway, I'm going to cogitate
on the best way to handle that and may return with one more patch to handle
this situation.

Best,
Paul

On Wed, Sep 2, 2015 at 10:38 PM, Brad King <brad.king at kitware.com> wrote:

> On 09/02/2015 11:35 AM, Tim Gallagher wrote:
> > it looks like this work supersedes that patch.
>
> Okay, thanks for checking!
>
> -Brad
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150903/5b6eb61e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-FindHDF5-Add-NAMES_PER_DIR-and-introduce-HDF5_PREFER.patch
Type: text/x-patch
Size: 2273 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150903/5b6eb61e/attachment-0001.bin>


More information about the cmake-developers mailing list