On-the-fly change of INCAR flags
Posted: Mon May 27, 2024 5:00 pm
Dear VASP Team and Users,
First, I'd like to mention that I don't have any experience with Fortran or scientific programming, so my question might be a bit unwise. However, I'm curious about something.
Is it possible to change certain INCAR parameters during a calculation? For instance,Eg. EDIFF, EDIFFG, NELM, NSW, POTIM, and especially the TIME flag for the Damped algorithm, which greatly affects convergence speed.
This idea came to me after experiencing the need to restart calculations due to suboptimal parameter choices, sometimes after couple of days spending in the queue. It would be very convenient to adjust these parameters on-the-fly, similar to how the LSTOP and LABORT flags work.
Is it feasible to implement such a feature, and how difficult would it be? One approach could be to create a CHANGECAR file with the same flags as in the INCAR file (excluding crucial ones), and then modify the main.F file to read this CHANGECAR file and update the parameters.
Best regards,
First, I'd like to mention that I don't have any experience with Fortran or scientific programming, so my question might be a bit unwise. However, I'm curious about something.
Is it possible to change certain INCAR parameters during a calculation? For instance,Eg. EDIFF, EDIFFG, NELM, NSW, POTIM, and especially the TIME flag for the Damped algorithm, which greatly affects convergence speed.
This idea came to me after experiencing the need to restart calculations due to suboptimal parameter choices, sometimes after couple of days spending in the queue. It would be very convenient to adjust these parameters on-the-fly, similar to how the LSTOP and LABORT flags work.
Is it feasible to implement such a feature, and how difficult would it be? One approach could be to create a CHANGECAR file with the same flags as in the INCAR file (excluding crucial ones), and then modify the main.F file to read this CHANGECAR file and update the parameters.
Best regards,