exercises:2016_ethz_mmm:infra_red
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
exercises:2016_ethz_mmm:infra_red [2016/02/03 09:54] – external edit 127.0.0.1 | exercises:2016_ethz_mmm:infra_red [2020/08/21 10:15] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Infrared spectroscopy with molecular dynamics ====== | ====== Infrared spectroscopy with molecular dynamics ====== | ||
- | In this exercise we will compare the vibrational spectrum of two molecules (methanol and benzene) computed with a static method (diagonalization of the dynamical matrix) and with molecular dynamics. The spectra for methanol are available in this paper [[doi> | + | In this exercise, we will compare the vibrational spectrum of two molecules (methanol and benzene) computed with a static method (diagonalization of the dynamical matrix) and with molecular dynamics. The spectra for methanol are available in this paper [[doi> |
<note tip> | <note tip> | ||
- | You should run these calculations on 16 nodes with '' | + | You should run these calculations on 16 processors |
Download, as usual, the **commented** files from the wiki {{exercise-10.1.tar.gz|}}. | Download, as usual, the **commented** files from the wiki {{exercise-10.1.tar.gz|}}. | ||
Please use command | Please use command | ||
Line 10: | Line 10: | ||
===== 1. Task: Computing vibrational spectra for methanol and benzene ===== | ===== 1. Task: Computing vibrational spectra for methanol and benzene ===== | ||
- | To compute the vibrational spectra, we need to first find a minimum energy structure for the systems. | + | < |
+ | $ bsub -n 2 mpirun cp2k.popt -i mdmet.inp -o mdmet.out | ||
+ | </ | ||
+ | |||
+ | To compute the vibrational spectra, we first need to find a minimum energy structure for the systems. | ||
< | < | ||
Line 24: | Line 28: | ||
</ | </ | ||
- | <note warning> | + | <note warning> |
</ | </ | ||
Line 30: | Line 34: | ||
NPROC_REP has to be the same number of processors as in the bsub!! Edit the input!! | NPROC_REP has to be the same number of processors as in the bsub!! Edit the input!! | ||
</ | </ | ||
- | For the intensities, | + | |
+ | < | ||
+ | $ bsub -n 16 mpirun cp2k.popt -i vibmet.inp -o vibmet.out | ||
+ | </ | ||
+ | |||
+ | For the intensities, | ||
< | < | ||
& | & | ||
Line 66: | Line 75: | ||
You will find a fortran program in the repository, called ** dipole_correlation.f90 ** | You will find a fortran program in the repository, called ** dipole_correlation.f90 ** | ||
- | Compile it (module load gcc; gfortran -o dipole.x dipole_correlation.f90 ). This program computes the correlation function of the (derivative of) the dipole moment, and performs | + | Compile it (module load gcc; gfortran -o dipole.x dipole_correlation.f90 ). This program computes the correlation function of the (derivative of) the dipole moment and performs the Fourier transform. |
Run ** cp2k ** with the ** md*.inp ** input files (for the two molecules). Note that the dipole moment and derivatives are extracted from simulation and saved in a file dip*traj (check the input). Run first 5000 steps, then edit the file dipole.in | Run ** cp2k ** with the ** md*.inp ** input files (for the two molecules). Note that the dipole moment and derivatives are extracted from simulation and saved in a file dip*traj (check the input). Run first 5000 steps, then edit the file dipole.in |
exercises/2016_ethz_mmm/infra_red.1454493256.txt.gz · Last modified: 2020/08/21 10:15 (external edit)