how can I write WAVECAR and charge density during the iterations?

Question on input files/tags, interpreting output, etc.

Please check whether the answer to your question is given in the VASP online manual or has been discussed in this forum previously!

Moderators: Global Moderator, Moderator

Post Reply
Message
Author
zj
Newbie
Newbie
Posts: 11
Joined: Fri Nov 12, 2004 3:55 am
License Nr.: 175

how can I write WAVECAR and charge density during the iterations?

#1 Post by zj » Tue May 17, 2005 2:37 pm

Dear all,

By default, vasp only writes the wavefunctions and charge density when it finishes SCF calculation.

However, sometimes, for a very long job, one maybe want to save WAVECAR, CHG and CHGCAR files during its iteration. If the job stops accidentally, one can continue from the old charge density and can save much time.

Does vasp can do it when setting some keywords in INCAR file?

Thank you.

Jian
Last edited by zj on Tue May 17, 2005 2:37 pm, edited 1 time in total.

admin
Administrator
Administrator
Posts: 2922
Joined: Tue Aug 03, 2004 8:18 am
License Nr.: 458

how can I write WAVECAR and charge density during the iterations?

#2 Post by admin » Mon May 23, 2005 9:17 am

1) WAVECAR and CHGCAR are written at the end of the run, i.e.after NSW steps or if the geometry is converged within the given convergence criteria (EDIFFG) . You can re-start from the last WAVECAR (using the corresponding CONTCAR, and setting ISTART = 1)

2) stops can be enforced during runtime by providing the file
STOPCAR ,
which contains one line, either
LSTOP = .True. (stop at the next ionic step)
or
LABORT = .True. (stop at the next electronic step)
please mind that for the latter case WAVECAR and CHGCAR might contain
non-converged results.
[ Edited Mon Jun 27 2005, 03:28PM ]
Last edited by admin on Mon May 23, 2005 9:17 am, edited 1 time in total.

zj
Newbie
Newbie
Posts: 11
Joined: Fri Nov 12, 2004 3:55 am
License Nr.: 175

how can I write WAVECAR and charge density during the iterations?

#3 Post by zj » Wed Jun 15, 2005 8:09 am

yes, when creating a STOPCAR file, it write the WAVECAR, however, the job will also be terminated then.

Does vasp can just write out the WAVECAR and CHGCAR without being terminated?
Last edited by zj on Wed Jun 15, 2005 8:09 am, edited 1 time in total.

admin
Administrator
Administrator
Posts: 2922
Joined: Tue Aug 03, 2004 8:18 am
License Nr.: 458

how can I write WAVECAR and charge density during the iterations?

#4 Post by admin » Mon Jun 27, 2005 1:57 pm

No, if you want to be sure that a calculation finishes properly, writing WAVECAR and CHGCAR, reduce the number of ionic steps for the run (NSW).
Last edited by admin on Mon Jun 27, 2005 1:57 pm, edited 1 time in total.

skn
Newbie
Newbie
Posts: 1
Joined: Fri Apr 07, 2006 7:40 am

how can I write WAVECAR and charge density during the iterations?

#5 Post by skn » Tue Oct 23, 2007 8:27 am

Is it possible to continue SCF calculation by keeping WAVECAR and CHGCAR files for a lower value of NELM in electronic steps and then restarting?
Last edited by skn on Tue Oct 23, 2007 8:27 am, edited 1 time in total.

admin
Administrator
Administrator
Posts: 2922
Joined: Tue Aug 03, 2004 8:18 am
License Nr.: 458

how can I write WAVECAR and charge density during the iterations?

#6 Post by admin » Wed Oct 24, 2007 9:53 am

no, not by default. both are written after NELM steps (or after electronic convergence is reached), there is no input parameter to change this behavior
Last edited by admin on Wed Oct 24, 2007 9:53 am, edited 1 time in total.

Post Reply