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

How to improve the speed of ASE-MD simulation based on trained PhysNet model? #6

Open
liudfgoo opened this issue Nov 22, 2023 · 1 comment

Comments

@liudfgoo
Copy link

Hello, everyone! I have trained one PhysNet model on the solvated_protein_fragments.npz data. Now I want to conduct the MD simulations based on the model through ASE environment. The simulation system I used has 1681 atoms and satisfies PBC conditions. I set the lr_cut 8 Angstrom in the NNCalculator.py.

I found the ASE-MD simulation was running slowly. I submit the task on computation cluster and used one gpu and five cpu cores. However, the simulation of 5000 steps consumes about 6 hours. In the running process, the volatile GPU-Util almost keeps zero, but the memory usage is large.
image

I think the low speed arises from the ase.neighbor_list process, but I don't know how improve the situation effectively.

Looking forward to your help!

@LIVazquezS
Copy link
Member

Hi,

There is no simple solution to this issue. ASE is not optimized to run extensive MD simulations, and as you mentioned, the ase.neighbor_list can be a problem. We are working on solutions bypassing that step to torch or CHARMM.

I am sorry we can't help you more.

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