<div dir="ltr">Dear all,<div><br></div><div>Thanks to the help of Giuseppe and Paolo (here: <a href="https://www.mail-archive.com/users@lists.quantum-espresso.org/msg40236.html">https://www.mail-archive.com/users@lists.quantum-espresso.org/msg40236.html</a>) I managed to converge a cp calculation, but when attempting to restart cp.x from pw.x the cp code complaints that it cannot find the wave function .dat file;</div><div><br></div><div>As far as I understand the following enables restarting from pw.x:</div><div><br></div><div><a href="http://pw.in">pw.in</a> :  prefix = "cp_91" starting "from_scratch"</div><div><a href="http://cp.in">cp.in</a>: ndr=91, ndw=92, starting using "reset_counters"</div><div><div><br></div><div>cp.x then complains:  cannot open restart file tmp/cp_91.save/wfc1 for reading</div><div><br></div><div>a quick check of the folder shows that these do exist</div><div><br></div><div>ls tmp/cp_91.save/<br>total 1.2G<br>-rw-rw-r-- 1 1001 1002  42K Mar 16 13:25 data-file-schema.xml<br>-rw-rw-r-- 1 1001 1002  88K Mar 16 13:25 N_ONCV_PBE-1.0.upf<br>-rw-rw-r-- 1 1001 1002 113K Mar 16 13:25 H_ONCV_PBE_sr.upf<br>-rw-rw-r-- 1 1001 1002 275K Mar 16 13:25 Fe_ONCV_PBE_sr.upf<br>-rw-rw-r-- 1 1001 1002 177K Mar 16 13:25 C_ONCV_PBE_sr.upf<br>-rw-rw-r-- 1 1001 1002 116M Mar 16 13:25 charge-density.dat<br>-rw-rw-r-- 1 1001 1002 536M Mar 16 13:26 wfcup1.dat<br>-rw-rw-r-- 1 1001 1002 536M Mar 16 13:26 wfcdw1.dat<br></div><div><br></div><div>Is it possible that restarting only works for non-polarized pw.x calcs or am I missing a switch?</div><div><br></div><div>Copying the wfc1up.dat to wfc1.dat and wfc1dw.dat to wfc2.dat does not work, as pw.x complains that some bands are not read from file:</div><div><br></div><div><br></div><div>     Error in routine pw_restart - read_collected_wfc (1):<br>     The number of bands for this run is    35, but only    33 bands were read from file<br></div><div><br></div><div>Does anyone know how to make this work?</div><div><br></div><div>I attached an example of the run file just in case I am messing up some variables..</div><div><br></div><div>Thanks you all for your help and assistance!</div><div><br></div><div>Best,</div><div>Chris </div><div>Best,</div><div>Chrs </div><div><br></div>--<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">IBS Center for Quantum Nanoscience<br>Seoul, South Korea<blockquote type="cite" style="font-size:12.8px"><div dir="ltr"><div><div dir="ltr"></div></div></div></blockquote></div></div></div></div>