Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

property ; all ; end should not include invalid options #1017

Open
jeffhammond opened this issue Sep 7, 2024 · 0 comments
Open

property ; all ; end should not include invalid options #1017

jeffhammond opened this issue Sep 7, 2024 · 0 comments

Comments

@jeffhammond
Copy link
Collaborator

When I use property; all; end when doing RHF SCF, NWChem tries to compute a property that is not valid. It would be good for the property input parser to exclude invalid options.

I also note that the error message is wrong. It should say UHF instead of ODFT when the property module is invoked for SCF rather than DFT.

An input file to reproduce is below.

      Indirect spin-spin coupling not calculated for RHF
      wave functions: needs UHF wave function
 ------------------------------------------------------------------------
  use ODFT input keyword                    0
 ------------------------------------------------------------------------
echo

start w2_scf_cc-pvdz_property

permanent_dir /tmp
scratch_dir /tmp

geometry units angstrom
  O      -0.000545       1.517541       0.000000
  H       0.094538       0.553640       0.000000
  H       0.901237       1.847958       0.000000
  O      -0.000545      -1.389760       0.000000
  H      -0.493527      -1.711924       0.761014
  H      -0.493527      -1.711924      -0.761014
end

basis "ao basis" spherical noprint
  * library cc-pvdz
end

property
  all
end

scf
  singlet
  rhf
end

task scf property
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant