-
Notifications
You must be signed in to change notification settings - Fork 8
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
Update of PySCF checkpoint files for the GitHub action #32
Conversation
…s. So, I have made *_v2.3.chk, and *_v2.4.chk.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dear @kousuke-nakano,
I don't think the bug that I reported has been fixed. The source code of the PySCF converter has not been modified, which means that it is still incompatible with files prodiced by PySCF v.2.4. Is it a lot of effort to make it compatible with the latest PySCF?
I believe that we should execute different converter code depending on the PySCF version. That's the best way to make converter compatible with all versions of PySCF. Adapting CI is a workaround, not a solution to me.
Dear @q-posev, I believe it has been fixed. I have confirmed that the trexio converter works both with PySCF v2.3.0 and v2.4.0 (Of course, one should read a corresponding checkpoint file, *_v2.3.chk or *_v2.4.chk). The CI failed just because I have changed the checkpoint filenames. I do not think we have to modify the source code of the PySCF converter because the error comes from a line reading a PySCF checkpoint file, which does not affect the implementation of the PySCF converter. |
I must have misunderstood then, my bad. So what you are saying is that:
Is that correct? |
Maybe there is a way to detect the version of PySCF used to produce the |
Dear @q-posev
Yes, exactly!
You are right. Let me think about it. |
Dear @q-posev and @scemama, happy new year. Sorry for my long silence. I am back to work. I have noticed that Having PySCF v.2.3 installed in the environment and reading the .chk file produced by PySCF v.2.4 works. So, the simplest solution is to replace the old PySCF v.2.3 files with the ones produced by PySCF v.2.4. It works. The CI failed because the following two lines did not work
|
Dear @kousuke-nakano , Happy New Year! So from what I understand we now have:
@kousuke-nakano do you know what has changed between 2.3 and 2.4 in @scemama the ORCA or PySCF spherical->cartesian conversion fails in the CI following recent additions introduced by @joguenzl in MR #30 . Basically, we now always attempt to read |
To my understanding, I think it would thus make sense to set |
Dear @q-posev
I do not think they have changed the format between 2.3 and 2.4. The error we found seems a bug in PySCF <= v2.3, where False is stored as false. I am not sure why this error was not problematic in the previous version...
Anyway, since the format is not changed, we can safely use the |
I fixed the basis_r_power issue in #33 |
@kousuke-nakano if it crashes, then it means that PySCF changes smth in the way they read the CHK files. So basically if the file came from <=2.3 - the user would need to downgrade their PySCF version... Otherwise, we are good. I will think if there is better solution. @scemama do we want to fix it at the Q-Chem code converter level? PySCF converter does not write the |
@q-posev I agree with @joguenzl that we should always write |
Dear @kousuke-nakano , We fixed issues with Could you please merge changes from the |
Dear @q-posev, OK! This MR is green! |
@kousuke-nakano thanks for the update! I will merge this MR after #33. |
We have found a backward incompatibility of the PySCF checkpoint files. So, I have made
*_v2.3.chk
, and*_v2.4.chk
.Dear @q-posev, do you think if we can insert some if~else sentences depending on an installed PySCF version in the
test.yml
?Kosuke Nakano
EP