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

ABACUS KS eigen energies appear much lower with CP2K's pseudopotential & basis

Open Fisherd99 opened this issue 1 year ago • 1 comments

Describe the Testing Issue

I tried to run ABACUS (ver3.7.2) with CP2K's GTH pseudopotential and cc-pVTZ basis set. For pseudopotential, I used CP2k's ATOM module to generate .upf file. For basis, I generate .orb file with numerical Gaussian function tabulate. I suppose the results will be in accordance roughly, but I found for Na2 molecule something weird happens.

Here provides my test result of Na2, Li2, C2H4 molecule with PBE. It shows that rsults in column 2,3,4 of Na2 molecule are much lower than normal results.

image

Input files for Na2, Li2, CH4 molecules are provided in attachment ABACUSvsCP2K.zip. NOTICE: in order to use cc-pVTZ basis, one should modify module_basis/module_nao/numerical_radial.cpp in line 172 as following, otherwise the absolute value less than 1e-15 in cc-pVTZ will cause error.

    //orbital_lm.set_orbital_info(symbol_, itype_, l_, izeta_, std::min(nr_, ircut_+1), rab, rgrid_,
    orbital_lm.set_orbital_info(symbol_, itype_, l_, izeta_, nr_, rab, rgrid_,

Additional Context

No response

Task list for Issue attackers (only for developers)

  • [ ] Understand the testing issue described by the developer.
  • [ ] Review the specific test case, expected and actual results, and any error messages.
  • [ ] Identify the root cause of the test failure or issue.
  • [ ] If a possible solution is suggested, evaluate its feasibility and effectiveness.
  • [ ] Implement a fix for the test failure or issue, or create a new test case if needed.
  • [ ] Verify that the fix resolves the testing issue and the test case passes.
  • [ ] Review and update any relevant documentation, such as test plans or user guides.
  • [ ] Ensure the testing issue is resolved and close the ticket.
  • [ ] Share any lessons learned or best practices with the team to prevent similar issues in the future.

Fisherd99 avatar Aug 08 '24 05:08 Fisherd99

It seems that the problem partly may be caused by insufficient RCUT in ccpVTZ orbital file. I enlarge it from 8au to 24au, figures below are Li and Na.

Li-ccpVTZ Na-ccpVTZ DOWNLOAD ORB FILE HERE: cc-pVTZ-24au.zip

Also I add ECUTWFC to 300Ry. For now results are much better, but still something weird in Na2.

image

Fisherd99 avatar Aug 13 '24 02:08 Fisherd99

@AroundPeking used to mention a novel family of pseudopotential called ccECP, may be that will work for Na dimer system

kirk0830 avatar Oct 24 '24 01:10 kirk0830