-
Notifications
You must be signed in to change notification settings - Fork 139
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
Fix: report error when fr-uspp used in linear calculations #4348
Conversation
Co-authored-by: kirk0830 <[email protected]>
There is still one thing I cannot understand. You can run with the following two pseudopotentials respectively:
|
Actually, I'm also confused about it. I speculate that it is related to the overlap matrix S. QE calculations about fr-uspp report the following error:
S matrix in ncpp is a unit matrix. Thus, it will not suffer the risk that the S matrix is not positive definite. However, fr-uspp may be at risk of instability in non-SOC computing, so QE directly prohibits this use in the code. However, as you mentioned in the issue, the fr uspp of the H element can be calculated normally, so this instability is not absolute. As for the theory, maybe @dyzheng knows something about it. |
I got some information from @dyzheng , it is because the |
Linked Issue
Fix #4342
Unit Tests and/or Case Tests for my changes
What's changed?