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 and scale up! #16

Closed
2 tasks done
jennyfothergill opened this issue May 14, 2021 · 2 comments · Fixed by #19
Closed
2 tasks done

speed up and scale up! #16

jennyfothergill opened this issue May 14, 2021 · 2 comments · Fixed by #19

Comments

@jennyfothergill
Copy link
Member

jennyfothergill commented May 14, 2021

grits is painfully slow on real simulation morphologies...

  • use freud clustering? save doing the same work on a system of identical molecules
  • move away from mbuild compound? hierarchical nature not needed, we could use a simpler faster data structure
@chrisjonesBSU
Copy link
Member

For reference, how long is it currently taking? I tested out a few larger systems (440,000 atoms) using the freud clustering approach in the polymer utils PR, and it takes about 0.2 - 0.5 seconds to go from an atomistic gsd to CG gsd for a single frame (depending on the degree of coarse graining). This is still technically using mbuild to generate the CG system, then saving to .gsd. I'm sure it would be quicker to use a gsd writer directly and skip mbuild.

@jennyfothergill
Copy link
Member Author

I think it's the smarts matching that is taking so long. I plan to use freud cluster module to break things up and then use smarts matching on only one section.

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 a pull request may close this issue.

2 participants