Add environment variable that changes the meaning of '-update auto'
[alexxy/gromacs.git] / src / gromacs / modularsimulator / modularsimulator.cpp
index b77321d1764adae31373d61b950580cd4bdfa657..2cc1503ab1d5f9bcd32af4edf77313e2e7c3eefe 100644 (file)
@@ -895,7 +895,7 @@ bool ModularSimulator::isInputCompatible(
                 "Membrane embedding is not supported by the modular simulator.");
     // TODO: Change this to the boolean passed when we merge the user interface change for the GPU update.
     isInputCompatible = isInputCompatible && conditionalAssert(
-                getenv("GMX_UPDATE_CONSTRAIN_GPU") == nullptr,
+                getenv("GMX_FORCE_UPDATE_DEFAULT_GPU") == nullptr,
                 "Integration on the GPU is not supported by the modular simulator.");
     // Modular simulator is centered around NS updates
     // TODO: think how to handle nstlist == 0