exercises:2017_uzh_cp2k-tutorial:gw
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| exercises:2017_uzh_cp2k-tutorial:gw [2017/07/04 07:54] – [5. Cubic-scaling GW calculations] jwilhelm | exercises:2017_uzh_cp2k-tutorial:gw [2022/10/31 14:33] (current) – oschuett | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | <note warning> | ||
| + | |||
| ====== GW method for computing electronic levels ====== | ====== GW method for computing electronic levels ====== | ||
| Line 172: | Line 174: | ||
| For periodic GW calculations, | For periodic GW calculations, | ||
| - | The basis can be found in {{exercises: | + | The basis can be found in {{exercises: |
| <code - LiH_periodic.inp> | <code - LiH_periodic.inp> | ||
| Line 270: | Line 272: | ||
| Cubic-scaling GW calculations could be a more efficient alternative for large systems. See below an exemplary input for one water molecule. Compare the results to the ones from Sec. 1. In general, small deviations (< 0.05 eV) for GW levels can be expected from cubic-scaling GW calculations compared to canonical GW calculations due to additional approximations in cubic-scaling GW. | Cubic-scaling GW calculations could be a more efficient alternative for large systems. See below an exemplary input for one water molecule. Compare the results to the ones from Sec. 1. In general, small deviations (< 0.05 eV) for GW levels can be expected from cubic-scaling GW calculations compared to canonical GW calculations due to additional approximations in cubic-scaling GW. | ||
| - | Please observe that the input below is much slower than the input for canonical GW. Therefore, it can be benefitial | + | Please observe that the input below is much slower than the input for canonical GW. Therefore, it can be beneficial |
| <code - H2O_GW100_cubic_scaling.inp> | <code - H2O_GW100_cubic_scaling.inp> | ||
| Line 277: | Line 279: | ||
| &DFT | &DFT | ||
| ! retrieve basis set from the CP2K trunk version | ! retrieve basis set from the CP2K trunk version | ||
| - | BASIS_SET_FILE_NAME | + | BASIS_SET_FILE_NAME |
| POTENTIAL_FILE_NAME POTENTIAL | POTENTIAL_FILE_NAME POTENTIAL | ||
| &MGRID | &MGRID | ||
| Line 316: | Line 318: | ||
| ! in imag. time and frequency | ! in imag. time and frequency | ||
| MINIMAX | MINIMAX | ||
| - | ! If the HOMO-LUMO gap of the system is small, | + | ! If the HOMO-LUMO gap of the system is small, |
| - | ! points for the time/ | + | ! points for the time/ |
| ! (flag RPA_NUM_QUAD_POINTS). The time and frequency grid | ! (flag RPA_NUM_QUAD_POINTS). The time and frequency grid | ||
| ! are equally large. The maximum grid size is 20. | ! are equally large. The maximum grid size is 20. | ||
| - | ! In principle, the grid size is a convergence parameter | + | ! For large-gap systems (as the water molecule), |
| - | ! but for many large-gap systems (as the water molecule), | + | ! should be sufficient |
| - | ! convergence of this grid is hard to achieve due to | + | |
| - | ! numerical instabilities. | + | |
| RPA_NUM_QUAD_POINTS | RPA_NUM_QUAD_POINTS | ||
| ! imaginary time flag enables cubic-scaling RPA or | ! imaginary time flag enables cubic-scaling RPA or | ||
| Line 329: | Line 329: | ||
| IM_TIME | IM_TIME | ||
| & | & | ||
| + | ! EPS_FILTER_IM_TIME should be tuned for the specific | ||
| + | ! application: | ||
| + | ! depends on EPS_FILTER | ||
| EPS_FILTER_IM_TIME 1.0E-12 | EPS_FILTER_IM_TIME 1.0E-12 | ||
| - | ! for large systems, increase GROUP_SIZE_3C | + | ! for large systems, increase GROUP_SIZE_3C |
| - | ! to run out of memory (OOM) | + | ! to prevent |
| GROUP_SIZE_3C 1 | GROUP_SIZE_3C 1 | ||
| ! for extremely large systems, increase GROUP_SIZE_P | ! for extremely large systems, increase GROUP_SIZE_P | ||
| - | ! not to run OOM | + | ! to prevent |
| ! for very large systems, it is also recommended | ! for very large systems, it is also recommended | ||
| - | ! to use OMP threads | + | ! to use OMP threads to prevent |
| GROUP_SIZE_P 1 | GROUP_SIZE_P 1 | ||
| + | ! for larger systems, MEMORY_CUT must be increased | ||
| + | ! to prevent out of memory (OOM) | ||
| + | MEMORY_CUT | ||
| GW | GW | ||
| &END IM_TIME | &END IM_TIME | ||
exercises/2017_uzh_cp2k-tutorial/gw.1499154854.txt.gz · Last modified: (external edit)
