<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=iso-8859-1">
<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;}
@font-face
        {font-family:Menlo;
        panose-1:2 11 6 9 3 8 4 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="DE-CH" style="font-size:11.0pt;mso-fareast-language:EN-US">Hi<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH" style="font-size:11.0pt;mso-fareast-language:EN-US"><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 already try to increase the OMP_STACKSIZE (e.g. export OMP_STACKSIZE=64MB)? Your original output shows that you are using the default size which might be too
 small.<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>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US">HTH<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>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US">Matthias
<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>
<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 Giuseppe Zollo <1saqquara@gmail.com><br>
<b>Date: </b>Thursday, 13 February 2025 at 11:16<br>
<b>To: </b>cp2k <cp2k@googlegroups.com><br>
<b>Subject: </b>Re: [CP2K:21143] Graphene nano stripe (GNS) optimisation<o:p></o:p></span></p>
</div>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">Hello,<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">thank you so much for your time.<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">Unfortunately setting the wavefunctions to REAL  was the only way to make the simulation proceed. Indeed if a do not include this flag (so as to assume complex wavefunctions) the simulation hangs,
 as reported here, at the initials of the first SCF loop and the run crashes.<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">I'm using quite a lot memory so I assume that should not be a memory problem, should it be?<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black"><o:p> </o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">*******************************************************************************<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">                  Iteration          Convergence                     Energy [au]<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black"> *******************************************************************************<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">                          1        0.240530                      -6.658276883875<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">                          2        0.153299                      -6.681113186074<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">                          3        0.339530E-02                  -6.698173661406<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">                          4        0.134821E-03                  -6.698181647940<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">                          5        0.672005E-06                  -6.698181660696<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal;min-height:13px">
<span style="font-size:8.5pt;font-family:Menlo;color:black"><o:p> </o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black"> Energy components [Hartree]           Total Energy ::           -6.698181660696<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">                                        Band Energy ::           -1.311151959578<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">                                     Kinetic Energy ::            3.482441966707<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">                                   Potential Energy ::          -10.180623627403<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">                                      Virial (-V/T) ::            2.923415156586<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">                                        Core Energy ::           -8.233425335600<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">                                          XC Energy ::           -2.899318720305<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">                                     Coulomb Energy ::            4.434562395209<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">                       Total Pseudopotential Energy ::          -11.749206534330<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">                       Local Pseudopotential Energy ::          -12.352996294377<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">                    Nonlocal Pseudopotential Energy ::            0.603789760047<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">                                        Confinement ::            0.333392320232<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal;min-height:13px">
<span style="font-size:8.5pt;font-family:Menlo;color:black"><o:p> </o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black"> Orbital energies  State     L     Occupation   Energy[a.u.]          Energy[eV]<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal;min-height:13px">
<span style="font-size:8.5pt;font-family:Menlo;color:black"><o:p> </o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">                       1     0          2.000      -0.483136          -13.146798<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal;min-height:13px">
<span style="font-size:8.5pt;font-family:Menlo;color:black"><o:p> </o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">                       1     1          2.000      -0.172440           -4.692332<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal;min-height:13px">
<span style="font-size:8.5pt;font-family:Menlo;color:black"><o:p> </o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal;min-height:13px">
<span style="font-size:8.5pt;font-family:Menlo;color:black"><o:p> </o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black"> Total Electron Density at R=0:                                         4.671964<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black"> Re-scaling the density matrix to get the right number of electrons<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">                  # Electrons              Trace(P)               Scaling factor<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">                          252               252.000                        1.000<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal;min-height:13px">
<span style="font-size:8.5pt;font-family:Menlo;color:black"><o:p> </o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal;min-height:13px">
<span style="font-size:8.5pt;font-family:Menlo;color:black"><o:p> </o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black"> SCF WAVEFUNCTION OPTIMIZATION<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal;min-height:13px">
<span style="font-size:8.5pt;font-family:Menlo;color:black"><o:p> </o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">  Step     Update method      Time    Convergence         Total energy    Change<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">  ------------------------------------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt">
<o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">Il giorno giovedì 13 febbraio 2025 alle 10:44:01 UTC+1 Jürg Hutter ha scritto:<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">
<p class="MsoNormal" style="margin-left:36.0pt">Hi <br>
I don't have time to look closer into your problem but a quick inspection of the input file shows a major problem in your definition for the k-points.
<br>
The Wavefunction REAL option should not be used in you case, as the correct <br>
WFN for a MP Grid of 1 1 8 will have complex wavefunctions. <br>
regards <br>
JH <br>
<br>
________________________________________ <br>
From: <span class="MsoHyperlink">cp...@googlegroups.com</span> <<span class="MsoHyperlink">cp...@googlegroups.com</span>> on behalf of Giuseppe Zollo <<span class="MsoHyperlink">1saq...@gmail.com</span>>
<br>
Sent: Tuesday, February 11, 2025 12:15 PM <br>
To: cp2k <br>
Subject: [CP2K:21135] Graphene nano stripe (GNS) optimisation <br>
<br>
Dear All, <br>
I've been working for long time with QE. <br>
Now I'm trying to get some results with CP2K (I'm new of this nice code). <br>
A problem seems to arise for an edge patterned GNS I'm interested in. I hope to get some results with hybrid functionals that is very hard to obtain with plane waves as the unit cell is large.
<br>
I get easy convergence only by using kpoints (no other attempt has been successful) and full periodic system (partial periodicity does not converge and system without kpoints and two unit cells along the stripe does not converge as well).
<br>
But the point Is that the structure, that I know is stable from plane waves QE calculations, is completely destroyed after few optimisation steps.
<br>
Maybe I'm missing something. <br>
Here I attach input, output and optimisation coordinates <br>
Any help will be appreciated, <br>
Regards <br>
<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
<span class="MsoHyperlink">cp2k+uns...@googlegroups.com</span><mailto:<span class="MsoHyperlink">cp2k+uns...@googlegroups.com</span>>.
<br>
To view this discussion visit <a href="https://groups.google.com/d/msgid/cp2k/b438d7f7-fb8c-4ad3-a726-d58efc7b27f7n%40googlegroups.com" target="_blank">
https://groups.google.com/d/msgid/cp2k/b438d7f7-fb8c-4ad3-a726-d58efc7b27f7n%40googlegroups.com</a><<a href="https://groups.google.com/d/msgid/cp2k/b438d7f7-fb8c-4ad3-a726-d58efc7b27f7n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/msgid/cp2k/b438d7f7-fb8c-4ad3-a726-d58efc7b27f7n%40googlegroups.com?utm_medium=email&utm_source=footer</a>>.
<o:p></o:p></p>
</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 visit <a href="https://groups.google.com/d/msgid/cp2k/659f0b75-58e3-4aa0-9107-1e74a0f044b4n%40googlegroups.com?utm_medium=email&utm_source=footer">
https://groups.google.com/d/msgid/cp2k/659f0b75-58e3-4aa0-9107-1e74a0f044b4n%40googlegroups.com</a>.<o:p></o:p></p>
</div>
</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 visit <a href="https://groups.google.com/d/msgid/cp2k/ZRAP278MB0827669133D4E405B7E33816F4FF2%40ZRAP278MB0827.CHEP278.PROD.OUTLOOK.COM?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/ZRAP278MB0827669133D4E405B7E33816F4FF2%40ZRAP278MB0827.CHEP278.PROD.OUTLOOK.COM</a>.<br />