Replies: 1 comment 3 replies
-
I assume you mean "hybrid pair_style". Do you use the latest version? There was a bug #1649 several years ago. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm trying to set up a system where a subset of atoms of the whole system is to be treated with DeePMD potentials, and the remainder of the system with classical force fields. Now, I need to define bonds and angles for the non-DeePMD part of the system.
For this, I'm using hybrid atom_style atomic angle
Here is a part of my LAMMPS data file :
1506 atoms
1000 bonds
500 angles
0 dihedrals
0 impropers
5 atom types
1 bond types
1 angle types
0 dihedral types
0 improper types
0.000000 41.500000 xlo xhi
0.000000 41.500000 ylo yhi
0.000000 41.500000 zlo zhi
Atoms # atom-id atom-type x y z mol-id
1 2 15.867987 11.342518 33.834008 1
2 1 16.436384 10.828119 37.357549 1
.
.
.
(Bonds and angles defined later, and masses defined in the LAMMPS input script. Charges also defined using fix property/atom)
This is my pair style : pair_style hybrid/overlay deepmd graph.pb lj/charmm/coul/long 8 10
With this, and when I run NVT, I get a segmentation fault as error, which I'm not able to fix. If I turn off the deepmd part and replace it with simple LJ interactions, the simulations run fine.
Can pair_style deepmd not handle hybrid atom_style interactions?
Could you please help me fix this? I realize it's a super specific problem, but any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions