Closed Angel-Jia closed 2 weeks ago
pseudo and orbital files: orb_upf.tar.gz
It appears that the issue is related to the parameter scf_thr=1e-4. After using the CG algorithm with scf_thr=1e-4, the structure optimization converged.
It appears that the issue is related to the parameter scf_thr=1e-4. After using the CG algorithm with scf_thr=1e-4, the structure optimization converged.
Excellent, but where did you get the value of scf_thr = 1e-4? It is too large.
It appears that the issue is related to the parameter scf_thr=1e-4. After using the CG algorithm with scf_thr=1e-4, the structure optimization converged.
Excellent, but where did you get the value of scf_thr = 1e-4? It is too large.
I found this in the tutorial:: https://bohrium.dp.tech/notebooks/7417640496 and I forgot to modify it afterward.
Describe the bug
While following the tutorial for surface energy calculations(https://bohrium.dp.tech/notebooks/45588412168), I encountered a potential convergence issue during structure optimization. Using the tutorial's recommended parameters, the structure converges within 6 ionic steps. However, when switching the optimization algorithm to CG (conjugate gradient), the structure fails to converge even after 200 steps. Examining the forces on the atoms in the 200th step reveals a significant force along the z-axis, showing no sign of convergence.
After extracting the structure from the 200th step and switching to the BFGS optimization algorithm, the structure fully converges in just 6 steps. However, with CG, even after an additional few dozen steps, convergence remains unattainable.
Given that this is a very simple structure, the CG algorithm should not encounter such difficulties with convergence. This may indicate a potential bug.
Expected behavior
No response
To Reproduce
The calculation parameters for the first 200 steps are as follows: STRU
KPT:
INPUT:
Then, using the structure from the 200th step, I continued the optimization with the following STRU and INPUT parameters, achieving convergence within 6 ionic steps. STRU:
INPUT:
However, if the
relax_method
is changed tocg
or ifscf_thr
is set to1e-4
(withrelax_method=bfgs
), the structure fails to converge.Environment
Abacus 3.8.0
Additional Context
No response
Task list for Issue attackers (only for developers)