As posed by the question.
Ionic relaxation can be done by taking the last structure from the CONTCAR file. How can I do the same thing for SCF calculations?
Can I restart a SCF calculation job that ran out of time?
Moderators: Global Moderator, Moderator
-
- Newbie
- Posts: 16
- Joined: Wed Jan 24, 2024 7:33 pm
-
- Global Moderator
- Posts: 139
- Joined: Thu Nov 03, 2022 1:03 pm
Re: Can I restart a SCF calculation job that ran out of time?
Dear reynaldo.putra,
Currently VASP allows you to read a WAVECAR file from a previous calculation. Please see the page wiki/index.php/ISTART. You could tell VASP to stop the SCF cycle after a certain number of iterations, write the wave functions and the density to the WAVECAR, and restart from that. Note that you will need to keep a consistent parallelisation scheme, namely to ensure that the number of bands remains the same.
Kind regards,
Pedro
Currently VASP allows you to read a WAVECAR file from a previous calculation. Please see the page wiki/index.php/ISTART. You could tell VASP to stop the SCF cycle after a certain number of iterations, write the wave functions and the density to the WAVECAR, and restart from that. Note that you will need to keep a consistent parallelisation scheme, namely to ensure that the number of bands remains the same.
Kind regards,
Pedro
-
- Newbie
- Posts: 16
- Joined: Wed Jan 24, 2024 7:33 pm
Re: Can I restart a SCF calculation job that ran out of time?
Dear Pedro,
Thank you for your response. I am not too familiar with the computation schemes. Could you explain to me what a consistent parallelisation scheme is, and how I should design my input files so that I would have a consistent parallelisation scheme?
Best regards,
Reynaldo
Thank you for your response. I am not too familiar with the computation schemes. Could you explain to me what a consistent parallelisation scheme is, and how I should design my input files so that I would have a consistent parallelisation scheme?
Best regards,
Reynaldo
-
- Global Moderator
- Posts: 139
- Joined: Thu Nov 03, 2022 1:03 pm
Re: Can I restart a SCF calculation job that ran out of time?
Dear Reynaldo,
I meant that the size of the arrays has to be consistent, specially when you set up NBANDS. As you are probably aware, VASP can adjust the value of NBANDS depending on the number of processes that run the job. So when you resubmit the new job, please make sure that this value is the same that VASP used in the previous run. The same for the cutoff variables like ENCUT and ENCUTGW.
Kind regards,
Pedro
I meant that the size of the arrays has to be consistent, specially when you set up NBANDS. As you are probably aware, VASP can adjust the value of NBANDS depending on the number of processes that run the job. So when you resubmit the new job, please make sure that this value is the same that VASP used in the previous run. The same for the cutoff variables like ENCUT and ENCUTGW.
Kind regards,
Pedro