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
how can I write WAVECAR and charge density during the iterations?
Moderators: Global Moderator, Moderator
-
- 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?
Last edited by zj on Tue May 17, 2005 2:37 pm, edited 1 time in total.
-
- Administrator
- Posts: 2921
- Joined: Tue Aug 03, 2004 8:18 am
- License Nr.: 458
how can I write WAVECAR and charge density during the iterations?
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 ]
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.
-
- 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?
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?
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.
-
- Administrator
- Posts: 2921
- Joined: Tue Aug 03, 2004 8:18 am
- License Nr.: 458
how can I write WAVECAR and charge density during the iterations?
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.
-
- Newbie
- Posts: 1
- Joined: Fri Apr 07, 2006 7:40 am
how can I write WAVECAR and charge density during the iterations?
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.
-
- Administrator
- Posts: 2921
- Joined: Tue Aug 03, 2004 8:18 am
- License Nr.: 458
how can I write WAVECAR and charge density during the iterations?
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.