Roll back "Ensure the modular simulator runs only when it should"
authorPascal Merz <pascal.merz@me.com>
Sun, 27 Sep 2020 06:55:11 +0000 (00:55 -0600)
committerPascal Merz <pascal.merz@me.com>
Sun, 27 Sep 2020 06:55:11 +0000 (00:55 -0600)
commitca963c62c955ffad905f69f9cd108afe380f96ea
tree66feeaf6fb84eb86ebfa4bcbbf48308c10990102
parente35582271bb5e7fd331e436cb9ef2eb1d5dd2968
Roll back "Ensure the modular simulator runs only when it should"

The fact that GMX_USE_MODULAR_SIMULATOR does not lead to an error
when the run is not supported is a feature, not a bug. It allows
to run the entire test set using modular simulator wherever is is
implemented by using "export GMX_USE_MODULAR_SIMULATOR=ON; make check",
even if modular simulator is disabled by default. It is the only way
to make sure that modular simulator is a valid replacement for the
legacy code path.

Similarly, using "export GMX_DISABLE_MODULAR_SIMULATOR=OFF; make check"
allows to check the legacy code path, even if modular simulator is used
by default.
src/gromacs/modularsimulator/modularsimulator.cpp