[CP2K-user] [CP2K:18687] Error with Reftraj ensemble

Kit Joll kit at joll.org.uk
Thu Apr 20 16:19:49 UTC 2023


Dear All, 

I am reporting the same issue as someone else has found on github: 
https://github.com/cp2k/cp2k/issues/2704

*'In motion/integrator.F (line 1582 of the current master branch) there is 
a check to make sure the elements in the trajectory snapshots are 
consistent:*






*IF (element_symbol /= element_symbol_ref0) THENerrmsg = "Atomic 
configuration from trajectory file does not match the reference 
configuration: Check atom "// &TRIM(ADJUSTL(cp_to_string(i)))//" of step 
"//TRIM(ADJUSTL(cp_to_string(trj_itimes)))CPABORT(errmsg)END IF*

*If kinds in the .xyz reference trajectory are specified with aliases (e.g. 
O1 ) the variable 'element_symbol' will be 'O1' while 'element_symbol_ref0' 
will have the value of 'O', thus failing the check. Currently this 
completely hinders the use of element aliases with ensemble REFTRAJ.'*


The reftraj functionality with special kinds being applied to different 
species of every frame of a trajectory file for a QM calculation is key to 
my workflow, so any help working out how to get this working again would 
greatly appreciated!


I thought I had a quick fix by simply removing the check a recompiling, 
which seemed to be working, however, now I get spurious memeory errors - 
unsure if this is related to the code change or not.


Thank you for your time and help!


All the best,

Kit

-- 
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/56c47f6e-cfb3-4104-8b70-b3d2067a3299n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20230420/c424b3b2/attachment.htm>


More information about the CP2K-user mailing list