<div dir="ltr"><div>Restarting pw.x from cp.x and vice versa can be done, it works as far as I know, but it is a little bit tricky and has some limitations. There is an example in CPV/example/Restart_example.</div><div><br></div><div>Paolo<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 22, 2019 at 5:19 AM Zeeshan Ahmad <<a href="mailto:azeeshan@cmu.edu">azeeshan@cmu.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Hi,<br><br>Is there a way to restart pw.x md calculation with output generated by cp.x code? (The idea is to use equilibrated trajectory generated by cp.x NVT simulation using Nose Hoover thermostat, since md calculation in pw.x does not have an implementation of that thermostat.)<div><br></div><div>The documentation says for disk_io=‘high’ option in cp.x:<br><br><div><blockquote type="cite">CP code will write Kohn-Sham wfc files and additional information in data-file.xml in order to restart with a PW calculation or to use postprocessing tools. If disk_io is not set to 'high', the data file written by CP will not be readable by PW or PostProc.</blockquote></div><div><br></div>I tried to restart using pw.x (changing name of the prefix_50.save file generated by cp.x to prefix.save file used by pw.x) but got the following error:<div><br></div><div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">     Error in routine davcio (10):</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">     error while reading from file “/home/azeeshan/test/900/tmp/prefix.wfc1"</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures">There was no numbered .wfc file generated by cp.x, only an empty prefix.wfc file is present in outdir tmp/</span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures">I am using quantum espresso 6.2.1 compiled with -D__OLDXML flag.</span></div><br>Thanks,</div><div>-Zeeshan</div><div><br><div>--<br>Zeeshan Ahmad<br>PhD candidate, Mechanical Engineering<br>Carnegie Mellon University<br></div><br></div></div></div>_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br>Univ. Udine, via delle Scienze 208, 33100 Udine, Italy<br>Phone +39-0432-558216, fax +39-0432-558222<br><br></div></div></div></div></div>