<div dir="ltr"><div>You mean: "restarting from an incomplete calculation", or "saving data at the end of a completed calculation?" In the first case: it depends a lot upon what you need to save and how and when it is computed. The current logic of restart in pw.x is described in sect. 6.2, "Restart", of the developer guide. Unfortunately loops on nuclear positions still follow a slightly different logic, but they also write a file holding restart information (a different one per algorithm!). You may consider adding your data to one (or more than one) of the mentioned files. Use formatted read/write with free format unless you have a large amount of data to write.<br><br></div>Paolo</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 21, 2016 at 1:11 PM, Ilya Ryabinkin <span dir="ltr"><<a href="mailto:igryabinkin@gmail.com" target="_blank">igryabinkin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Colleagues:<br>
I'd like to save a few complex matrices, or to be precise, two complex<br>
vectors and a square complex matrix (of the same dimension) in an<br>
auxiliary file in order to implement restarting capabilities in my<br>
piece of code. The dimension is tiny (2-3, rarely less than 10).<br>
<br>
What is the "QE"-way for that? I know about diropn/davcio and<br>
seqopn/READ. I don't want to mess up with formatting though---the<br>
simplest solution is preferable.<br>
<br>
<br>
Thanks in advance,<br>
I.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
******************************<wbr>*************************<br>
                    Ilya Ryabinkin<br>
                 Postdoctoral Scholar<br>
          Physical and Environmental Sciences<br>
           University of Toronto Scarborough<br>
  <a href="http://www.utsc.utoronto.ca/~aizmaylov/Members.html" rel="noreferrer" target="_blank">http://www.utsc.utoronto.ca/~<wbr>aizmaylov/Members.html</a><br>
******************************<wbr>*************************<br>
______________________________<wbr>_________________<br>
Q-e-developers mailing list<br>
<a href="mailto:Q-e-developers@qe-forge.org">Q-e-developers@qe-forge.org</a><br>
<a href="http://qe-forge.org/mailman/listinfo/q-e-developers" rel="noreferrer" target="_blank">http://qe-forge.org/mailman/<wbr>listinfo/q-e-developers</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="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>
</div>