Check for using correct hwloc headers and runtime
commit295aafe1d7b964ad18a25b2865c205ed65c84b62
authorPaul Bauer <paul.bauer.q@gmail.com>
Wed, 27 Nov 2019 15:35:16 +0000 (27 16:35 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Thu, 28 Nov 2019 20:48:45 +0000 (28 21:48 +0100)
tree9dc15459fb39d1f0e07b4627d59186b3300c29d3
parentc97789fa23c05eabde93a6bacd07fe7d86605878
Check for using correct hwloc headers and runtime

Also add assertion in the code to prevent errors from linking
against the wrong library while running.

Fixes #3200

Change-Id: Ib2f2861702e111f67c38b0c9d65ccbe4c81a0ccd
cmake/FindHWLOC.cmake
src/config.h.cmakein
src/gromacs/hardware/hardwaretopology.cpp