-
Notifications
You must be signed in to change notification settings - Fork 23
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
adding ENERGY colvar #53
Comments
The Plumed plugin can only apply biases based on CVs computed with Plumed. There might be another way of doing what you want though. I'm not familiar with that algorithm. Can you describe how it works? |
It is a way of sampling an expanded ensemble made of a set of "overlapping" sub-ensembles, in a sense like replica exchange but based on an adaptive bias potential. The bias potential is a function of the difference in the Hamiltonians of the sub-ensembles (e.g. for multithermal ensembles the potential energy is needed) and depends on estimates of the free energy differences between the sub-ensembles. These estimates are based on a reweighting procedure and are updated on-the-fly during the simulation. (details in § IV here) Since it is not possible to access the potential energy from PLUMED, I guess the only way to run my multithermal simulations with OPES would be to implement it directly in OpenMM. I might start by looking into the |
Currently the @peastman is it possible to get the potential energy in openmm-plumed/platforms/cuda/src/CudaPlumedKernels.cpp Lines 210 to 218 in 5406068
|
It's not available yet then. |
I noticed this issue linked from the plumed mailing list. Gromacs has a similar issue. We solved it as follows:
In this way, with gromacs you pay for the slow down only when you use the energy as a collective variable. I am not sure this would be easy / feasible with openmm structure. In case I can help in sorting out the correct function call |
Hi,
is it possible to have the ENERGY collective variable implemented, so that it can be biased with plumed?
I would love to be able to run multithermal simulations with OPES and OpenMM, but for that I need to bias the potential energy.
From what I understand it might not be easy to do, because you need to calculate the total energy without the contribution of the PlumedForce. But I am quite new to OpenMM...
The text was updated successfully, but these errors were encountered: