<p dir="ltr" style="line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 10.5pt; font-family: Roboto, sans-serif; color: rgb(32, 33, 36); background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline; white-space-collapse: preserve;">Dear Dr. Konôpka, dear Prof. Hutter, </span></p><br /><p dir="ltr" style="line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 10.5pt; font-family: Roboto, sans-serif; color: rgb(32, 33, 36); background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline; white-space-collapse: preserve;">thank you very much for the helpful hints! After additional tests with the plane wave Sirius implementation, I could find the following answers:</span></p><br /><p dir="ltr" style="line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 10.5pt; font-family: Roboto, sans-serif; color: rgb(32, 33, 36); background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline; white-space-collapse: preserve;">1) In the case of pure S the problem was really in the basis. So with Sirius, it was possible to get an immediate agreement. When I picked TZV2PX, I got the agreement with Quickstep too.</span></p><br /><p dir="ltr" style="line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 10.5pt; font-family: Roboto, sans-serif; color: rgb(32, 33, 36); background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline; white-space-collapse: preserve;">2) In the case of MoS2, where I initially checked the convergence of the basis, it turned out to have no significant impact. </span></p><p dir="ltr" style="line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 10.5pt; font-family: Roboto, sans-serif; color: rgb(32, 33, 36); background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline; white-space-collapse: preserve;">However, in further tests I noticed a difference in the electrostatic energies. To reproduce the results from CP2K in CPMD, it turned out to be necessary to increase the number of additional supercells included in the real space sum for the Ewald term (the TESR was zero by default).</span></p><br /><p dir="ltr" style="line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 10.5pt; font-family: Roboto, sans-serif; color: rgb(32, 33, 36); background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline; white-space-collapse: preserve;">Best regards,</span></p><p dir="ltr" style="line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 10.5pt; font-family: Roboto, sans-serif; color: rgb(32, 33, 36); background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline; white-space-collapse: preserve;">Nikita</span></p><br /><br /><div class="gmail_quote"><div dir="auto" class="gmail_attr">понедельник, 31 марта 2025 г. в 13:05:04 UTC+3, Jürg Hutter: <br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi
<br>
<br>I see (or guess) two possible problems:
<br>
<br>1) The GTH PP for S from CPMD is not good. You could check this by running that PP in CP2K.
<br>2) GTH PP in CPMD need a high cutoff. Your CPMD(GTH) calculation is not yet converged?
<br>
<br>regards
<br>JH
<br>
<br>________________________________________
<br>From: <a href data-email-masked rel="nofollow">cp...@googlegroups.com</a> <<a href data-email-masked rel="nofollow">cp...@googlegroups.com</a>> on behalf of Fominykh Nikita <<a href data-email-masked rel="nofollow">nikfo...@gmail.com</a>>
<br>Sent: Friday, March 28, 2025 6:13 PM
<br>To: cp2k
<br>Subject: [CP2K:21309] MoS2 in CP2K and CPMD: identical models give different results
<br>
<br>Dear colleagues,
<br>
<br>I am comparing the MoS2 model with the PBE xc-functional in CP2K and CPMD with the same GTH pseudopotential. I have found some strange discrepancies.
<br>
<br>For comparison, I calculate energy differences while changing the lattice constant in the xy-plane (compression and tension). In these tests I use Gamma point only. Please see 3 plots with the Energy-vs-Strain attached.
<br>
<br>1) First, let us consider the bulk MoS2 in the 2H structure. CP2K and CPMD with the same GTH pseudopotential give different results. Other CPMD calculations with the ‘CPMD-native’ GTH model and the CPMD MT pseudopotential give similar results to CPMD-withGTHcp2k. Interestingly, VASP results are very close to CP2K.
<br>
<br>In order to decipher the puzzle, I have made calculations for pure Mo and for pure S.
<br>
<br>2) For the bcc Mo structure all the codes with different pseudopotentials give very close results.
<br>
<br>3) However, for the S6 structure of sulphur, the CPMD-withGTHcp2k and CPMD-withMT results agree well with VASP, but do not match CP2K. And the CPMD results for its ‘native’ GTH model show a significant offset.
<br>
<br>I also tried changing energy cutoffs, enabling various k-meshes, and enlarging the cell, however I couldn’t find the possible reasons for these discrepancies in CP2K and CPMD with the same GTH pseudopotential of MoS2 and for S6.
<br>
<br>There are example files for these comparisons attached.
<br>
<br>Please let me know your best judgement about the possible roots of these discrepancies.
<br>
<br>Best regards,
<br>Nikita
<br>
<br>--
<br>You received this message because you are subscribed to the Google Groups "cp2k" group.
<br>To unsubscribe from this group and stop receiving emails from it, send an email to <a href data-email-masked rel="nofollow">cp2k+uns...@googlegroups.com</a><mailto:<a href data-email-masked rel="nofollow">cp2k+uns...@googlegroups.com</a>>.
<br>To view this discussion visit <a href="https://groups.google.com/d/msgid/cp2k/79e3b838-3ca5-4f31-a606-dbf12dec50cen%40googlegroups.com" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=ru&q=https://groups.google.com/d/msgid/cp2k/79e3b838-3ca5-4f31-a606-dbf12dec50cen%2540googlegroups.com&source=gmail&ust=1743521720247000&usg=AOvVaw05omw4PFEbxDHs5FWmLTGV">https://groups.google.com/d/msgid/cp2k/79e3b838-3ca5-4f31-a606-dbf12dec50cen%40googlegroups.com</a><<a href="https://groups.google.com/d/msgid/cp2k/79e3b838-3ca5-4f31-a606-dbf12dec50cen%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=ru&q=https://groups.google.com/d/msgid/cp2k/79e3b838-3ca5-4f31-a606-dbf12dec50cen%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1743521720247000&usg=AOvVaw0TjrPMMbODEkKBQHPW7NJD">https://groups.google.com/d/msgid/cp2k/79e3b838-3ca5-4f31-a606-dbf12dec50cen%40googlegroups.com?utm_medium=email&utm_source=footer</a>>.
<br></blockquote></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "cp2k" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+unsubscribe@googlegroups.com">cp2k+unsubscribe@googlegroups.com</a>.<br />
To view this discussion visit <a href="https://groups.google.com/d/msgid/cp2k/1aba6da8-159f-4551-ab90-9c5334787862n%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/1aba6da8-159f-4551-ab90-9c5334787862n%40googlegroups.com</a>.<br />