Incompatible between "kspace_style pppm" of LAMMPS and NequIP #534
Replies: 2 comments 2 replies
-
|
Hi, NequIP does not natively have any support for charges that would work with pppm (normally you would just use pair_style nequip, and no kspace). If you were to overlay charge interactions by assigning the LAMMPS q value in some way in addition to the NequIP model predictions, you would need to ensure that this physically made sense, as NequIP has already learned the complete potential energy surface to the best of its ability while training to DFT energies and forces. --Marc |
Beta Was this translation helpful? Give feedback.
-
|
Hi @MarcD3, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I would like to ask an error when I run LAMMPS on a trained model. After adding the line "kspace_style pppm" in the input of LAMMPS, there is a reported error:
"PPPM initialization ...
ERROR: Kspace style requires atom attribute q (src/KSPACE/pppm.cpp:201)
"
In LAMMPS, "kspace_style pppm" is used for long-range Coulombic interactions and requires per-atom charges. Is it possible that I can also assign atomic charges using NequIP-trained model?
Beta Was this translation helpful? Give feedback.
All reactions