Introduced MPI initialization counter
authorMark Abraham <mark.j.abraham@gmail.com>
Tue, 1 Oct 2013 14:47:22 +0000 (16:47 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Thu, 10 Oct 2013 20:07:54 +0000 (22:07 +0200)
commit8c5f92e92018e653c7747783e20c911d612e6e36
tree81261a9f4165fca1bec74c3a86c066c544118a2d
parent47523e53dabe1a9005254c9b1da305f883c93fcb
Introduced MPI initialization counter

Normal GROMACS code needs to initialize and finalize MPI. Code that
uses GROMACS as a client (e.g. external code, possible GROMACS test
code) needs GROMACS to work normally and not make erroneous calls to
the MPI library. For example, this would allow a single test binary
to call MPI-enabled mdrun repeatedly to test a range of test cases.

Change-Id: I546518923561a13e3973f90182fa31129ab1e6ae
src/gromacs/utility/init.cpp
src/gromacs/utility/init.h