Waiting for init_wfc auto option to solve the bug below
Describe the bug
After #3140 , We can use init_wfc file and init_chg file when the file is not exist, ABACUS will skip the reading process and do calculation. But in the 3.7.0 version, the wavefunction part have problem and cannot skip properly:
Read in wave functions files: 8
Can't find the wave function file: WFC_NAO_K1.txt
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
NOTICE
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Failed to read in wavefunction.
CHECK IN FILE : OUT.ABACUS/warning.log
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
NOTICE
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
TIME STATISTICS
while the charge part maintained.
START CHARGE : file
WARNING: Failed to read charge density from file. Possible reasons:
- not found: The default directory of SPIN1_CHG.cube is OUT.suffix,
or you must set read_file_dir to a specific directory.
- parameter mismatch: check the previous warning.
Use atomic initialization instead.
DONE(13.1617 SEC) : INIT SCF
* * * * * *
<< Start SCF iteration.
Expected behavior
The init_wfc file function should work like init_chg file , when the wavefunction file not exist, the init part should skip back to atomic.
To Reproduce
Run with init_wfc file
No response
Environment
ABACUS 3.7.0 Commit: a339356 (Thu Jun 27 16:40:42 2024 +0800)
installed by Intel-toolchain
Hardware: intel-8358
Waiting for
init_wfc autooption to solve the bug belowDescribe the bug
After #3140 , We can use
init_wfc fileandinit_chg filewhen the file is not exist, ABACUS will skip the reading process and do calculation. But in the 3.7.0 version, the wavefunction part have problem and cannot skip properly:while the charge part maintained.
Expected behavior
The
init_wfc filefunction should work likeinit_chg file, when the wavefunction file not exist, the init part should skip back to atomic.To Reproduce
Run with
init_wfc fileNo response
Environment
ABACUS 3.7.0 Commit: a339356 (Thu Jun 27 16:40:42 2024 +0800)
installed by Intel-toolchain
Hardware: intel-8358