Log reports incorrect version of hwloc - Redmine #2591
Archive from user: Kevin Boyd
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
(from redmine: issue id 2591, created on 2018-07-28 by gmxdefault, closed on 2018-08-13)
- Changesets:
- Revision ef6399c6 by Kevin Boyd on 2018-07-31T02:29:59Z:
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
HWLOC_API_VERSION
Fixes #2591
Change-Id: I0ed9f1f1ad9b4262fbb966c03c407eeb1edfc3da