Enable auto thread pinning with thread limiting
commit9648979634bcca0014299f05ce46ecf83dc4b01d
authorBerk Hess <hess@kth.se>
Sat, 25 Nov 2017 08:57:53 +0000 (25 09:57 +0100)
committerSzilárd Páll <pall.szilard@gmail.com>
Mon, 27 Nov 2017 14:38:20 +0000 (27 15:38 +0100)
tree5a15e79c7ca32177e1527ef1211dc75b9d0db494
parentf48d9a79737514c70f5ac2fe063ed90938cee96e
Enable auto thread pinning with thread limiting

Recently the possibility of automated limiting the number of OpenMP
threads was introduced (with PME on the GPU). Note that this could
already happen with very small systems. When not using all hardware
threads, pinning would be disabled and a warning was issued.
Now pinning is enabled an no warnings are issued when the user did
not specify any thread and pinning settings.

Changed "threads" in the mdrun -ntmpi description to "ranks".

Change-Id: I5f5688a4e2d35fdddbae3aeffae256158a13da5c
src/gromacs/hardware/hw_info.h
src/gromacs/mdrunutility/tests/threadaffinitytest.cpp
src/gromacs/mdrunutility/threadaffinity.cpp
src/gromacs/taskassignment/resourcedivision.cpp
src/programs/mdrun/mdrun.cpp