-
Notifications
You must be signed in to change notification settings - Fork 11
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
Feature optimise lever #134
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…urbed parameters are re-used during a simulation, rather than continually recalculated.
…er update functions that I have been adding
…InContext` code is only used if compiled with the custom version of OpenMM that includes this function
…re_optimise_lever
…l not clear the text cache, so manual edits in the same process won't fix the problem. This was very confusing ;-) [ci skip]
…=0, as this was causing instability for the free energy simulations [ci skip]
lohedges
approved these changes
Dec 8, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great. I've been using this locally without issue and it seems to be working well for @mb2055's and @akalpokas's simulations too. Should help speed up the ML/MM code too.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes proposed in this pull request:
Optimisations to the lambda lever to cache the results of calculating lambda parameters. This significantly speeds up the free energy simulations. Also includes the sire-specific changes that relate to the optimisation work going on in our temporary fork of OpenMM. The cmake test will only activate this if a custom version of OpenMM is detected. I am leaving it in as it will make the optimisation work easier.
devel
into this branch before issuing this pull request (e.g. by runninggit pull origin devel
): [y]Suggested reviewers:
@lohedges
Any additional context of information?
There's no docs or tests as this is an optimisation, so is covered by existing docs and tests.