exercises:2019_conexs_newcastle:ex2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
exercises:2019_conexs_newcastle:ex2 [2019/09/11 12:56] – [Linear-response TDDFT for XAS in CP2K: the XAS_TDP method] abussy | exercises:2019_conexs_newcastle:ex2 [2020/08/21 10:15] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 11: | Line 11: | ||
You can find documentation for the XAS_TDP method [[ http:// | You can find documentation for the XAS_TDP method [[ http:// | ||
- | **Remember** that the LR-TDDFT code is not yet included in the main CP2K code, hence you have to modify the `module load` line in the`cp2k.sh` file in order to load the correct version: | + | **Remember** that the LR-TDDFT code is not yet included in the main CP2K code, hence you have to modify the '' |
< | < | ||
module load CP2K/ | module load CP2K/ | ||
</ | </ | ||
+ | |||
+ | To make sure you are using the proper version, type '' | ||
===== Part 1: the standard workflow ===== | ===== Part 1: the standard workflow ===== | ||
Line 138: | Line 140: | ||
</ | </ | ||
- | Download this input and place it into your working directory. Make sure that the '' | + | Download this input and place it into your working directory. Make sure that the '' |
< | < | ||
- | cp2k.sopt -i part1_gs.inp -o part1_gs.out & | + | sbatch |
</ | </ | ||
Line 246: | Line 248: | ||
</ | </ | ||
- | You can download/ | + | You can download/ |
- | + | ||
- | < | + | |
- | cp2k.sopt -i part1_check.inp -o part1_check.out & | + | |
- | </ | + | |
Once the calculation is over, open '' | Once the calculation is over, open '' | ||
- | We are not, because the Aluminium atoms are equivalent under symmetry and the 2 lowest energy MOs will be arbitrary linear combinations of the 1s states. To get the needed donor state quality, uncomment the LOCALIZE keyword in the input file and rerun. | + | **No**, we are not, because the Aluminium atoms are equivalent under symmetry and the 2 lowest energy MOs will be arbitrary linear combinations of the 1s states. To get the needed donor state quality, uncomment the LOCALIZE keyword in the input file and rerun. |
Line 364: | Line 362: | ||
</ | </ | ||
- | You can run this XAS calculation the usual way: | + | You can run this XAS calculation the usual way. |
- | + | ||
- | < | + | |
- | cp2k.sopt -i part1_xas.inp -o part1_xas.out & | + | |
- | </ | + | |
Note that again, the program reuses the previous ground state calculation. The spectral data can be found in the '' | Note that again, the program reuses the previous ground state calculation. The spectral data can be found in the '' | ||
- | If you wish, you can plot the XANES spectrum using this [[https:// | + | If you wish, you can plot the XANES spectrum using this [[https:// |
< | < | ||
Line 515: | Line 509: | ||
where $P_{pq}$ is the density matrix, $\varphi_p, | where $P_{pq}$ is the density matrix, $\varphi_p, | ||
- | With the keyword NPROCS_GRID set to 4, you can run the calculation on 8 cores and have simultaneous integration of the XC kernel for both Al atoms using all available resources: | + | With the keyword NPROCS_GRID set to 4, you can run the calculation on 8 cores and have simultaneous integration of the XC kernel for both Al atoms using all available resources. cp2k.popt -i hybrid.inp -o hybrid.out & |
- | + | ||
- | < | + | |
- | mpirun -n 8 cp2k.popt -i hybrid.inp -o hybrid.out & | + | |
</ | </ | ||
exercises/2019_conexs_newcastle/ex2.1568206573.txt.gz · Last modified: 2020/08/21 10:15 (external edit)