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

savetoqmcpack is not working for unresticted HF of KS in Pyscf #3958

Closed
romanfanta4 opened this issue Apr 20, 2022 · 2 comments · Fixed by #4089
Closed

savetoqmcpack is not working for unresticted HF of KS in Pyscf #3958

romanfanta4 opened this issue Apr 20, 2022 · 2 comments · Fixed by #4089

Comments

@romanfanta4
Copy link

I encountered a problem with conversion from Pyscf to QMC for UHF/UKS.

File "/apps/all/QMCPACK/3.13.0-intel-2020b-Python-3.8.6/QMCTools/PyscfToQmcpack.py", line 505, in savetoqmcpack
NbAO, NbMO =mo_coeff.shape
AttributeError: 'tuple' object has no attribute 'shape'

For the same settings the ROHF/ROKS calculations the conversion was fine. My input and output files are attached. I am using PySCF version 2.0.1.

C-UKS.zip

@prckent
Copy link
Contributor

prckent commented Apr 22, 2022

@anbenali Any ideas? Did UHF support change?

@anbenali
Copy link
Contributor

This is either a pyscf change or something missing from python2 to python3. Will provide a fix later today or early morning.

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

Successfully merging a pull request may close this issue.

3 participants