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.

ORCA parser does not include dispersion correction in scfenergies

See original GitHub issue

Hi,

Currently, the ORCA parser does not take into account dispersion corrections provided through post-SCF corrections, like the Grimme D3 correction.

I have attached an example below.

wB97XD3_def2-SVP_toluene_S0_TDA6S_2-20.txt

In this example, the pre-D3 SCF energy on the Total Energy : line is -306.98073026 Eh, which is what cclib finds. However, the DFT+D3 energy is on the FINAL SINGLE POINT ENERGY line and is -306.983847616167 Eh.

I appreciate that this is possibly ‘intended’ behaviour, since strictly speaking, the D3 correction is post-SCF. However, this is inconsistent with, for example, Gaussian, since Gaussian includes the dispersion component in print outs of the SCF energy.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
langnercommented, Dec 4, 2018

It’s great we’re getting around to fixing this. It sounds like my intuition is in the minority and most people expect scfenergies to include any dispersion corrections, and I’m OK with that as well. If everyone agrees, let’s go ahead and bake that into the docs and merge the ORCA fix.

1reaction
ghutchiscommented, Dec 4, 2018

I’d like to chime in. Whatever people do, needs to be broadly advertised. I, for one, assumed that scfenergies would reflect the dispersion correction. Consider, if I do a DFT+D (for whatever dispersion correction), the intuition would be that scfenergies would reflect the end of that calculation. Otherwise, I’d have run a DFT calculation without dispersion.

I have a whole pile of energies that I need to go fix because we used scfenergies from ORCA calculations…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Coverage for cclib/parser/orcaparser.py: 92%
51 # ORCA doesn't add the dispersion energy to the "Total energy" (which ... 59 # SCF energies, since all dispersion energies can...
Read more >
DFT calculations - ORCA Input Library - Google Sites
Use a dispersion correction. Grimme's DFT-D3 method includes dispersion in DFT calculations free of charge and is generally recommended. D3 keyword.
Read more >
aiida_orca.parsers.cclib package — aiida-orca 0.6.0 documentation
If the file is not appropriate for cclib parsers, a fallback mechanism will try ... (array[1]) dispersionenergies – dispersion energy corrections (array[1], ...
Read more >
Density Functionals (XC) — ADF 2022.1 documentation
SD-SCAN69: Based on SCAN meta-GGA, no dispersion correction (69 % HF, 62 % OS-, 26 % SS-MP2) [71]. Except for SD-SCAN69, all functionals...
Read more >
sapt2020: An Ab Initio Program for Symmetry-Adapted ...
It is interfaced with ORCA, and includes algorithms aimed at computing interaction energies of large systems. SAPT(DFT) with non-hybrid ...
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