[CP2K-user] [CP2K:21571] Halogen correction and XTB file?

Andreas Döll andreasm.doell at gmail.com
Tue Jun 24 13:49:07 UTC 2025


Dear Cp2k community,

I want to calculate the RESP charges for a benzene ring with 2 Bromium 
atoms. Attached is my input script resp.inp, which worked so far for small 
molecules. However, I noticed that the magnitude of the partial charge is 
quite low for Br (q_i=-0.099), so I read up online and found that you need 
to include Halogen corrections to properly capture Br in particular, see 
the related paper Grimme 2017 from the cp2k website. In cp2k this is done 
via &XTB section and the USE_HALOGEN_CORRECTION keyword, correct?

I tried using the following section:

&XTB
                COULOMB_INTERACTION T
                TB3_INTERACTION F
                CHECK_ATOMIC_CHARGES F
                DO_EWALD  T
                USE_HALOGEN_CORRECTION T
                &PARAMETER
                        DISPERSION_PARAMETER_FILE dftd3.dat

                        PARAM_FILE_NAME xTB0_parameters
                &END PARAMETER
&END XTB

But there are multiple points where I am failing:

The most important point is that I need a xTB_parameters file, but the only 
file I could find in cp2k repository was the xTB0_parameters file which 
begins with $info and every time I include it in my script, it says that 
$info as variable is not defined. However, as far as I understand I need 
some kind of file for the corrections, or no? If so where can I get the 
correct file?

Second, am I even using the use_halogen_correction keyword correctly? In 
the end I want more realistic RESP charges for my molecule, especially on 
Bromium.

I am very unfamiliar with xtb, so probably this is a very basic question. 
If you have any other input, I appreciate it as well! I attach my molecule 
xyz file as well as every other file for testing.

Thank you very much in advance!

Sincerely, 
Andreas Doell

-- 
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 visit https://groups.google.com/d/msgid/cp2k/51bcff8d-699b-497a-bffb-28460c9fd2d5n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20250624/b1724d59/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linker_opt.xyz
Type: chemical/x-xyz
Size: 1189 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20250624/b1724d59/attachment-0001.xyz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: POTENTIAL
Type: application/octet-stream
Size: 1411 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20250624/b1724d59/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: resp.inp
Type: chemical/x-gamess-input
Size: 3346 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20250624/b1724d59/attachment-0001.inp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BASIS
Type: application/octet-stream
Size: 4481 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20250624/b1724d59/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xTB0_parameters
Type: application/octet-stream
Size: 39220 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20250624/b1724d59/attachment-0005.obj>


More information about the CP2K-user mailing list