Avoid dynamic STL containers in global init
authorRoland Schulz <roland.schulz@intel.com>
Fri, 12 Jan 2018 02:00:58 +0000 (18:00 -0800)
committerRoland Schulz <roland.schulz@intel.com>
Thu, 18 Jan 2018 14:55:39 +0000 (15:55 +0100)
commit6bec723c83da4b5d0900efaa14c84978e74217d3
treefa3b1e331f258d9f6cc5365fac73d097aa9fc746
parentae9157c8d3d4d9fee896b623643a7af647002d0e
Avoid dynamic STL containers in global init

For global variables (and static class members) using dynamic containers
causes issues if using LD_PRELOAD to load different libgromacs.

Change-Id: I7bc20b8305fdf5cfedd43d0e1351d9327cdca332
src/gromacs/hardware/cpuinfo.cpp
src/gromacs/hardware/cpuinfo.h
src/gromacs/random/tabulatednormaldistribution.cpp
src/gromacs/random/tabulatednormaldistribution.h
src/gromacs/random/tests/tabulatednormaldistribution.cpp