-
Notifications
You must be signed in to change notification settings - Fork 58
extended Lagrangian is not compatible with NAMD's globalMaster MTS #793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Good catch, thank you Haohao! We need to either support it fully or make it officially incompatible. Colvars' own MTS uses the impulse method, which is less biased than stale forces. Is there any reason to prefer the stale force to the impulse method? |
Thank you for your reply, Jérôme. The globalMaster MTS supports both the stale force and scaling-force methods. The impulse integrals of both methods should be equivalent. However, in some cases, the scaling-force method might apply large forces, triggering "atom moving too fast" errors. This occurs because Colvars forces evolve slowly but are not necessarily small in magnitude. Best, |
Thanks, I will look into this. |
The globalMaster MTS paradigm breaks an assumption (Colvars is called every timestep) made by many parts of the code: the extended Lagrangian is the tip of the iceberg. I'm working on a global fix. |
Thank you very much! |
Thanks for pointing this out @fhh2626 I had raised the point of compatibility of |
Hi all,
I recently found that extended-Lagrangian algorithms (e.g., eABF) are not compatible with NAMD's new globalMaster MTS. When running an eABF simulation with:
NAMD outputs:
The values in the
.czar.pmf
file remain zero. In contrast, plain ABF works well with this new feature (all input files attached:MTS.tar.gz
).
I suspect this issue arises because NAMD stores the last-step biasing force and performs an additional integration step for the real system, while not for the extended degrees of freedom. Consequently, Colvars detects discrepancies and attempts corrections every two steps. I recommend modifying Colvars to recognize the
globalMasterStaleForces on
setting, store the previous biasing force, and integrate the extended DOF independently of NAMD's communication.Best,
Haohao
The text was updated successfully, but these errors were encountered: