[CP2K-user] [CP2K:17724] Possible Memory Leak

Krack Matthias (PSI) matthias.krack at psi.ch
Wed Sep 21 09:00:13 UTC 2022


Hello Matthew

I have run your case on our local compute cluster with CP2K v2022.1 (gnu 11.2.0, OpenMPI 4.1.3) using 144 CPU cores. I observe only a small increase in memory usage after the usual initial growth during the first MD steps (see attached plot).

Best regards

Matthias

[cid:image001.png at 01D8CDA9.52B2B440]

From: "cp2k at googlegroups.com" <cp2k at googlegroups.com> on behalf of Matthew Emerson <mrson at uiowa.edu>
Reply to: "cp2k at googlegroups.com" <cp2k at googlegroups.com>
Date: Tuesday, 20 September 2022 at 23:21
To: "cp2k at googlegroups.com" <cp2k at googlegroups.com>
Subject: [CP2K:17721] Possible Memory Leak

Dear CP2K Developers/Community,

I have attached an input file which I believe shows an example of a possible memory leak in CP2K. It is a typical NVT DFT simulation of molten MgCl2 with PBE-D3 dispersion corrections.

I have tried well-tested CP2K builds on our local cluster (v6.1, v8.1, v2022.1), our university supercomputer (v6.1, v8.1), and even the system-wide installations of CP2K on Cori at Oak Ridge National Lab (v8.1 and v9.1) and memory usage grows linear with time until either the node locks up/dies from insufficient memory usage or the job dies from maximum walltime (ORNL). I've done enough testing that I can almost tell how many MD steps before the job will die for a given machine with X amount of RAM and Y amount of MPI ranks.

 I normally wouldn’t email about things like this but I’ve tried multiple combinations (w/unit-testing) of GCC, OpenMPI, OpenBLAS/MKL, etc. and nothing seems to work. I am hoping this is simply an input file issue or my own error.



Any help will be much appreciated.

Matthew S. Emerson
Margulis Research Group
Department of Chemistry
The University of Iowa
--
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<mailto:cp2k+unsubscribe at googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/0c20a8f2-3658-4429-a2e9-7f4aa0edb321n%40googlegroups.com<https://groups.google.com/d/msgid/cp2k/0c20a8f2-3658-4429-a2e9-7f4aa0edb321n%40googlegroups.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 cp2k+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/A8864AF3-D62E-448B-9B4E-75CA6700DFF7%40psi.ch.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20220921/023ec84a/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 29227 bytes
Desc: image001.png
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20220921/023ec84a/attachment-0001.png>


More information about the CP2K-user mailing list