<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Aptos;
        panose-1:2 11 0 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:12.0pt;
        font-family:"Aptos",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Aptos",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="en-CH" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US">Thanks for your report.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US">Did you also check with the print key which ELPA kernel is actually used?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div id="mail-editor-reference-message-container">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt">
<b><span style="color:black">From: </span></b><span style="color:black">cp2k@googlegroups.com <cp2k@googlegroups.com> on behalf of Ivan Bosch <ivan.bosch@irbbarcelona.org><br>
<b>Date: </b>Tuesday, 2 July 2024 at 14:36<br>
<b>To: </b>cp2k <cp2k@googlegroups.com><br>
<b>Subject: </b>Re: [CP2K:20400] ELPA ERROR with cp2k container<o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt">
Thanks for your response,<o:p></o:p></p>
<p style="margin-left:36.0pt">I ran a test with the container using ELPA, which is when the warning in question appears, and another with ScalaPack with an input for only 5 steps. These are the results I obtained:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">[root@irblogin01 outputs_tests]# grep diag devel_<b>elpa</b>_autokernel_test.out | tail -4
<br>
qs_ot_get_derivative_diag 160 12.0 0.002 0.003 3.273 4.061 <br>
qs_ot_p2m_diag 161 11.0 0.026 0.104 2.773 2.863 <br>
cp_fm_diag_elpa 161 13.0 0.000 0.001 2.013 2.015 <br>
cp_fm_diag_elpa_base 161 14.0 0.933 1.876 0.941 1.889<br>
[root@irblogin01 outputs_tests]# grep diag devel_<b>elpa</b>_avx512_block6kernel_test.out | tail -4
<br>
qs_ot_get_derivative_diag 160 12.0 0.002 0.003 3.251 3.954 <br>
qs_ot_p2m_diag 161 11.0 0.026 0.103 2.772 2.862 <br>
cp_fm_diag_elpa 161 13.0 0.000 0.001 2.011 2.012 <br>
cp_fm_diag_elpa_base 161 14.0 0.933 1.874 0.940 1.888 <br>
[root@irblogin01 outputs_tests]# grep diag devel_<b>scalapack</b>_test.out | tail -4
<br>
qs_ot_get_derivative_diag 160 12.0 0.002 0.003 3.319 4.190 <br>
qs_ot_p2m_diag 161 11.0 0.026 0.101 2.090 2.175<o:p></o:p></p>
</div>
</div>
<p style="margin-left:36.0pt">In this case, there is no significant acceleration when using ELPA.
<br>
<br>
However, with version 2024.1 installed with Spack, where I have verified that ELPA works well, I get these results:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">[root@irblogin01 outputs_tests]# grep diag 2024.1_<b>scalapack</b>_test.out | tail -4
<br>
qs_ot_p2m_diag 161 11.0 0.010 0.017 1.828 1.841 <br>
qs_ot_get_derivative_diag 160 12.0 0.002 0.002 1.410 1.421 <br>
[root@irblogin01 outputs_tests]# grep diag 2024.1_<b>elpa</b>_avx512_block6kernel_test.out | tail -4
<br>
qs_ot_get_derivative_diag 160 12.0 0.002 0.002 1.397 1.408 <br>
qs_ot_p2m_diag 161 11.0 0.010 0.017 1.190 1.205 <br>
cp_fm_diag_elpa 161 13.0 0.000 0.001 0.816 0.817 <br>
cp_fm_diag_elpa_base 161 14.0 0.321 0.646 0.327 0.662<o:p></o:p></p>
</div>
</div>
<p style="margin-left:36.0pt">In these, I do observe an improvement in the timings.<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">On Tuesday, July 2, 2024 at 10:56:58<span style="font-family:"Arial",sans-serif"> </span>AM UTC+2 Krack Matthias wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt">
<span lang="EN-US" style="font-size:11.0pt">You can use the print key <a href="https://manual.cp2k.org/trunk/CP2K_INPUT/GLOBAL/PRINT_ELPA.html" target="_blank">
https://manual.cp2k.org/trunk/CP2K_INPUT/GLOBAL/PRINT_ELPA.html</a> to get more information about the ELPA usage.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt">
<span lang="EN-US" style="font-size:11.0pt"> </span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<div>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt;margin-left:72.0pt">
<b><span style="color:black">From: </span></b><span style="color:black"><span class="MsoHyperlink">cp...@googlegroups.com</span> <<span class="MsoHyperlink">cp...@googlegroups.com</span>> on behalf of Ivan Bosch <<span class="MsoHyperlink">ivan....@irbbarcelona.org</span>><br>
<b>Date: </b>Tuesday, 2 July 2024 at 10:43<br>
<b>To: </b>cp2k <<span class="MsoHyperlink">cp...@googlegroups.com</span>><br>
<b>Subject: </b>Re: [CP2K:20398] ELPA ERROR with cp2k container</span><o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt;margin-left:72.0pt">
Sure, but does this warning mean that the ELPA library is not being used to diagonalize?<br>
<br>
Thanks<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt">
On Tuesday, July 2, 2024 at 10:38:39<span style="font-family:"Arial",sans-serif"> </span>AM UTC+2 Krack Matthias wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt">
<span lang="DE-CH" style="font-size:11.0pt">Hi</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt">
<span lang="DE-CH" style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt">
<span lang="EN-US" style="font-size:11.0pt">That’s just a warning which is not specific to the use of containerized CP2K and/or singularity. I usually ignore it.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt">
<span lang="EN-US" style="font-size:11.0pt"> </span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<div>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt;margin-left:108.0pt">
<b><span style="color:black">From: </span></b><span style="color:black"><span class="MsoHyperlink">cp...@googlegroups.com</span> <<span class="MsoHyperlink">cp...@googlegroups.com</span>> on behalf of Ivan Bosch <<span class="MsoHyperlink">ivan....@irbbarcelona.org</span>><br>
<b>Date: </b>Tuesday, 2 July 2024 at 09:43<br>
<b>To: </b>cp2k <<span class="MsoHyperlink">cp...@googlegroups.com</span>><br>
<b>Subject: </b>[CP2K:20394] ELPA ERROR with cp2k container</span><o:p></o:p></p>
</div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p style="margin-left:108.0pt">Hi, I've made a build of the cp2k-container provided by
<a href="https://github.com/cp2k/cp2k-containers" target="_blank">https://github.com/cp2k/cp2k-containers</a>, specifically using master_openmpi_skylake-avx512_psmp.Dockerfile, and it gives the following error regarding ELPA:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
bash<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
Copy code<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
*** WARNING in fm/cp_fm_elpa.F:522 :: Setting real_kernel for ELPA failed ***. <o:p>
</o:p></p>
</div>
</div>
<p style="margin-left:108.0pt">This has happened with different cp2k containers, not just this one, even when pulling directly from Docker Hub. I am using SingularityCE v4.0, and this is the output from within the container when running cp2k -v:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
bash<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
Copy code<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
CP2K version 2024.1 (Development Version) Source code revision git:5b092d7 cp2kflags: omp libint fftw3 libxc libgrpp pexsi elpa parallel mpi_f08 scalapack cosma quip deepmd xsmm plumed2 spglib libdftd4 sirius libvori libbqb libtorch libvdwxc hdf5 compiler:
 GCC version 11.4.0 compiler options: -cpp -I /opt/cp2k/tools/toolchain/install/openmpi-4.1.6/include -I /opt/cp2k/tools/toolchain/install/openblas-0.3.27/include -I /opt/cp2k/tools/toolchain/install/fftw-3.3.10/include -I /opt/cp2k/tools/toolchain/install/libint-v2.6.0-cp2k-lmax-5/include
 -I /opt/cp2k/tools/toolchain/install/libxc-6.2.2/include -I /opt/cp2k/tools/toolchain/install/libgrpp-main-20231215/include -I /opt/cp2k/tools/toolchain/install/libxsmm-1.17/include -I /opt/cp2k/tools/toolchain/install/COSMA-2.6.6/include -I /opt/cp2k/tools/toolchain/install/elpa-2024.03.001/cpu/include/elpa_openmp-2024.03.001/modules
 -I /opt/cp2k/tools/toolchain/install/elpa-2024.03.001/cpu/include/elpa_openmp-2024.03.001/elpa -I /opt/cp2k/tools/toolchain/install/scotch-6.0.0/include -I /opt/cp2k/tools/toolchain/install/superlu_dist-6.1.0/include -I /opt/cp2k/tools/toolchain/install/pexsi-1.2.0/include
 -I /opt/cp2k/tools/toolchain/install/quip-0.9.10/include -I /opt/cp2k/tools/toolchain/install/gsl-2.7/include -I /opt/cp2k/tools/toolchain/install/libdeepmd_c-2.2.7/include -I /opt/cp2k/tools/toolchain/install/hdf5-1.14.2/include -I /opt/cp2k/tools/toolchain/install/libvdwxc-0.4.0/include
 -I /opt/cp2k/tools/toolchain/install/spglib-2.3.1/include -I /opt/cp2k/tools/toolchain/install/SpFFT-1.1.0/include -I /opt/cp2k/tools/toolchain/install/SpLA-1.6.1/include/spla -I /opt/cp2k/tools/toolchain/install/sirius-7.5.2/include -I /opt/cp2k/tools/toolchain/install/dftd4-3.6.0/include
 -I /opt/cp2k/tools/toolchain/install/dftd4-3.6.0/include/dftd4/GNU-11.4.0 -I /opt/cp2k/tools/toolchain/install/dftd4-3.6.0/include/mctc-lib/GNU-11.4.0 -I /opt/cp2k/src/start/ -I /opt/cp2k/obj/local/psmp/exts/dbcsr -I /opt/cp2k/tools/toolchain/install/openmpi-4.1.6/include
 -I /opt/cp2k/tools/toolchain/install/openmpi-4.1.6/lib -imultiarch x86_64-linux-gnu -D_REENTRANT -D __LIBXSMM -D __parallel -D __MPI_F08 -D __FFTW3 -D __LIBINT -D __LIBXC -D __LIBGRPP -D __SCALAPACK -D __COSMA -D __ELPA -D __LIBPEXSI -D __QUIP -D __GSL -D
 __PLUMED2 -D __DEEPMD -D __HDF5 -D __LIBVDWXC -D __SPGLIB -D __LIBVORI -D __LIBTORCH -D __SPFFT -D __SPLA -D __SIRIUS -D __DFTD4 -D __COMPILE_ARCH="local" -D __COMPILE_DATE="Mon Jul 1 20:22:13 UTC 2024" -D __COMPILE_HOST="5bc8c4d74319" -D __COMPILE_REVISION="git:5b092d7"
 -D __DATA_DIR="/opt/cp2k/data" -D __SHORT_FILE__="start/cp2k.F" -mtune=skylake-avx512 -march=x86-64 -g -O3 -Werror=aliasing -Werror=ampersand -Werror=c-binding-type -Werror=intrinsic-shadow -Werror=intrinsics-std -Werror=line-truncation -Werror=tabs -Werror=target-lifetime
 -Werror=underflow -Werror=unused-but-set-variable -Werror=unused-variable -Werror=unused-dummy-argument -Werror=unused-parameter -Werror=unused-label -Werror=conversion -Werror=zerotrip -Wno-maybe-uninitialized -Wuninitialized -Wuse-without-only -std=f2008
 -fno-omit-frame-pointer -fopenmp -funroll-loops -fbacktrace -ffree-form -fimplicit-none -fallow-argument-mismatch -fpre-include=/usr/include/finclude/math-vector-fortran.h
<o:p></o:p></p>
</div>
</div>
<p style="margin-left:108.0pt">Could you help me troubleshoot and resolve this issue?<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
-- <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
<span class="MsoHyperlink">cp2k+uns...@googlegroups.com</span>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/e07c8a89-84d7-49a7-8911-faada06530d1n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank">
https://groups.google.com/d/msgid/cp2k/e07c8a89-84d7-49a7-8911-faada06530d1n%40googlegroups.com</a>.<o:p></o:p></p>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt">
-- <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
<span class="MsoHyperlink">cp2k+uns...@googlegroups.com</span>.<o:p></o:p></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt">
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/73bc7691-1ad9-493e-9641-6b5fd631ffa1n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank">
https://groups.google.com/d/msgid/cp2k/73bc7691-1ad9-493e-9641-6b5fd631ffa1n%40googlegroups.com</a>.<o:p></o:p></p>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal" style="margin-left:36.0pt">-- <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/0135c2f3-5810-4ca8-ad53-eb3aa1a40839n%40googlegroups.com?utm_medium=email&utm_source=footer">
https://groups.google.com/d/msgid/cp2k/0135c2f3-5810-4ca8-ad53-eb3aa1a40839n%40googlegroups.com</a>.<o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>

<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/ZRAP278MB0827FD52A05C7BD88B83314BF4DC2%40ZRAP278MB0827.CHEP278.PROD.OUTLOOK.COM?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/ZRAP278MB0827FD52A05C7BD88B83314BF4DC2%40ZRAP278MB0827.CHEP278.PROD.OUTLOOK.COM</a>.<br />