exercises:2016_ethz_mmm:infra_red
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
exercises:2016_ethz_mmm:infra_red [2016/05/18 14:24] – [Infrared spectroscopy with molecular dynamics] pshinde | exercises:2016_ethz_mmm:infra_red [2020/08/21 10:15] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
<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.1463581456.txt.gz · Last modified: 2020/08/21 10:15 (external edit)