Dear Prof. Hutter,<div><br /></div><div>Thank you so much for pointing it out! I have just figured out that in the HFX data, I showed in the prior message, I did use a different amount of memory. My sincere apologies for the confusion!</div><div><br /></div><div><div>I have been running a few systems. Some of them have memory calculated on the fly, and some of them not. The following is the result I obtain for LiCl and KCl when I use a lot of memory to make sure that no ERI is calculated on the fly:</div><div><div><br />For LiCl<br />     1 OT CG       0.80E-01 1919.1     0.00842150     -4418.1754324748 -4.42E+03<br />     2 OT LS       0.13E+00  447.5                    -4456.4755208811<br /><br />For KCl<br />     1 OT CG       0.80E-01  687.7     0.00530909     -8394.4355734905 -8.39E+03<br />     2 OT LS       0.32E+00  197.3                    -8440.0336970755</div><div><br /></div><div><br />Also, the following is result when I used less memory in KCl and ended up having some ERI calculated on the fly:</div><div><br />     1 OT CG       0.80E-01  683.5     0.01650856     -6317.2855863300 -6.32E+03<br />     2 OT LS       0.32E+00  375.8                    -6856.0434752195<br />     3 OT CG       0.32E+00  400.3     0.00885142     -7865.8954808822 -1.55E+03<br /></div><div><br /></div><div>Best,</div><div><br /></div><div>Hung</div></div></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Monday, September 9, 2024 at 11:04:08 AM UTC-5 Jürg Hutter wrote:<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>please quantify "much slower".
<br>
<br>Odd thing is that according to your output for LiCl you store all integrals incore:
<br>LiCl
<br>HFX_MEM_INFO| Number of sph. ERI's calculated on the fly:                    0
<br>KCl
<br>HFX_MEM_INFO| Number of sph. ERI's calculated on the fly:         178229986639
<br>
<br>However, the total amount of integrals is much larger for LiCl  (Li has a more difuse basis than K).
<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 Hung Nguyen <<a href data-email-masked rel="nofollow">hungngu...@gmail.com</a>>
<br>Sent: Monday, September 9, 2024 5:46 PM
<br>To: cp2k
<br>Subject: [CP2K:20669] LiCl is running slower than KCl
<br>
<br>Dear CP2K community,
<br>
<br>I am running PBE0-D3 (50% HFX exchange) on several molten salt systems and I found that LiCl system is running much slower than KCl (I used identical input files for them, except coordinate-related information).
<br>The following is HFX information the log file reports:
<br>For LiCl:
<br>
<br>  HFX_INFO| Replica ID:                                                        1
<br>
<br>  HFX_INFO| FRACTION:                                               0.5000000000
<br>
<br>  HFX_INFO| Interaction Potential:                                     TRUNCATED
<br>
<br>  HFX_INFO| Cutoff Radius [angstrom]:                               6.0000000000
<br>
<br>  HFX_INFO| EPS_SCHWARZ:                                                 1.0E-06
<br>
<br>  HFX_INFO| EPS_SCHWARZ_FORCES                                           1.0E-06
<br>
<br>  HFX_INFO| EPS_STORAGE_SCALING:                                         1.0E+00
<br>
<br>  HFX_INFO| NBINS:                                                            64
<br>
<br>  HFX_INFO| BLOCK_SIZE:                                                        4
<br>
<br>  HFX_INFO| NUMBER_OF_SHELLS:                                               AUTO
<br>
<br>  HFX_INFO| Number of periodic shells considered:                             -1
<br>
<br>  HFX_INFO| Number of periodic cells considered:                              27
<br>
<br>  HFX_MEM_INFO| Est. max. program size before HFX [MiB]:                     973
<br>
<br>  HFX_MEM_INFO| Number of cart. primitive ERI's calculated:        1492589796730
<br>
<br>  HFX_MEM_INFO| Number of sph. ERI's calculated:                   1180851126208
<br>
<br>  HFX_MEM_INFO| Number of sph. ERI's stored in-core:               1180851126208
<br>
<br>  HFX_MEM_INFO| Number of sph. ERI's stored on disk:                           0
<br>
<br>  HFX_MEM_INFO| Number of sph. ERI's calculated on the fly:                    0
<br>
<br>  HFX_MEM_INFO| Total memory consumption ERI's RAM [MiB]:                 891545
<br>
<br>  HFX_MEM_INFO| Whereof max-vals [MiB]:                                    30785
<br>
<br>  HFX_MEM_INFO| Total compression factor ERI's RAM:                        10.11
<br>
<br>  HFX_MEM_INFO| Total memory consumption ERI's disk [MiB]:                     0
<br>
<br>  HFX_MEM_INFO| Total compression factor ERI's disk:                        0.00
<br>
<br>  HFX_MEM_INFO| Size of density/Fock matrix [MiB]:                           372
<br>
<br>  HFX_MEM_INFO| Size of buffers [MiB]:                                        78
<br>
<br>  HFX_MEM_INFO| Number of periodic image cells considered:                    27
<br>
<br>  HFX_MEM_INFO| Est. max. program size after HFX  [MiB]:                   12886
<br>
<br>For KCl:
<br>
<br>  HFX_INFO| Replica ID:                                                        1
<br>
<br>  HFX_INFO| FRACTION:                                               0.5000000000
<br>
<br>  HFX_INFO| Interaction Potential:                                     TRUNCATED
<br>
<br>  HFX_INFO| Cutoff Radius [angstrom]:                               6.0000000000
<br>
<br>  HFX_INFO| EPS_SCHWARZ:                                                 1.0E-06
<br>
<br>  HFX_INFO| EPS_SCHWARZ_FORCES                                           1.0E-06
<br>
<br>  HFX_INFO| EPS_STORAGE_SCALING:                                         1.0E-01
<br>
<br>  HFX_INFO| NBINS:                                                            64
<br>
<br>  HFX_INFO| BLOCK_SIZE:                                                        4
<br>
<br>  HFX_INFO| NUMBER_OF_SHELLS:                                               AUTO
<br>
<br>  HFX_INFO| Number of periodic shells considered:                             -1
<br>
<br>  HFX_INFO| Number of periodic cells considered:                              27
<br>
<br>  HFX_MEM_INFO| Est. max. program size before HFX [MiB]:                    1489
<br>
<br>  HFX_MEM_INFO| Number of cart. primitive ERI's calculated:         986338569460
<br>
<br>  HFX_MEM_INFO| Number of sph. ERI's calculated:                    678423895453
<br>
<br>  HFX_MEM_INFO| Number of sph. ERI's stored in-core:                500193908814
<br>
<br>  HFX_MEM_INFO| Number of sph. ERI's stored on disk:                           0
<br>
<br>  HFX_MEM_INFO| Number of sph. ERI's calculated on the fly:         178229986639
<br>
<br>  HFX_MEM_INFO| Total memory consumption ERI's RAM [MiB]:                 608162
<br>
<br>  HFX_MEM_INFO| Whereof max-vals [MiB]:                                     6047
<br>
<br>  HFX_MEM_INFO| Total compression factor ERI's RAM:                         6.27
<br>
<br>  HFX_MEM_INFO| Total memory consumption ERI's disk [MiB]:                     0
<br>
<br>  HFX_MEM_INFO| Total compression factor ERI's disk:                        0.00
<br>
<br>  HFX_MEM_INFO| Size of density/Fock matrix [MiB]:                           396
<br>
<br>  HFX_MEM_INFO| Size of buffers [MiB]:                                        90
<br>
<br>  HFX_MEM_INFO| Number of periodic image cells considered:                    27
<br>
<br>  HFX_MEM_INFO| Est. max. program size after HFX  [MiB]:                    9582
<br>
<br>I would appreciate it if someone could help me to point out why LiCl is running much slower KCl.
<br>
<br>Best,
<br>
<br>Hung
<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/db784987-f0fe-4f12-88ed-13d1b0c4568dn%40googlegroups.com" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=en&q=https://groups.google.com/d/msgid/cp2k/db784987-f0fe-4f12-88ed-13d1b0c4568dn%2540googlegroups.com&source=gmail&ust=1725984529559000&usg=AOvVaw2L-1WwBI9vFw1cguAsyhTf">https://groups.google.com/d/msgid/cp2k/db784987-f0fe-4f12-88ed-13d1b0c4568dn%40googlegroups.com</a><<a href="https://groups.google.com/d/msgid/cp2k/db784987-f0fe-4f12-88ed-13d1b0c4568dn%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=en&q=https://groups.google.com/d/msgid/cp2k/db784987-f0fe-4f12-88ed-13d1b0c4568dn%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1725984529559000&usg=AOvVaw1HrZepWhAwzCsoqeB44Fr9">https://groups.google.com/d/msgid/cp2k/db784987-f0fe-4f12-88ed-13d1b0c4568dn%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/21cceb29-0daf-429d-8aa7-5f6163c1b7bcn%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/21cceb29-0daf-429d-8aa7-5f6163c1b7bcn%40googlegroups.com</a>.<br />