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

Speed up parameter assignment by reversing order? #51

Open
davidlmobley opened this issue Jul 19, 2017 · 1 comment
Open

Speed up parameter assignment by reversing order? #51

davidlmobley opened this issue Jul 19, 2017 · 1 comment
Assignees

Comments

@davidlmobley
Copy link
Contributor

Chris Bayly relays a point from Stan Wlodek at OpenEye -- we could make parameter assignment run substantially faster by simply reversing the order of our files and assigning parameters in "first one wins" order. That is, by processing the most specialized SMIRKS patterns first, we can assign most of the parameters and only have to assign generic parameters to relatively few or no cases, potentially giving substantial speedups.

I'll have to think about whether this could be implemented without major architectural changes. However, it IS worth noting that assignment of a full SMIRNOFF99Frosst force field to a nontrivial system can take a noticeable amount of time, and this seems like it could make it substantially faster. Compared to the cost of doing something like a free energy calculation, this cost is still trivial, but it might be worth investigating this at some point.

@jchodera
Copy link
Member

it IS worth noting that assignment of a full SMIRNOFF99Frosst force field to a nontrivial system can take a noticeable amount of time

We're going to have to do a ton of optimization to scale to assignment of biomolecules. This is a good idea that should be something we can implement internally with zero external changes---we can just reverse the order in which we enumerate a branch of the XML tree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants