Fix for processors being offline on Arm
authorErik Lindahl <erik@kth.se>
Fri, 7 Aug 2015 21:19:48 +0000 (23:19 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Tue, 11 Aug 2015 19:53:54 +0000 (21:53 +0200)
commit2a5b0b6ef821d383d2d748229b3807d4de947c00
tree583c185ddbc847808d24b1fb1621ff855fb57276
parent785aad1a1d548261b9a32cfbd1468ae271a8a3c3
Fix for processors being offline on Arm

Use the number of configured rather than online CPUs.
We will still get a warning about failures when trying to
pin to offline CPUs, which hurts performance slightly.
To fix this, we also check if there is a mismatch between
configured and online processors and warn the user that
they should force all their processors online
for better performance.

Change-Id: Iebdf0d5b820edcd7d06859a2b814adf06589ef96
src/gromacs/gmxlib/gmx_detect_hardware.cpp