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.

Reading https://github.com/cclib/cclib/pull/298, I realized there aren’t any conventions that I know of for what cclib does in the case of ROHF calculations. Is this true?

These are results for DVB cation, ROHF rather than UHF:

Attempting to read dalton.out
homos:
[34]
Attempting to read gamess.out
homos:
[34 33]
Attempting to read gaussian.out
homos:
[34]
Attempting to read molpro.out
homos:
[34 33]
Attempting to read nwchem.out
homos:
[34]
Attempting to read orca.out
homos:
[34]
Attempting to read qchem.out
homos:
[34 33]

No Psi4 result because it doesn’t handle UHF/ROHF right now, or the latest version of the program; I’m making major changes to the parser and test files.

I think we should have unit tests for restricted open-shell calculations, which should be defined as (to start with):

assert len(data.homos) == 2
assert len(data.mocoeffs) == 1
assert len(data.moenergies) == 1

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:26 (26 by maintainers)

github_iconTop GitHub Comments

1reaction
langnercommented, Dec 10, 2016

I think Eric’s previous proposal to use a list of integers is the best one.

0reactions
berquistcommented, Apr 10, 2020

I’m thinking two stages:

  • one PR to implement the fixes and add either unit or regression tests, not sure which is best, but leaves homos as-is
  • another PR that handles the homos <-> nelectrons inversion
Read more comments on GitHub >

github_iconTop Results From Across the Web

Restricted open-shell Hartree–Fock - Wikipedia
Restricted open-shell Hartree–Fock (ROHF) is a variant of Hartree–Fock method for open shell ... is the (diagonal, by convention) matrix of orbital energies....
Read more >
Numerical methods for computing ROHF ground states. Part I
In this article, we propose a simple geometrical derivation of the restricted open- shell Hartree-Fock (ROHF) equations in the density matrix ...
Read more >
Restricted open-shell Hartree–Fock - Hellenica World
Restricted open-shell Hartree–Fock (ROHF) is a variant of Hartree–Fock method ... and \epsilon is the (diagonal, by convention) matrix of orbital energies.
Read more >
RHF, ROHF, UHF
The table below summarizes some properties of RHF, ROHF and UHF methods. Method. RHF. ROHF. UHF. Initials of. Restricted Hartree-. Fock. Restricted Open....
Read more >
About: Restricted open-shell Hartree–Fock - DBpedia
Restricted open-shell Hartree–Fock (ROHF) is a variant of Hartree–Fock method for open shell molecules. It uses doubly occupied molecular orbitals as far as ......
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