Remove commrec from hardware detection
commitf8937dc1fed64510d594190611f6738d2eec0fc9
authorMark Abraham <mark.j.abraham@gmail.com>
Thu, 1 Feb 2018 12:30:24 +0000 (1 13:30 +0100)
committerAleksei Iupinov <a.yupinov@gmail.com>
Mon, 12 Feb 2018 16:42:19 +0000 (12 17:42 +0100)
tree37e6a8b905996441372cbb4680c0474ed7285d11
parentf1cff8c911370e35385ed7e939800ba98deda583
Remove commrec from hardware detection

This is preparatory refactoring for aspects of #2395

The OpenCL logic was ineffective, because duty is not yet decided, and
anyway we might soon want the detection on PME-only ranks.

Replaced the thread-MPI single-rank assertion with a more direct
implementation.

Minimized contents of detecthardware.h

Refs #2395

Change-Id: I03af65805bd14515a0213d511ae8cdb627c2f05c
src/gromacs/ewald/tests/testhardwarecontexts.cpp
src/gromacs/hardware/detecthardware.cpp
src/gromacs/hardware/detecthardware.h
src/programs/mdrun/runner.cpp