<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=us-ascii">
<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;}
p.p1, li.p1, div.p1
        {mso-style-name:p1;
        margin:0cm;
        font-size:10.0pt;
        font-family:Menlo;
        color:black;}
p.p2, li.p2, div.p2
        {mso-style-name:p2;
        margin:0cm;
        font-size:10.0pt;
        font-family:Menlo;
        color:#C1651C;}
span.s2
        {mso-style-name:s2;
        color:#2FB41D;}
span.s3
        {mso-style-name:s3;
        color:#C1651C;}
span.s4
        {mso-style-name:s4;
        color:#B42419;}
span.s5
        {mso-style-name:s5;
        color:black;}
span.s1
        {mso-style-name:s1;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
.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">Dear Nandana<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">you can try to reduce the number of
<a href="https://manual.cp2k.org/trunk/CP2K_INPUT/FORCE_EVAL/DFT/SCF/PRINT/RESTART.html#CP2K_INPUT.FORCE_EVAL.DFT.SCF.PRINT.RESTART.COMMON_ITERATION_LEVELS">
common iteration levels</a> for the SCF restart file print key to 1 to avoid that the restart file is overwritten after each step:<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="p1"><span class="apple-converted-space">      </span><span class="s1">&</span><span class="s2">PRINT</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space">        </span><span class="s1">&</span><span class="s2">RESTART</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space">          </span><span class="s3">ADD_LAST</span><span class="s1">
</span><span class="s4">NUMERIC</span><o:p></o:p></p>
<p class="p2"><span class="apple-converted-space"><span style="color:black">         
</span></span><span class="s1">BACKUP_COPIES</span><span class="s5"> </span><span class="s4">0</span><o:p></o:p></p>
<p class="p2"><span class="apple-converted-space"><span style="color:black">         
</span></span><span class="s1">COMMON_ITERATION_LEVELS</span><span class="s5"> </span>
<span class="s4">1</span><o:p></o:p></p>
<p class="p2"><span class="apple-converted-space"><span style="color:black">         
</span></span><span class="s1">LOG_PRINT_KEY</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space">          </span><span class="s1">&</span><span class="s2">EACH</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space">            </span><span class="s3">MD</span><span class="s1">
</span><span class="s4">1</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space">            </span><span class="s3">JUST_ENERGY</span><span class="s1">
</span><span class="s4">1</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space">          </span><span class="s1">&</span><span class="s2">END</span><span class="s1">
</span><span class="s2">EACH</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space">        </span><span class="s1">&</span><span class="s2">END</span><span class="s1">
</span><span class="s2">RESTART</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space">      </span><span class="s1">&</span><span class="s2">END</span><span class="s1">
</span><span class="s2">PRINT</span><o:p></o:p></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">LOG_PRINT_KEY will print an information to the CP2K output when a restart file is written and thus it helps to trace what is going on.<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 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 Nandana Pal Chowdhury <nandanapalchowdhury@gmail.com><br>
<b>Date: </b>Monday, 20 May 2024 at 11:52<br>
<b>To: </b>cp2k <cp2k@googlegroups.com><br>
<b>Subject: </b>[CP2K:20219] Reftraj<o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="margin-left:36.0pt">Hi,<o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">I have a set of configs from a previously run AIMD trajectory. I want to calculate the energy for each snap, and have used reftraj for the same. The input file I provide below is one without surface dipole correction.
 I aim to generate restart wavefunctions and use them further for calculations with dipole correction. This idea works fine in single-point calculations.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">However, in reftraj, I will need wavefunctions for each step I have provided. However, on running the input file, I am getting one - which I am guessing is happening because the file is being rewritten each time.
 Is there some way I can print the restart wavefunction for all 4 steps in the traj file?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">Ps: Kindly ignore the vdw section<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">Thanks,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">Nandana<o:p></o:p></p>
</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/f0bf675c-b782-4a3f-a660-824d0b0f3a83n%40googlegroups.com?utm_medium=email&utm_source=footer">
https://groups.google.com/d/msgid/cp2k/f0bf675c-b782-4a3f-a660-824d0b0f3a83n%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/ZRAP278MB0827CDF69298B09DE868B3C8F4EA2%40ZRAP278MB0827.CHEP278.PROD.OUTLOOK.COM?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/ZRAP278MB0827CDF69298B09DE868B3C8F4EA2%40ZRAP278MB0827.CHEP278.PROD.OUTLOOK.COM</a>.<br />