Log reports incorrect version of hwloc
The reported hwloc versions in the log and "gmx --version" are sometimes older than the version installed. This seems to be because the HWLOC_API_VERSION defined in hwloc.c is only updated when there's a change to the API.
For example, hwloc 2.0.1 shows up as hwloc 2.0.0, hwloc 1.11.10 shows as 1.11.6
Report up to date hwloc version information
The hwloc version in gmx --version and log files had been
taken from HWLOC_API_VERSION in the hwloc header, which is
not always updated to reflect new releases.
Added HWLOC_VERSION to buildinfo.h from cmake, used in place of
#5 Updated by Mark Abraham about 1 year ago
Kevin Boyd wrote:
Would a reasonable workaround be to have cmake print the found version to config.h and use that?
src/buildinfo.h.cmakein is a better place. However we can get a version number from the hwloc found by cmake can populate a cmake variable (which might be cache variable only if necessary), that configure_file() will then put into $builddir/src/buildinfo.h