-
Notifications
You must be signed in to change notification settings - Fork 198
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
First experiment using lammps with a pretrained potential (mace mp0) #473
Comments
Can you try 'atom_style atomic'? |
Thanks, I tried and It kinda works. I forgot to update the question. If I understand correctly, atomic is the style to be used because it is useless to explicitly define bonds and angle between atoms in molecules using this kind of potentials. Maybe I am wrong but if MACE mp0 is trained on potential coming DFT calculations, so an ab initio method, after a number of iterations, water molecules should "form" only because of the potential, without the need of explicitly fixing distances, bonds, etc. I tried the following two scripts and it works, the problem is that it is apparently too slow and it segfaults for lack of memory I think, but I'm just trying on a small laptop with 16 GB of RAM... |
Does it work on your laptop for a smaller system? Try the smallest that is reasonable. |
I tried with a 64 molecules systems, so small enough I think but I have still some segfaults problems. This is the initial configuration, it is a water system that should be equilibrated This is the error: This it the lammps input script: I tried with both domain decomposition and with no domain decomposition. Can you try and see if I'm doing something wrong? Thank you. |
I've tried your example and reproduced similar errors. As best I can tell, the main issue is that you are using a gigantic timestep (1 ps). Try something closer to 1 fs. |
Thanks, that was the problem. With a timestep of 0.001 (1 fs) it seems to work. Another question: The best performances are obtained with running a job with just one mpi process but using a large number of threads (96 for example setting the env variable with By the way the next task is trying to compile the GPU version to run on my modest Nvidia RTX 3060Ti 8 GB on my Arch Linux system :-) |
Hi,
I am trying to run my first simulation of bulk water using the potential derived from the mace mp0 model. I followed the guide and successfully generated the model for lammps with the provided script.
I compiled lammps with the MOLECULE package enabled
with the following command
But when I try to run this script I got this error
But I compiled lammps with the MOLECULE package enabled.
Note that that scripts (with a standard LJ potential) works fine with the standard lammps version compiled with the MOLECULE package.
In general, is there an example to run a simulation of bulk water with lammps using a potential derived form the pretrained MACE mp0 model?
Thank you
The text was updated successfully, but these errors were encountered: