Page 1 of 1

Achieving step by step convergence by setting NELM

Posted: Tue Apr 29, 2014 9:32 am
by hipertrofia
I guess this is a bit of a weird question, and a strange thing to do, but it actually makes sense in the context of my situation. Basically I need to run hybrid functional calculations that typically take very long. The batch system of the cluster I am using favors short jobs and it is very difficult to get the whole job I need to do allocated.

The strategy I am using is to set NELM to some small value so that VASP has the time to finish each subcalculation within the time frame allowed by the batch system. Schematically, the logical sequence would be something like this:

Code: Select all

cat >INCAR<<eof
General options for geometry etc.
Hybrid functional options
ISTART = 1 ! Restart from previous calculation
NSW = 0 ! Don't update ionic positions
NELM = 3 ! Write WF after 3 iterations
eof

for i in 1 2 3 4...
do

# Each of these is allocated by the queueing system
srun vasp

# This allows to monitor convergence
cp OSZICAR OSZICAR_step_${i}

done
What are the possible issues and performance losses associated with this approach, besides the obvious read/write of files?



<span class='smallblacktext'>[ Edited ]</span>

Re: Achieving step by step convergence by setting NELM

Posted: Tue Sep 10, 2024 2:36 pm
by support_vasp

Hi,

We're sorry that we didn’t answer your question. This does not live up to the quality of support that we aim to provide. The team has since expanded. If we can still help with your problem, please ask again in a new post, linking to this one, and we will answer as quickly as possible.

Best wishes,

VASP