[CP2K-user] [CP2K:17899] Help with old tutorial

Eric Patterson eric.v.patterson at gmail.com
Tue Oct 18 15:41:24 UTC 2022


Hello all,

I am trying to reproduce the tutorial found here 
https://www.cp2k.org/exercises:2014_ethz_mmm:infra_red

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.

Namely, I changed 
 IF (INDEX(line,' DIPOLE [Non Periodic] DERIVATIVE(A.U.)|').NE.0) THEN
to
 IF (INDEX(line,'Derivative [a.u.]').NE.0) THEN
but I think I simply don't know what I'm doing...

Does anyone have a hint or re-worked version of this tutorial that works 
for the most recent releases?

Thanks,
Eric


-- 
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/8bbdd97f-0d09-434a-b17c-ce1b7ffd21a4n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20221018/d330652e/attachment.htm>


More information about the CP2K-user mailing list