<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hi Hashemifar,<br>
    <br>
    I just guess and expect that&nbsp; wf_collect=.true. will collect *.wfc
    files from wfcdir to outdir after each iteration or at the end of
    run. Is this right? But it seems not.&nbsp; As mentioned in last mail,
    *.wfc files don't appear in ourdir&nbsp; anytime.<br>
    <br>
    Best wishes<br>
    Liu Guibin<br>
    <br>
    <br>
    &#20110; 2011/7/27 14:13, Seyed Javad Hashemifar &#20889;&#36947;:
    <blockquote
cite="mid:CAKScr_rju9zXEqtjyu=Q8686xUkcyVup7P+Cmq5Wxh=qiLc+qg@mail.gmail.com"
      type="cite">Hello
      <div>As far as I know, since pw.x uses iterative diagonalization
        method, in addition to the charge density files, it needs to
        wave function files also to restart a calculation. If there is
        no wave function file, then you can set some atomic wave
        functions in namelist ELECTRONS:</div>
      <div><br>
      </div>
      <div><a moz-do-not-send="true"
href="http://www.quantum-espresso.org/input-syntax/INPUT_PW.html#id2468572">http://www.quantum-espresso.org/input-syntax/INPUT_PW.html#id2468572</a></div>
      <div><br>
      </div>
      <div>to restart your job, but in this case it will not be
        restarted exactly from the&nbsp;position&nbsp;of&nbsp;interruption.</div>
      <div><br>
      </div>
      <div>If you set wf_collect=.true. then&nbsp;most likely&nbsp;you able to
        restart or continue your parallel job with a different parallel
        setting (for example on different number of processors).</div>
      <div>SJ Hashemifar</div>
      <div>======================================<br>
        Seyed Javad&nbsp; Hashemifar<br>
        Department of Physics, Isfahan University of Technology<br>
        84156-83111 Isfahan, Iran<br>
        Tel: +98 311 391 2375&nbsp; &nbsp;&nbsp; Fax:+98 311 3912376<br>
        Email:&nbsp; <a moz-do-not-send="true"
          href="mailto:hashemifar@cc.iut.ac.ir" target="_blank">hashemifar@cc.iut.ac.ir</a><br>
        Group Homepage:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a moz-do-not-send="true"
          href="http://cmsgroup.iut.ac.ir" target="_blank">http://cmsgroup.iut.ac.ir</a><br>
        Personal Homepage:&nbsp; <a moz-do-not-send="true"
          href="http://hashemifar.iut.ac.ir" target="_blank">http://hashemifar.iut.ac.ir</a><br>
---------------------------------------------------------------------------<br>
        <br>
        <br>
        <div class="gmail_quote">On Wed, Jul 27, 2011 at 7:04 AM, gbliu
          <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:goodluck_1982@163.com">goodluck_1982@163.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">
            <div text="#000000" bgcolor="#ffffff"> Dear all,<br>
              <br>
              &nbsp;&nbsp;&nbsp;&nbsp; Now I'm wondering what files are needed when pw.x
              restarts from a interrupted run. Is a single file
              outdir/prefix.save/charge-density.dat&nbsp; enough? Are *.wfc
              files needed?<br>
              &nbsp;&nbsp;&nbsp;&nbsp; What's the function of the parameter "wf_collect =
              .true." ?&nbsp; I set outdir='./work' , wfcdir='/tmp',
              restart_mode='restart'. Then *.wfc files exist&nbsp; in /tmp. <br>
              &nbsp;&nbsp;&nbsp;&nbsp; I note that, when I set <b>wf_collect = .false.</b>,
              there are files under ./work&nbsp; <font color="#3333ff">(case
                1)</font>:<br>
              &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xxx.UPF&nbsp; <br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; charge-density.dat&nbsp; <br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; data-file.xml <br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; K00001/eigenval.xml<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; K.....<br>
              &nbsp;&nbsp; and when I set <b>wf_collect = .true.</b>, there are
              files under ./work <font color="#3333ff">(case 2)</font>:<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xxx.UPF&nbsp; <br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; charge-density.dat&nbsp; <br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; data-file.xml <br>
              <font color="#ff0000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gvectors.dat</font><br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; K00001/eigenval.xml<br>
              <font color="#ff0000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; K00001/evc.dat<br>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; K00001/gkvectors.dat</font><br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; K .....<br>
              What's the use of gvectors.dat files?<br>
              &nbsp;In case 1, because wf_collect=.false., *.wfc files keep
              existing in /tmp,&nbsp; when pw.x restarts, it can read wfc
              from /tmp.<br>
              However, in case 2, *.wfc files are removed from /tmp
              after run and don't appear in ./work either, therefore
              when pw.x restarts, it cannot read wfc from anywhere. Now
              that wf_collect=.true., how are wfc files are collected
              and to where? <br>
              BTW:&nbsp; in both cases, pw.x can read the existing charge
              density, is this enough for a restarted run even if&nbsp; no
              wfc files found?<br>
              <br>
              Best wishes<br>
              Liu Gui-Bin<br>
              Dept. of Physics<br>
              The Universit of Hong Kong<br>
            </div>
            <br>
            _______________________________________________<br>
            Pw_forum mailing list<br>
            <a moz-do-not-send="true" href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
            <a moz-do-not-send="true"
              href="http://www.democritos.it/mailman/listinfo/pw_forum"
              target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Pw_forum mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a>
<a class="moz-txt-link-freetext" href="http://www.democritos.it/mailman/listinfo/pw_forum">http://www.democritos.it/mailman/listinfo/pw_forum</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>