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

Improving efficiency of code in smirky - for future move proposal tools #261

Closed
bannanc opened this issue Jan 6, 2018 · 4 comments
Closed

Comments

@bannanc
Copy link
Collaborator

bannanc commented Jan 6, 2018

I wanted to get an issue started for this that can be used for documentation. I continue to believe that it isn't worth investing significant time into speeding up SMIRKY now, but certain functions from this code will likely carry over to future move proposal engines.

This issue will focus on places that the code can be more efficient, not making "smarter" chemical moves, though that is also going to be important.

At the OFF meeting this week, Daniel Smith has been helping me diagnose what is causing the code to be slow. We've identified the get_typed_molecules as a particularly problematic part of the code, it scales as N^4.

@bannanc bannanc changed the title Code inherited from SMIRKY will need to be more efficient Code inheriting from SMIRKY will need to be more efficient Jan 6, 2018
@bannanc bannanc changed the title Code inheriting from SMIRKY will need to be more efficient Improving efficiency of code in smirky - for future move proposal tools Jan 6, 2018
@davidlmobley
Copy link
Contributor

FTR, what does that part do and why does it scale that way?

@davidlmobley
Copy link
Contributor

(Aside from "getting typed molecules", I mean. Is this the part which types the molecules? And what's N? The number of molecules or the number of types?)

@bannanc
Copy link
Collaborator Author

bannanc commented Jan 6, 2018

I think the N in this case is referring to molecules, so the exact scaling will change with number of molecules and number of types which is likely why torsions are so much slower, there are many more torsions/molecule than other parameters.

This is typing the molecules with the current list of smirks patterns. Daniel seemed to have some ideas that would speed it up.

@bannanc
Copy link
Collaborator Author

bannanc commented Apr 26, 2018

Moved to chemper issue#12

@bannanc bannanc closed this as completed Apr 26, 2018
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

No branches or pull requests

2 participants