ERROR: find a bonded pair that is not on the same processor, something should not happen #2319
-
Hi! I'm using deepmd-kit 2.1.5. The error occurred on
What i tried to do: change number of cpus, change atom groups in And i have another question. To which group of atoms |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Please make sure that in the intial configuration, the positions of the WCs are the same as the real atoms which they are associated to. |
Beta Was this translation helpful? Give feedback.
-
Please keep the positions of the WCs the same as the corresponding real atom every time you restart the simulation. During the simulation, the WCs positions and the real atom positions are different, which is correct. So, when you "write_restart", the WCs positions and the real atom positions are also different in your restart file. But this will cause a problem when you restart your simulation from your restart file. To make the WC and its corresponding real atom be allocated to the same processor, we need to change the WCs positions manually in the restart file. So, instead of "write_restart", I use "write_data out.lmp nocoeff". Then, I change the position of the WCs to make them equal to the real atom to enable a successful restart. Afterward, I use "read_data xx" to restart my simulation. Here is my code to change the WCs positions for a 64 water molecule system. You may need to write your own code according to your system. |
Beta Was this translation helpful? Give feedback.
Please keep the positions of the WCs the same as the corresponding real atom every time you restart the simulation.
During the simulation, the WCs positions and the real atom positions are different, which is correct. So, when you "write_restart", the WCs positions and the real atom positions are also different in your restart file. But this will cause a problem when you restart your simulation from your restart file. To make the WC and its corresponding real atom be allocated to the same processor, we need to change the WCs positions manually in the restart file. So, instead of "write_restart", I use "write_data out.lmp nocoeff". Then, I change the position of the WCs to make them equal …