-
Notifications
You must be signed in to change notification settings - Fork 145
Fix: optimize the IO of lcao-wfc and charge #3264
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
Conversation
init_wfc == "file "
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.
Thanks! It will fix #2975 and helps a lot
@maki49 Could the |
init_wfc == "file "
Done. |
I've directly tested this branch, the lcao-wfc part have no running problem, but when setting
may need more refinements. |
I've fixed it, does this problem still exist now? |
Fixed |
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.
Worked well.
If wavefunction/charge extrapolation by analysis the new input STRU and old wfc/chg file can be done, the efficiency for outer interface using ABACUS will be improved more. I'll pay some attention on it.
@kirk0830 Could you review and merge it ? |
The ABACUS directly from this branch have much low efficiency in SCF of ferromagnetic system than ABACUS commit 573b6ea, but this IO should not have any efficiency change. I'll have more test after merged. |
The latest abacus branch have no problem. The performance tests should be done after merged |
No problem now |
Can |
CANNOT I tried
from the stdout, the wavefunction file can not be read,
For reading wavefunction and charge file do |
OK, do we need to read wfc and charge together to do scf now in spin 1 and 2? Can we read wfc only? |
From my test in nspin=2 calculation, set
and
have the SAME effect. the charge file SPIN*.cube will be read in the latter setting, but the |
As #2975 . read wfc (or charge file) to do scf calculation can make ABACUS more efficient if using interface like ASE to do optimization or NEB calculation. This file can be iteratively read when ASE do each ionic step. Of course it is better if wavefunction extrapolation can be done when the STRU of read wfc/charge file in last ionic step and the STRU in this ionic step have some difference. I'll focus on it later |
OK, I have no other questions. Thanks for your reply. |
Sorry, by the way, can we do the |
in same KPT calculation of |
One warning generated in compile process:
But it seems not a huge problem |
@hongriTianqi I tested the example: Si bulk with 8 atoms, KPT is TDOS below, left from nscf with wfc , right from scf and nscf with charge PDOS below, left from nscf with wfc , right from scf and nscf with charge |
@QuantumMisaka Thanks. Then ISSUE #1235 is still not solved. We may keep it open. |
Fix #2975