Hello all,<div><br></div><div>I am trying to reproduce the tutorial found here <a href="https://www.cp2k.org/exercises:2014_ethz_mmm:infra_red">https://www.cp2k.org/exercises:2014_ethz_mmm:infra_red</a></div><div><br></div><div>Task 1 (harmonic frequency calculation) is fine. Task 2 (IR spectrum from dipole autocorrelation) goes fine for the first bit. I have no trouble creating the dipole.traj file that contains the dipole derivatives. However, it seems that formatting has changed between the time the tutorial was written and the current implementation of CP2K. The dipole_correlation.f90 program included I the tutorial files no longer works. I made what I thought was a logical change to the program to reflect the current labels, but I'm clearly doing something wrong as the resulting output looks nothing like an IR spectrum.</div><div><br></div><div>Namely, I changed </div><div> IF (INDEX(line,' DIPOLE [Non Periodic] DERIVATIVE(A.U.)|').NE.0) THEN<br></div><div>to</div><div> IF (INDEX(line,'Derivative [a.u.]').NE.0) THEN</div><div>but I think I simply don't know what I'm doing...</div><div><br></div><div>Does anyone have a hint or re-worked version of this tutorial that works for the most recent releases?</div><div><br></div><div>Thanks,</div><div>Eric</div><div><br></div><div><br></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "cp2k" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+unsubscribe@googlegroups.com">cp2k+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/8bbdd97f-0d09-434a-b17c-ce1b7ffd21a4n%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/8bbdd97f-0d09-434a-b17c-ce1b7ffd21a4n%40googlegroups.com</a>.<br />