-
Notifications
You must be signed in to change notification settings - Fork 23
A bug in computing neighbors #92
Comments
Hi, pulkin. |
I use the provided SiO2 example with the cutoff distance |
Ok. I misunderstood your question. |
Hi pulkin. First, I checked our code calculates the symmetry functions as you mentioned. (eta=0.0032 -> 8.154...) I modified our code to check the neighbor list thoroughly. However, my result is different from yours. Also, I calculate them by opening OUTCAR manually. According to OUTCAR_comp, the positions of 30th and 53rd oxygen are I think we discussed the same structure anyway because I found the same symmetry function value. |
Yes, I will check it. What I can say right now is that there are several distances between these two atoms and |
Finally, I find what makes our results different. |
Thank you, @JisuJung928 and @pulkin. |
Hello pulkin. |
Unfortunately, I do not have enough time to debug this issue. If optimization options affect results beyond numerical precision then it is still a problem. I suggest you to set up CI and tests where you will be able to sort such things out in a more consistent manner. |
Hello, pulkin. It might come from the atomic simulation environment (ASE) module. |
I suspect there is a bug which misses some pairs. Following is the information I can share right now:
I cannot reproduce specific descriptors from structure 334 in the SiO2 example you provide. The index 334 is counting from zero. It corresponds to index 3340 (counting from zero) of the original chain of VASP structures in
OUTCAR_comp
. The mismatch is (here and further counting is from zero):O-Si
andO-Si-Si
;O-Si
;Si-Si
andSi-Si-Si
.There may be other discrepancies which are below numerical threshold
1e-12
.I think I nailed down the problem with pair descriptors of Oxygen 5 and 28: there, expectedly, the pair
O#5-O#28
is missing from sums. This is what I computed vs what you code gives (I was reading descriptors from individual pickle files your example saves at some point):Assuming only a single term is missing it is easy to deduce that your implementation differs from my implementation by one Behler function with
r=5.43115469
which is present in my case but absent in yours. This distance corresponds almost exactly to the distance betweenO#5-O#28
in neighboring supercells.I do not know where exactly the problem is but I kindly ask to investigate this. Other 399 cells which I tested seem to show perfect agreement.
The text was updated successfully, but these errors were encountered: