Dear PSI4 community,
I am trying to figure out:
How do I successfully refer previously computed monomer wavefunctions to a SAPT computation?
How can I specify the level of SAPT with psi4.sapt() ?
Basically it should be something like in this example from the manual:
http://psicode.org/psi4manual/master/sapt.html#advanced-example
Unfortunately, whenever I run the code in that example (only copy/pasted from there, no changes), the monomer SCF computations run ok but an error occurs at the last command, the SAPT stage.
Could not find requested basisset (DF_BASIS_SAPT).
Traceback (most recent call last):
File "/home/tobias/psi4conda/bin/psi4", line 248, in <module>
exec(content)
File "<string>", line 69, in <module>
RuntimeError:
Fatal Error: Wavefunction::get_basisset: Requested basis set (DF_BASIS_SAPT) was not set!
Error occurred in file: /scratch/psilocaluser/conda-builds/psi4_1495011512596/work/psi4/src/psi4/libmints/wavefunction.cc on line: 422
The most recent 5 function calls were:
psi::PsiException::PsiException(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, char const*, int)
psi::Wavefunction::get_basisset(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)
psi::sapt::USAPT0::USAPT0(std::shared_ptr<psi::Wavefunction>, std::shared_ptr<psi::Wavefunction>, std::shared_ptr<psi::Wavefunction>, psi::Options&, std::shared_ptr<psi::PSIO>)
psi::sapt::sapt(std::shared_ptr<psi::Wavefunction>, std::shared_ptr<psi::Wavefunction>, std::shared_ptr<psi::Wavefunction>, psi::Options&)
py_psi_sapt(std::shared_ptr<psi::Wavefunction>, std::shared_ptr<psi::Wavefunction>, std::shared_ptr<psi::Wavefunction>)
The same happens when I reduce the commands after molecule specification and variables set to (which is basically at the heart of my first question above):
Edim, wfn_dimer = energy('scf',molecule=dimer,return_wfn=True)
monomerA = dimer.extract_subsets(1,2)
EmonA, wfn_monA = energy('scf',molecule=monomerA,return_wfn=True)
monomerB = dimer.extract_subsets(2,1)
EmonB, wfn_monB = energy('scf',molecule=monomerB,return_wfn=True)
psi4.sapt(wfn_dimer,wfn_monA,wfn_monB)
While the error states the basisset is not set, this is in fact the case (I thought? set {df_basis_sapt cc-pVDZ-ri} clearly is present.).I have successfully run more standard SAPT computations on my system, so I guess this is not a local issue.
A problem with this example was pointed out earlier, but no solution was offered (Open-shell SAPT0 computation).
I would greatly appreciate any help in this regard.
Best