question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GKS calculations for PBE and BP86 differs for XCFun and Libxc

See original GitHub issue

Dear dev Dear PySCF developers,

I calculate Li atom, using both Libxc and XCFun, the Exc differs. And the same problem occurs, when using BP86, but not for BLYP.

`molu = gto.Mole() molu.verbose = 6 molu.atom = “Li 0 0 0” ### molu.spin=1 # ^ Spin molu.basis = “sto-3g” # ^ Basis molu.max_memory = 5000 molu.build()

mftot_nr = dft.GKS(molu) mftot_nr.xc = “BP86” # ^ functional mftot_nr.max_cycle = 0 # ^ max cycle mftot_nr.kernel() `

Now, I can’t understand why this could happen, thanks a lot!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Haskiycommented, Jul 5, 2021

I met the similar question. And I try my best to solve it , however, I failed.

0reactions
hoshishincommented, Jul 12, 2021

Thank you, sunqm! Use dft.libxc.eval_xc and dft.xcfun.eval_xc for a single grid can truly see the difference between those 2 implementation.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Density Functionals (XC) — ADF 2022.1 documentation
Range separated functionals require XCFUN and are limited to GGA, meta-GGA, and CAMY-B3LYP. ... LDA VWN GGA BLYP GGA BP86 GGA PBE HYBRID...
Read more >
Functionals - Libxc - TDDFT.org
Defined through Gaussian implementation. GGA_X_PBE_JSJR (id=126): Reparametrized PBE by Pedroza, Silva & Capelle. L. S. Pedroza, A. J. R. da Silva, and K....
Read more >
user's manual - Turbomole
Running calculations on different nodes. If TURBOMOLE is supposed to run on a cluster, we highly recommend the usage of a queuing system...
Read more >
Source code for pyscf.dft.xcfun
'PBESOLX' : 74, #PBEsol Exchange Functional 'TPSSLOCC' : 75, #TPSSloc correlation ... It is different to the libxc default B3LYP 'B3LYP' : 'B3LYP5', ......
Read more >
The band structure of Si calculated with PBE, gKS SCAN, and ...
The gKS SCAN band structure has the same overall shape as that of the PBE and the KS(KLI), and the main difference is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found