updated several things related with OpenMP thread count
authorBerk Hess <hess@kth.se>
Tue, 9 Oct 2012 15:08:42 +0000 (17:08 +0200)
committerBerk Hess <hess@kth.se>
Mon, 5 Nov 2012 13:44:56 +0000 (14:44 +0100)
commita4f4cc46c93c86c6e64f381dc8cd0c828014ba31
tree3734b85d9efe418a9a86dfe2e74efccc0ffdd8a1
parent08b30fa71a0ca5b04fb90d49da6ea27aa2cb6500
updated several things related with OpenMP thread count

Removed a gmx_fatal preventing oversubscribing hardware with OpenMP threads.
Proper checks for avoiding partial HT and inconvenient thread count with tMPI.
Automatic switch to pure OpenMP parallelization with <= 4 threads
or <= 12 on Nehalem/Westmere or <= 16 on >=Sandy Bridge.

Change-Id: I5f0fa7c8e5a23cb66833ec9facdbc6d197f82836
src/kernel/mdrun.c
src/kernel/runner.c