made PME work with a mix of 1 and more threads
authorBerk Hess <hess@kth.se>
Thu, 21 Mar 2013 09:33:07 +0000 (10:33 +0100)
committerBerk Hess <hess@kth.se>
Thu, 21 Mar 2013 09:54:56 +0000 (10:54 +0100)
commitcddf15cbba2a361a85676bfdb1b285f386d57f22
tree468fbaef7ba15ff70915c0d40ad6a46d59172cea
parent7c965df5a77e7c2c33e62a572aa64c548dba9be8
made PME work with a mix of 1 and more threads

Using a mix of 1 and more OpenMP threads on different MPI ranks
would make mdrun terminate with an MPI error.
Fixes #1171

Change-Id: Iffa16e18baf0f74be826b59503208dca01d1ec14
src/mdlib/pme.c