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

Krack Matthias (PSI) matthi... at psi.ch
Mon Apr 12 17:50:12 UTC 2021


Hi Severin

Do you observe the same behavior with LONG_RANGE_CORRECTION disabled?

Best regards

Matthias

Von: cp... at googlegroups.com <cp... at googlegroups.com> Im Auftrag von Severin Sylla
Gesendet: Montag, 12. April 2021 17:28
An: cp... 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<mailto: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>.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20210412/585d9f7f/attachment.htm>


More information about the CP2K-user mailing list