Skip to content
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 openmm #139

Merged
merged 18 commits into from
Jan 2, 2024
Merged

Feature optimise openmm #139

merged 18 commits into from
Jan 2, 2024

Conversation

chryswoods
Copy link
Contributor

This PR contains some minor changes to move all the OpenMM forces in LambdaLever over to the experimental updateSomeParametersInContext code. It has no impact unless the custom OpenMM is used.

Also bumped the gemmi version so that it can be enabled by default :-)

  • I confirm that I have merged the latest version of devel into this branch before issuing this pull request (e.g. by running git pull origin devel): [y]
  • I confirm that I have added a test for any new functionality in this pull request: [n/a]
  • I confirm that I have added documentation (e.g. a new tutorial page or detailed guide) for any new functionality in this pull request: [n/a]
  • I confirm that I have added a changelog entry to the changelog (we will add a link to this PR as part of the review): [y]
  • I confirm that I have permission to release this code under the GPL3 license: [y]

Suggested reviewers:

This doesn't need reviewing - it is a test to see if the bumped gemmi works

Also added automatic detection of the right platform to the OpenMM tests.
This lets me catch errors on OpenCL, rather than missing them becuase
it was all reference or CPU
All the forces now use this, which has sped things up a lot
…so that it

is easier to perform just steps of dynamics without any extra overhead.

This is as fast as calling step on the underlying OpenMM integrator. It lets
us do lambda scans using the dynamics interface
…g this to set the

compiler version on Linux, while hopefully leaving it alone for other OSs.

This does work - a local test shows that gemmi now passes when the compiler versions
match.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant