<br>thank you, both of you were very clear ! <br>Best regards<br><br>----- Original Message -----<br>From: Gabriele Sclauzero <sclauzer@sissa.it><br>Date: Thursday, October 22, 2009 10:26 am<br>Subject: Re: [Pw_forum] How dose the restart work?<br>To: PWSCF Forum <pw_forum@pwscf.org><br><br>> Dear Pieremanuele<br>> <br>> Pieremanuele Canepa wrote:<br>> > Dear all ,<br>> > my question for today is: How does the restart work in PWscf <br>> when in a<br>> > vc-relax job?<br>> > Once activated the restart, as restart_mode = 'restart', in the<br>> > control section, will PWscf read either the last wave function <br>> and the<br>> > last geometry or just the last density?<br>> <br>> I don't know much about specificity of vc-relax, but in general <br>> when restarting pwscf the <br>> atomic configuration will be read from file (see in <br>> prefix.save/data_file.xml) as well as <br>> the wavefuntions and charge density from the last iteration of <br>> the previous run (if the <br>> files are availalable).<br>> If using wfc_extrapolation and pot_extrapolation, perhaps also <br>> older wfcs and older rho <br>> from previous run will be read from file.<br>> <br>> > Would it possible to restart a job from the previous geometry <br>> instead> of the the wave function? <br>> <br>> You can avoid the wavefunction to be read specifying <br>> startingwfc='atomic' (or simply <br>> removing/renaming the file). The code will use a superposition <br>> of atomic wavefunctions to <br>> build the initial guess (as for the first iteration of a run <br>> "from_scratch"), but this <br>> will require more time to perform the first iteration of the scf <br>> cycle.<br>> > Can I do both of them?<br>> <br>> Both what?<br>> <br>> <br>> HTH<br>> <br>> GS<br>> <br>> > <br>> > All the best, Piero<br>> > --<br>> > Pieremanuele Canepa<br>> > Room 104<br>> > School of Physical Sciences, Ingram Building,<br>> > University of Kent, Canterbury, Kent,<br>> > CT2 7NH<br>> > United Kingdom<br>> > -----------------------------------------------------------<br>> > _______________________________________________<br>> > Pw_forum mailing list<br>> > Pw_forum@pwscf.org<br>> > http://www.democritos.it/mailman/listinfo/pw_forum<br>> > <br>> <br>> -- <br>> <br>> <br>> o ------------------------------------------------ o<br>> | Gabriele Sclauzero, PhD <br>> Student                  |<br>> | c/o:   SISSA & CNR-INFM <br>> Democritos,              |<br>> |        via Beirut 2-4, <br>> 34014 Trieste (Italy)     |<br>> | email: <br>> sclauzer@sissa.it                         |<br>> | phone: +39 040 3787 <br>> 511                          |<br>> | skype: <br>> gurlonotturno                             |<br>> o ------------------------------------------------ o<br>> _______________________________________________<br>> Pw_forum mailing list<br>> Pw_forum@pwscf.org<br>> http://www.democritos.it/mailman/listinfo/pw_forum<br>> <br><br>---<br>Pieremanuele Canepa<br>Room 230<br>School of Physical Sciences, Ingram Building, <br>University of Kent, Canterbury, Kent, <br>CT2 7NH<br>United Kingdom<br><br>