GPU detection is done once per physical node
authorBerk Hess <hess@kth.se>
Thu, 17 Oct 2013 10:11:55 +0000 (12:11 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Tue, 5 Nov 2013 18:21:41 +0000 (19:21 +0100)
commit823410572cc32505541f72ce7801d7dc31fe9f3f
tree50d0299f268d4bd0e6b5dcd5e95fc248812a44ef
parent278e72b85d3302e80734d76d6a4d6a57ccd9b124
GPU detection is done once per physical node

Only one MPI rank in each physical node now run the GPU detection.
The resulting information is broadcasted to the other ranks.
Note that we should also implement this for the CPU detection.
Fixes #1358

Change-Id: I16c6ccc40bd53d96b99d3f6a0abed69cc89136d8
include/gpu_utils.h
include/network.h
include/string2.h
src/gmxlib/gmx_detect_hardware.c
src/gmxlib/gpu_utils/gpu_utils.cu
src/gmxlib/network.c
src/gmxlib/string2.c