issue error if GPU ID is provided with GPU acc. off
authorSzilard Pall <pszilard@cbr.su.se>
Mon, 17 Dec 2012 21:28:28 +0000 (22:28 +0100)
committerSzilard Pall <pszilard@cbr.su.se>
Tue, 18 Dec 2012 20:39:34 +0000 (21:39 +0100)
commit0c37980c39f8902fb3674437fc207f945f3eec77
tree3e85ca7988ebc71c05d372e634337d5a28aee455
parent46d3f7f6b62e74930b2de1f0aca712a7db0e4941
issue error if GPU ID is provided with GPU acc. off

Manually setting the GPU IDs is an implicit "GPU on" request from the
user, so we need to fail if mdrun in compiled without GPU support.
Additionally, added hint to what content is expected in the GPU ID
string to the respective errors and changed an incorrect collective
fatal.

Change-Id: Iebce58c0626889d047eebebd8e4547d4f1e9ff26
src/gmxlib/gmx_detect_hardware.c