• Chuck Atkins's avatar
    FindHDF5: Fix parallel detection when primary compiler is an HDF5 wrapper · 8b9d8c4d
    Chuck Atkins authored
    This is covering a different use case where your primary compilers are
    HDF5 wrappers, as is the case when using the Cray Programming
    Environment. The existing code tries to query the compiler using options
    only available to h5cc and friends, which doesn't work when your wrapper
    is not h5cc, as is the case with the CrayPE. This change instead pulls
    strings out of a test binary when testing for "is your regular compiler
    an HDF5 wrapper" while the "query wrapper for options" is reserved for
    the "I found the hdf5 wrappers but they're not your main compiler" mode.
    8b9d8c4d
FindHDF5.cmake 35.2 KB