Detect the usage of hwtop XML caching
authorErik Lindahl <erik@kth.se>
Sun, 22 May 2016 16:40:43 +0000 (18:40 +0200)
committerRoland Schulz <roland.schulz@intel.com>
Fri, 27 May 2016 18:51:15 +0000 (20:51 +0200)
commit57b5e5a4dba93c5720986c52a77549182776ae1a
tree5612f859ba767c5ccccd2386a983567f41c905dc
parent08ccff066da231b7cb7ff5b3a7db257eecb1f549
Detect the usage of hwtop XML caching

The environment variable HWLOC_XMLFILE can be used
to speed up hwloc detection e.g. on Xeon Phi. Documented
in the user guide, and made sure we detect when such
caching was used to avoid strange future bug reports.

Fixes #1946.

Change-Id: Id99385fb7cc1e2692fb9b06fa187424058aaa213
docs/user-guide/environment-variables.rst
src/gromacs/hardware/detecthardware.cpp
src/gromacs/hardware/hardwaretopology.cpp
src/gromacs/hardware/hardwaretopology.h