You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cp2k
Dear CP2K Community,
I have not managed to find a keyword to print out the spin contamination for radicals. I've tried keywords which have been mentioned in various threads within this forum, but I've been unsuccessful. Is there a specific keyword or maybe it is available for only specific methods?
Best Regards,
Mario
Matt W
unread,
Dec 3, 2020, 9:15:15 AM12/3/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cp2k
By default you should get information of the form
Integrated absolute spin density : 1.2873281839
Ideal and single determinant S**2 : 0.750000 0.761094
at the end of a spin polarized SCF cycle. There is no spin purification or other methods available.
Matt
mario...@gmail.com
unread,
Dec 3, 2020, 9:23:36 AM12/3/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cp2k
Dear Matt,
Thank you for your anwser. That was my initial expectation as well, but for some reason my output does not contain the lines. I suspect that I am missing something in my input, would it be possible for your to go over it, I attached it with this post?
It is a methoxy radical (something simple to understand how the input works). I did try to add the "multiplicity" keyword as well, but it seems that it is not necessary for this specific system as the results are the same.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cp2k
Dear Matt and Juerg,
I tried both MEDIUM and HIGH print levels, it does not appear there. It is an interesting guess, because I do get a lot of warning messages with the higher print level which suggest that multiple operations are not implemented in semi-empirical calculations. I'll try the same input with another method to see if it works or not.
Best Regards,
Mario
mario...@gmail.com
unread,
Dec 3, 2020, 11:38:38 AM12/3/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cp2k
It seems that Juerg was right, it is not implemented for semi-empirical methods. The information about spin contamination became available right after I changed AM1 to the XC functional PBE.
Thank you both for your input. Would you think this is something the developers would be interested in adding in?
Best Regards,
Mario
mario...@gmail.com
unread,
Dec 4, 2020, 10:32:19 AM12/4/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cp2k
For anyone who reads this thread! It seems that it is possible to calculate the spin contamination value manually. One needs to include the eigenvectors into the CP2K output by adding the PRINT statement to the DFT block and print out the eigenvectors (https://manual.cp2k.org/cp2k-6_1-branch/CP2K_INPUT/FORCE_EVAL/DFT/PRINT/MO.html#EIGENVECTORS). I also specified the multiplicity of the calculation explicitly in the input.
The equation for the calculation of spin contamination is described here: https://en.wikipedia.org/wiki/Spin_contamination . And the eigenvectors are used to calculate the last term in the equation - I believe it is the sum of the overlap between the occupied alpha and beta orbitals. The overlap can be found by multiplying each alpha eigenvector with the corresponding beta eigenvector and then adding the results together.
I added an example of how to do it as an attachment.