Fix inconsistent OpenMP automation
authorBerk Hess <hess@kth.se>
Tue, 30 Jun 2015 19:22:01 +0000 (21:22 +0200)
committerBerk Hess <hess@kth.se>
Tue, 30 Jun 2015 20:23:36 +0000 (22:23 +0200)
commitb8ec3e0cbd4ff2574bac2e89d7d489ac1604a996
treeeb4a6292ffeb51157009c99541bbb8f6a7a6fdee
parent4372f13dd72303b63e71850493246227dac177fd
Fix inconsistent OpenMP automation

The thread MPI single rank max thread count for non-Intel was 6,
this was smaller than the max allowed MPI+OpenMP thread count of 8,
which caused setups to be generated that did not pass the check.
Increased 6 to 8 and added an assertion.

Change-Id: I13787616d7c667cba3245da4f5b5c3a1a6a1206d
src/programs/mdrun/resource-division.cpp