Hi
1) The implemented xTB Hamiltonians don't have a spin dependence.
You will always get the same orbital energies for alpha and beta electrons.
2) Occupation of the orbital levels depends on a combination of input parameters.
a) No smearing: Number of alpha and beta electrons is determined from the Multiplicity keyword.
b) With smearing: default is a single Fermi energy and electrons are allowed to move from alpha
to beta. This is default because this is what most people want for DFT Mermin functional calculations.
If you want to keep the number of electrons to be fixed, you need to specify
FIXED_MAGNETIC_MOMENT 2
This together with a FD temperature of 300 is the default in tblite (if I'm correct).
Sent: Tuesday, June 9, 2026 7:23 AM
To: cp2k
Subject: Re: [CP2K:22273] Spin polarized calculation with xTB
Dear Jürg, Michael, Thomas,
Thank you for the answers. I use the master git branch, and the UKS tblite simply doesn't work as UKS. I hope to get a reply from someone who cares about tblite integration into CP2K just now.
But meanwhile, I do not understand the internal spin-dependent now. Please have a look at the attachment. I tried
Multiplicity=3 and got a strange result. There is no spin difference at the end!
And it has nothing to do with xTB; the same is for DFT PBE.
Only with OT do I get the expected result.
What do I not understand?
Thank you in advance,
Dmitry
Thomas Kühne schrieb am Dienstag, 9. Juni 2026 um 00:30:36 UTC+2:
Hi everybody,
there have been some recent new developments. In conjunction with tblite 0.6.0
CP2K now supports GFN2 for periodic systems incl. k-points and via analytic
gradients and stress tensor for RKS and UKS. Have a look at the recent preprint,
as well as the recent regtests and
https://github.com/DCM-Uni-Paderborn/Periodic-GFN2-Benchmarks
for representative sample inputs.
Greetings,
Thomas
<
https://chemrxiv.org/doi/abs/10.26434/chemrxiv.15003939/v1>
chemrxiv.org<
https://chemrxiv.org/doi/abs/10.26434/chemrxiv.15003939/v1>
[X]<
https://chemrxiv.org/doi/abs/10.26434/chemrxiv.15003939/v1>
Juerg Hutter Phone :
++41 44 635 4491<tel:+41%2044%20635%2044%2091><tel:+41%2044%20635%2044%2091>
Institut für Chemie C FAX :
++41 44 635 6838<tel:+41%2044%20635%2068%2038><tel:+41%2044%20635%2068%2038>
Juerg Hutter Phone :
++41 44 635 4491<tel:+41%2044%20635%2044%2091><tel:+41%2044%20635%2044%2091>
Institut für Chemie C FAX :
++41 44 635 6838<tel:+41%2044%20635%2068%2038><tel:+41%2044%20635%2068%2038>
To view this discussion visit
https://groups.google.com/d/msgid/cp2k/25710ec6-ea83-4356-80e3-69a6dfae4d27n%40googlegroups.com<
https://groups.google.com/d/msgid/cp2k/25710ec6-ea83-4356-80e3-69a6dfae4d27n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups "cp2k" group.
To view this discussion visit
https://groups.google.com/d/msgid/cp2k/bb989d03-22dd-4a73-9264-1a24d83d98a3n%40googlegroups.com<
https://groups.google.com/d/msgid/cp2k/bb989d03-22dd-4a73-9264-1a24d83d98a3n%40googlegroups.com?utm_medium=email&utm_source=footer>.