[CP2K-user] [CP2K:15121] inconsistent analytical stress tensor in cp2k mpi runs

Krack Matthias (PSI) matthi... at psi.ch
Tue Apr 13 08:27:47 UTC 2021


Hi Severin

Thanks for testing. So it looks like a bug which appears when the LONG_RANGE_CORRECTION is enabled for DFT-D3 which is fortunately not the default. I have filed that bug as issue #1462<https://github.com/cp2k/cp2k/issues/1462>. Thanks for reporting.

Best regards

Matthias

Von: cp... at googlegroups.com <cp... at googlegroups.com> Im Auftrag von Severin Sylla
Gesendet: Dienstag, 13. April 2021 10:10
An: cp2k <cp... at googlegroups.com>
Betreff: Re: [CP2K:15121] inconsistent analytical stress tensor in cp2k mpi runs

Hi Matthias,

Thanks for your reply. The inconsistency disappears when I disable LONG_RANGE_CORRECTION.

Kind regards,
Severin

Matthias Krack schrieb am Montag, 12. April 2021 um 19:50:17 UTC+2:
Hi Severin

Do you observe the same behavior with LONG_RANGE_CORRECTION disabled?

Best regards

Matthias

Von: c... at googlegroups.com <c... at googlegroups.com> Im Auftrag von Severin Sylla
Gesendet: Montag, 12. April 2021 17:28
An: c... at googlegroups.com
Betreff: [CP2K:15117] inconsistent analytical stress tensor in cp2k mpi runs

Dear cp2k community,

I am calculating the analytical stress tensor of a cubic diamond 3x3x3 supercell using the popt/psmp version of cp2k.
I observe that the diagonal elements of the analytical stress tensor depend on the number of mpi processes. Only when running cp2k with one single mpi task, the analytical stress tensor roughly agrees with the numerical one.
I encountered this issue with cp2k 8.1 + openmpi 4.0 (compiled with gcc 9.2), and also with intel mpi 2018.3 (intel compiler suite 18.0).

Any suggestions on how to fix/avoid this inconsistency would be appreciated. Thanks!

In the attachment, you can find the input file, an example of an output file, and the computed diagonal elements of the stress tensor for different number of mpi processes. The problem does not affect the off-diagonal entries.

Kind Regards,
Severin
--
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 cp... at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/CAOkt55U2ey15yqevddgs2MmHntQC7pVKisce5zzxkMsVK3hErA%40mail.gmail.com<https://groups.google.com/d/msgid/cp2k/CAOkt55U2ey15yqevddgs2MmHntQC7pVKisce5zzxkMsVK3hErA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
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 cp... at googlegroups.com<mailto:cp... at googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/5af6f64b-d707-4d23-9c7f-c2954af2a094n%40googlegroups.com<https://groups.google.com/d/msgid/cp2k/5af6f64b-d707-4d23-9c7f-c2954af2a094n%40googlegroups.com?utm_medium=email&utm_source=footer>.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20210413/45cafb73/attachment.htm>


More information about the CP2K-user mailing list