abacus-develop icon indicating copy to clipboard operation
abacus-develop copied to clipboard

Convergence Problem

Open iduygnay opened this issue 9 months ago • 13 comments

Details

This calculation is really important for me, I tried different ways but still could not converge. Can anyone help me to check my INPUT? dft.zip

Have you read FAQ on the online manual http://abacus.deepmodeling.com/en/latest/community/faq.html

  • [X] Yes, I have read the FAQ part on online manual.

Task list for Issue attackers (only for developers)

  • [ ] Understand the problem or question described by the user.
  • [ ] Check if the issue is a known problem or has been addressed in the documentation.
  • [ ] Test the issue or problem on a similar system or environment, if possible.
  • [ ] Identify the root cause or provide clarification on the user's question.
  • [ ] Provide a step-by-step guide, including any necessary resources, to resolve the issue or answer the question.
  • [ ] If the issue is related to documentation, update the documentation to prevent future confusion (optional).
  • [ ] If the issue is related to code, consider implementing a fix or improvement (optional).
  • [ ] Review and incorporate any relevant feedback from users or developers.
  • [ ] Ensure the user's issue is resolved or their question is answered and close the ticket.

iduygnay avatar Apr 30 '24 08:04 iduygnay

@iduygnay have you tried this notebook?

WHUweiqingzhou avatar Apr 30 '24 08:04 WHUweiqingzhou

I tried to adjust mix_gg0 to 1.5, mix_beta to 0.6 and some other values, degauss to 0.01 and 0.02, smearing method to fixed, but all of them always converge to 1E-3 and can not be smaller.

iduygnay avatar Apr 30 '24 09:04 iduygnay

I notice it is a SOC calculation, I will suggest a quite small mixing_beta , like 0.2 or 0.1

WHUweiqingzhou avatar Apr 30 '24 09:04 WHUweiqingzhou

image It still could not converge.

iduygnay avatar Apr 30 '24 15:04 iduygnay

I suggest to set "noncolin false" when there is no initial atomic-mag is setting, it usually can improve convergence.

dyzheng avatar May 01 '24 16:05 dyzheng

I set noncolin as default (which is false), still not converge. image

iduygnay avatar May 15 '24 11:05 iduygnay

I've used QE and solved this, QE can converge quite quickly. But it requires a large memory. image

iduygnay avatar May 24 '24 14:05 iduygnay

I tried symmetry = -1, mixing_beta = 0.01, soc lambda = 0.1, still not converge.

iduygnay avatar Jul 08 '24 16:07 iduygnay

Even 32 atoms cannot converge. image

iduygnay avatar Jul 25 '24 15:07 iduygnay

Interesting! I found that abacus3.4.3 can converge, for the 32 atoms case with the same INPUT. image

iduygnay avatar Jul 26 '24 07:07 iduygnay

240 atoms case can also converge successfully! I think my problem is solved, if there is no necessary to keep this issue I can close it.

image

iduygnay avatar Jul 26 '24 09:07 iduygnay

@iduygnay Could you offer your input&output of 32 atoms. I believe this is caused by some numerical problem, and I will try to figure it out.

WHUweiqingzhou avatar Jul 26 '24 09:07 WHUweiqingzhou

I hope to send it via WeChat since the file is too big.

iduygnay avatar Jul 26 '24 09:07 iduygnay