<div>Dear Mr. Hütter,</div><div><br /></div><div>thanks for your support, with the PBE-D3 functional the CP2K version indeed was the issue.</div><div>With the 2024.1 version the input runs without problem.</div><div><br /></div><div>Kind regards</div><div>Jakob<br /></div><br /><div class="gmail_quote"><div dir="auto" class="gmail_attr">Jürg Hutter schrieb am Dienstag, 10. September 2024 um 15:00:56 UTC+2:<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 can run your input (slightly adapted, but essentially the same) without problems.
<br>
<br> Potential energy (Atomic):                                   -867.8891545970548
<br> Potential energy (Total) :                                   -867.8891476822960
<br> Difference               :                                      0.0000069147588
<br>
<br>This is the current TRUNK version (similar to 2024.3) with the Gnu compiler.
<br>
<br>If you want to make a quick check, use a smaller system with the same options and run
<br>it with your current version and with a precompiled new version. (<a href="https://github.com/cp2k/cp2k/releases/tag/v2024.2" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=de&q=https://github.com/cp2k/cp2k/releases/tag/v2024.2&source=gmail&ust=1726127718659000&usg=AOvVaw04ANSsL6ImXXoxTOo_sMOj">https://github.com/cp2k/cp2k/releases/tag/v2024.2</a>)
<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 Jakob Brauer <<a href data-email-masked rel="nofollow">jakob.br...@gmail.com</a>>
<br>Sent: Tuesday, September 10, 2024 2:34 PM
<br>To: cp2k
<br>Subject: Re: [CP2K:20683] Atomic energies
<br>
<br>Dear Mr. Hütter,
<br>
<br>Thanks a lot for the quick reply. I now understand the error.
<br>
<br>Following your advice I switched from the rev-vdW-DF2 functional to PBE-D3. Again I end up with the same error and a difference of around 70 Hartree between the sum of atomic energies and the total energy. Removing the D3 correction does not affect the outcome (see attached inputs and log files) in both cases the difference stays the same. I suspected that the periodicity might be an issue, so I tried the input (with the piosson wavelet solver) on a molecule in the gasphase but the issue remains, the sum of atomic energies is less (well, a smaller negative number) than the total energy.
<br>
<br>Is there documentation for which kind of methods this is available?
<br>
<br>Kind regards and best wishes
<br>JaBr
<br>
<br>Jürg Hutter schrieb am Dienstag, 10. September 2024 um 11:38:56 UTC+2:
<br>Hi
<br>
<br>atomic energies are not implemented with all features available. If at the end
<br>of the calculation the sum of atomic energies is not equal to the calculated
<br>total energy, CP2K will stop with the error message you see.
<br>In your case, the nonlocal vdW functional is the problem. Atomic energies for
<br>these types of functionals are not available.
<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 Jakob Brauer <<a href data-email-masked rel="nofollow">jakob.br...@gmail.com</a>>
<br>Sent: Tuesday, September 10, 2024 10:32 AM
<br>To: cp2k
<br>Subject: [CP2K:20679] Atomic energies
<br>
<br>Dear all,
<br>
<br>I want to run an AIMD simulation and have the forces of the atoms and the atomic energies printed at each MD step. To do that I am using the input section:
<br>&FORCE_EVAL
<br>...
<br>&PROPERTIES
<br>&ATOMIC
<br>ENERGY TRUE
<br>&END ATOMIC
<br>&END PROPERTIES
<br>...
<br>&END FORCE_EVAL
<br>
<br>The AIMD runs smoothly without the properties block I showed above. When I add this properties block, the calculation fails after the first SCF is coverged and the atomic forces are printed with "CPASSERT failed". The last thing that is printed after the atomic forces is:
<br>Potential energy (Atomic): -797.3284106239240
<br>Potential energy (Total) : -868.7310139775017
<br>Difference : 71.4026033535777
<br>
<br>*******************************************************************************
<br>* ___ *
<br>* / \ *
<br>* [ABORT] *
<br>* \___/ CPASSERT failed *
<br>* | *
<br>* O/| *
<br>* /| | *
<br>* / \ force_env_methods.F:430 *
<br>*******************************************************************************
<br>
<br>
<br>===== Routine Calling Stack =====
<br>
<br>2 qs_mol_dyn_low
<br>1 CP2K
<br>
<br>I have attached my input, the xyzfile and the logfile. The problem seems to be version independent, since I have tested it with version 2023.1, 2023.2 and 2024.1.
<br>
<br>Any help would be greatly appreciated!
<br>Best wishes and kind regards
<br>Jakob
<br>
<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 on the web visit <a href="https://groups.google.com/d/msgid/cp2k/e6cebe98-dd42-49ec-b2c5-bc8874114d4fn%40googlegroups.com" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=de&q=https://groups.google.com/d/msgid/cp2k/e6cebe98-dd42-49ec-b2c5-bc8874114d4fn%2540googlegroups.com&source=gmail&ust=1726127718659000&usg=AOvVaw3ac0gGGEAHOxeYeA9lsvKM">https://groups.google.com/d/msgid/cp2k/e6cebe98-dd42-49ec-b2c5-bc8874114d4fn%40googlegroups.com</a><<a href="https://groups.google.com/d/msgid/cp2k/e6cebe98-dd42-49ec-b2c5-bc8874114d4fn%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=de&q=https://groups.google.com/d/msgid/cp2k/e6cebe98-dd42-49ec-b2c5-bc8874114d4fn%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1726127718659000&usg=AOvVaw3tAJQOpc0QY0XzjNkqEXHW">https://groups.google.com/d/msgid/cp2k/e6cebe98-dd42-49ec-b2c5-bc8874114d4fn%40googlegroups.com?utm_medium=email&utm_source=footer</a>>.
<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 on the web visit <a href="https://groups.google.com/d/msgid/cp2k/e77334da-5f9a-4823-bf8a-14a7b0b31022n%40googlegroups.com" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=de&q=https://groups.google.com/d/msgid/cp2k/e77334da-5f9a-4823-bf8a-14a7b0b31022n%2540googlegroups.com&source=gmail&ust=1726127718659000&usg=AOvVaw2TpqHhcIJIOmYyMhQGm2GH">https://groups.google.com/d/msgid/cp2k/e77334da-5f9a-4823-bf8a-14a7b0b31022n%40googlegroups.com</a><<a href="https://groups.google.com/d/msgid/cp2k/e77334da-5f9a-4823-bf8a-14a7b0b31022n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=de&q=https://groups.google.com/d/msgid/cp2k/e77334da-5f9a-4823-bf8a-14a7b0b31022n%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1726127718659000&usg=AOvVaw0yh5lSTOAUSrQy23_c0QMo">https://groups.google.com/d/msgid/cp2k/e77334da-5f9a-4823-bf8a-14a7b0b31022n%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 on the web visit <a href="https://groups.google.com/d/msgid/cp2k/ef28c638-4d72-4963-aabc-1477ddf8c190n%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/ef28c638-4d72-4963-aabc-1477ddf8c190n%40googlegroups.com</a>.<br />