Replies: 1 comment
-
Merge from #443 We should update our autotest cases for:
Additional ContextWe also need to add more check items to existed cases, such as eigenvalues or band gaps. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Background
$ABACUS_PATH/tests/Integrate is an example of the stability test of the program.
The goal is to run all the code of the program through fast calculation, so as to detect whether there are bugs in the existing code and whether the newly added code will affect the calculation results of the existing code.
new test case norm
a. In the case of plane wave calculation, the efficiency of program can be optimized by reducing the number of K points (222) and "ecutwfc" parameter (20 Ry).
b. Atomic orbital base group can optimize program efficiency by reducing base group size (DZP), orbital radius truncation value (6 A.U.) and "ecutwfc" parameter (20-50ry).
c. We can set nstep =2 for relax/md/cell-relax examples, but if charge_extrap = second-order, we need nstep=3;
d. The plane wave example needs to set "seed = 1", which can generate the same random number seed of the initial wave function.
e. If the calculation example is not easy to converge, you can increase "ecutwfc" or k-points, or read in from the charge density close to convergence for further calculation. If all above can't help, set niter = 2, but be careful.
a. A blank space is required for result.ref, and the script needs the first parameter as the filename.
b. Note that the suffix in the INPUT should be named as autotest. Otherwise, the script cannot find the "running*" file.
c. If you need to add checks on any output, go ahead and modify the script.
Beta Was this translation helpful? Give feedback.
All reactions