Page 1 of 1
[WARNING] Wavefunctions not converged for non-scf cal
Posted: Sat Nov 19, 2011 2:42 pm
by Zhang Xiaole
Dear users
i am trying to calculate the non-linear suscepblity of LiNbO3.After structure optimization, i run the calculation of response fuction.In the process of non-self calculation, the log file warning me wavefunction not converged for nnsclo. i think this will not be good to the results, i wonder how to sovle this promble,besids, my nstep=3000 is not a small one. Why dosnt it converged?
this is my input file
Thanks in advanced
--Xiaole
Re: [WARNING] Wavefunctions not converged for non-scf cal
Posted: Sat Nov 19, 2011 2:46 pm
by Zhang Xiaole
this is my log file
vtowfk: WARNING -
Wavefunctions not converged for nnsclo,ikpt= 3000 4 max resid= 1.96403E-10
vtowfk: WARNING -
Wavefunctions not converged for nnsclo,ikpt= 3000 25 max resid= 1.96420E-10
vtowfk: WARNING -
Wavefunctions not converged for nnsclo,ikpt= 3000 74 max resid= 1.14385E-18
vtowfk: WARNING -
Wavefunctions not converged for nnsclo,ikpt= 3000 76 max resid= 9.39728E-16
vtowfk: WARNING -
Wavefunctions not converged for nnsclo,ikpt= 3000 90 max resid= 9.39747E-16
vtowfk: WARNING -
Wavefunctions not converged for nnsclo,ikpt= 3000 193 max resid= 1.96455E-10
vtowfk: WARNING -
Wavefunctions not converged for nnsclo,ikpt= 3000 202 max resid= 9.39730E-16
leave_test : synchronization done...
vtorho: loop on k-points and spins done in parallel
scprqt: WARNING -
nstep= 3000 was not enough non-SCF iterations to converge;
maximum residual= 1.965E-10 exceeds tolwfr= 1.000E-20
ioarr: writing density data
ioarr: file name is tnlo_2o_DS2_DEN
ioarr: data written to disk file tnlo_2o_DS2_DEN
leave_test : synchronization done...
================================================================================
----iterations are completed or convergence reached----
outwf : write wavefunction to file tnlo_2o_DS2_WFK
leave_test : synchronization done...
=== Gap info ===
>>>> For spin 1
Minimum optical gap = 2.3507 [eV], located at k-point : 0.0625 0.0625 0.0625
Fundamental gap = 2.2908 [eV], Top of valence bands at : 0.0625 0.0625 0.0625
Bottom of conduction at : -0.4375 -0.4375 0.0625
================================================================================
Re: [WARNING] Wavefunctions not converged for non-scf cal
Posted: Mon Dec 05, 2011 11:19 am
by sponce
Dear Xiaole,
I've look at your input file and I have the following suggestions:
1) Are you sure that your atoms are in the relaxed position? A small deviation from the minimum can lead to pretty bad results as the DFPT is based on the assumption that we are in the ground state position and we smally perturb away from it.
2) iscf 7 is usually beter than iscf 5 for nc psp (I knwo that in the tutorial it is iscf 5 but it is an old tutorial).
http://www.abinit.org/documentation/hel ... .html#iscf3) In your first dataset, why is toldfe at 1E10. We usually take at least 1E12
4) why are you putting nbdbuf 0 ? I would put it to something like 4 (and increase nband accordingly). This will help you converge your wf.
If non of the above work, I would say that yes your nstep is very high and that a residue of 1E-10 seems not so bad to me...
Re: [WARNING] Wavefunctions not converged for non-scf cal
Posted: Mon Dec 05, 2011 2:03 pm
by Zhang Xiaole
sponce wrote:Dear Xiaole,
I've look at your input file and I have the following suggestions:
1) Are you sure that your atoms are in the relaxed position? A small deviation from the minimum can lead to pretty bad results as the DFPT is based on the assumption that we are in the ground state position and we smally perturb away from it.
2) iscf 7 is usually beter than iscf 5 for nc psp (I knwo that in the tutorial it is iscf 5 but it is an old tutorial).
http://www.abinit.org/documentation/hel ... .html#iscf3) In your first dataset, why is toldfe at 1E10. We usually take at least 1E12
4) why are you putting nbdbuf 0 ? I would put it to something like 4 (and increase nband accordingly). This will help you converge your wf.
If non of the above work, I would say that yes your nstep is very high and that a residue of 1E-10 seems not so bad to me...
Dear sponce,
Thanks for you kind reponses, i am really appreciate. i am also wondering if there someting wrong with my structure optimization, and i noticed the nband parameters as well (i just used the default value that the code generate, i found that the value is equal to the vanlence band.). So this time i just rise 5 or 6 nband above the vanlence band (is that ok?) and is the parameter for nbdbuf neccesery equal to the number that i rised (like 5 or 6)?
Re: [WARNING] Wavefunctions not converged for non-scf cal
Posted: Mon Dec 05, 2011 2:19 pm
by sponce
Dear Xiaole,
The nbdbuf variable give you the number of band to put in the buffer. What it mean is that the code will use those band as a buffer and therefore you will have a faster convergence on your wavefunction. As those bands are in the buffer it is not consider as true band and then not converged upon. It mean that the buffer bands will not be converged. These bands are just there to allow some flexibility in the convergence. If you material is a semiconductor I would recommend you to use:
nband = number of valence band + 4 (conduction bands) + 4 buffer bands
nbdbuf = 4
It mean that the true band on which the convergence will be done is number of valence band + 4
Cheers!
Re: [WARNING] Wavefunctions not converged for non-scf cal
Posted: Mon Dec 05, 2011 2:37 pm
by Zhang Xiaole
sponce wrote:Dear Xiaole,
The nbdbuf variable give you the number of band to put in the buffer. What it mean is that the code will use those band as a buffer and therefore you will have a faster convergence on your wavefunction. As those bands are in the buffer it is not consider as true band and then not converged upon. It mean that the buffer bands will not be converged. These bands are just there to allow some flexibility in the convergence. If you material is a semiconductor I would recommend you to use:
nband = number of valence band + 4 (conduction bands) + 4 buffer bands
nbdbuf = 4
It mean that the true band on which the convergence will be done is number of valence band + 4
Cheers!
Dear sponce
Thank you very much, i think i have a little bit deeper understanding for the calculation.i will have a try immediately. Thank you again~
Xiaole