howto:running_qe_computation
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| howto:running_qe_computation [2019/08/19 11:44] – [Molecular dynamics] mtaillefumier | howto:running_qe_computation [2021/12/08 10:18] (current) – mtaillefumier | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== How to run calculations like Quantum ESPRESSO ====== | ||
| + | |||
| + | |||
| ===== Introduction ===== | ===== Introduction ===== | ||
| Line 8: | Line 11: | ||
| An other popular program for plane wave DFT is [[http:// | An other popular program for plane wave DFT is [[http:// | ||
| SIRIUS. We will consider the simple case of silicium doped with germanium and | SIRIUS. We will consider the simple case of silicium doped with germanium and | ||
| - | show how to convert a QE input file to cp2k input file. Files for this tutorial can be found [[https:// | + | show how to convert a QE input file to cp2k input file. Files for this tutorial can be found [[https:// |
| === Word of caution with the pseudo-potential files === | === Word of caution with the pseudo-potential files === | ||
| Line 35: | Line 38: | ||
| / | / | ||
| &system | &system | ||
| - | ibrav=0, celldm(1)=1, | + | ibrav=0, celldm(1)=1, |
| - | ecutrho = 300, occupations = ' | + | ecutrho = 400, occupations = ' |
| smearing = ' | smearing = ' | ||
| nat=8 ntyp=2 | nat=8 ntyp=2 | ||
| Line 77: | Line 80: | ||
| | | ||
| | | ||
| - | | + | |
| - | | + | |
| | | ||
| | | ||
| Line 199: | Line 202: | ||
| for cp2k input file. Note the presence of the keyword '' | for cp2k input file. Note the presence of the keyword '' | ||
| which indicates that cp2k should treat the coordinates as given in the lattice | which indicates that cp2k should treat the coordinates as given in the lattice | ||
| - | basis. Putting these two sections together, we have | + | basis. **The coordinates do not have to be given in the lattice basis, any format supported by cp2k will work**. Putting these two sections together, we have |
| < | < | ||
| Line 326: | Line 329: | ||
| ^ QE input ^ CP2K input ^ | ^ QE input ^ CP2K input ^ | ||
| |< | |< | ||
| - | ecutwfc=30 | + | ecutwfc=25 |
| - | ecutrho = 300 | + | ecutrho = 400 |
| </ | </ | ||
| & | & | ||
| Line 334: | Line 337: | ||
| & | & | ||
| | | ||
| - | | + | |
| - | | + | |
| &END PARAMETERS | &END PARAMETERS | ||
| &END PW_DFT | &END PW_DFT | ||
| Line 348: | Line 351: | ||
| & | & | ||
| | | ||
| - | | + | |
| - | | + | |
| | | ||
| | | ||
| Line 417: | Line 420: | ||
| ^ QE keyword ^ CP2K (SIRIUS) keyword | ^ QE keyword ^ CP2K (SIRIUS) keyword | ||
| | nspins = 1, 2 | NUM_MAG_DIMS = 0, 1 | PW_DFT/ | | nspins = 1, 2 | NUM_MAG_DIMS = 0, 1 | PW_DFT/ | ||
| - | | nocolin = true | NUM_MAG_DIMS = 2 | PW_DFT/ | + | | nocolin = true | NUM_MAG_DIMS = 3 | PW_DFT/ |
| | electron_maxstep | NUM_DFT_ITER | PW_DFT/ | | electron_maxstep | NUM_DFT_ITER | PW_DFT/ | ||
| | mixing_beta | beta| PW_DFT/ | | mixing_beta | beta| PW_DFT/ | ||
| Line 431: | Line 434: | ||
| Energy | Energy | ||
| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| - | valence_eval_sum | + | valence_eval_sum |
| - | < | + | < |
| - | < | + | < |
| < | < | ||
| - | < | + | < |
| - | one-electron contribution : -81.39606791 | + | one-electron contribution : -81.17469111 |
| - | hartree contribution | + | hartree contribution |
| - | xc contribution | + | xc contribution |
| - | ewald contribution | + | ewald contribution |
| PAW contribution | PAW contribution | ||
| - | Total energy | + | Total energy |
| - | band gap (eV) : 0.36618436 | + | band gap (eV) : 0.34564591 |
| - | Efermi | + | Efermi |
| - | iteration : | + | iteration : |
| - | converged after 11 SCF iterations! | + | converged after 12 SCF iterations! |
| - | + | ||
| - | | + | |
| + | | ||
| </ | </ | ||
| Line 472: | Line 474: | ||
| | | ||
| | | ||
| - | | + | |
| - | | + | |
| | | ||
| | | ||
| Line 551: | Line 553: | ||
| you should obtain a file '' | you should obtain a file '' | ||
| - | {{:howto:si7ge-md.png|}}< | + | {{:howto:cp2k-sirius-md.png|}} |
| + | The total energy | ||
| + | * Indicating the same cutoff does not warranty the fft grid size. | ||
| + | * QE and SIRIUS treat the radial integrals interpolation differently | ||
| + | * The functional in QE do not use libxc by default, while CP2K/SIRIUS does. | ||
| + | * The minimization method is sensitive to the initial states. | ||
| + | For all these reasons, we should not try to compare results at the binary level. | ||
howto/running_qe_computation.1566215084.txt.gz · Last modified: (external edit)
