I find a problem. When I use VASP. The terminal te...
تم الإنشاء في: ١٤ يناير ٢٠٢٦
تمت الإجابة باستخدام GPT-5.2 Thinking بواسطة Chat01
تم الإنشاء في: ١٤ يناير ٢٠٢٦
تمت الإجابة باستخدام GPT-5.2 Thinking بواسطة Chat01
My INCAR is:
SYSTEM = RuO2
NPAR = 4
KPAR = 6
ISTART = 0
ICHARG = 2
ISMEAR = -5
SIGMA = 0.01
ENCUT = 520
EDIFF = 1E-7
GGA = PE
LORBIT = 11
PREC = A
MIXPRE = 2
IMIX = 4
AMIX = 0.1
BMIX = 0.0001
AMIX_MAG = 0.4
BMIX_MAG = 0.0001
GGA_COMPAT = .FALSE.
WC = 100
MAXMIX = 60
NEDOS = 5000
#NELMIN = 60
NELM = 200
LMAXMIX = 6
LREAL = Auto
LWAVE = .FALSE.
LCHARG = .TRUE
ADDGRID = .TRUE
#NELMDL = -4
#NSW = 100
#IBRION = 3
#POTIM = 0.5
#ISIF = 2
#EDIFFG = -0.005
ISPIN = 2
MAGMOM = 120 124 36*0
What can I do to avoid the warning?
That warning is VASP telling you: ISMEAR = -5 (tetrahedron + Blöchl corrections) is great for accurate static total energies / DOS, but it is not variational w.r.t. partial occupations, so in metals the forces and stress can be wrong during relaxations. (smcm.iqfr.csic.es)
If you are relaxing ions and/or the cell (NSW>0, IBRION>=0, ISIF>0), switch to a smearing method for metals:
Typical relaxation choice (recommended):
iniISMEAR = 1 # Methfessel-Paxton (order 1) SIGMA = 0.2 # often 0.1–0.2 eV for metals
(or ISMEAR = 2 similarly). (wanglab.hosted.uark.edu)
Then, after the structure is converged, do a final single-point for accurate energies / DOS:
iniNSW = 0 IBRION = -1 ISMEAR = -5
This “relax with smearing → final static with tetrahedron” workflow is exactly what the VASP docs recommend. (wanglab.hosted.uark.edu)
ISMEAR=-5, SIGMA is effectively irrelevant (tetrahedron is “without smearing”). (vasp.at)SIGMA so the entropy term (often reported via the free energy vs. E0 difference) is small (rule of thumb: ~≤ 1 meV/atom). (vasp.at)If NSW=0 and you’re doing a pure static run, you can usually ignore the warning (it’s only warning you that forces/stress would be unreliable). But if your goal is simply “no warning,” switching away from -5 will remove it.
If you tell me whether you’re doing (a) ionic relaxation, (b) cell relaxation, or (c) static DOS/band calculation, I can suggest a clean minimal INCAR block for that exact job.
I did it, but fail. My INCAR is:
SYSTEM = RuO2
NPAR = 4
KPAR = 6
ISTART = 0
ICHARG = 2
ISMEAR = -5
SIGMA = 0.01
ENCUT = 520
EDIFF = 1E-7
GGA = PE
LORBIT = 11
PREC = A
MIXPRE = 2
IMIX = 4
AMIX = 0.1
BMIX = 0.0001
AMIX_MAG = 0.4
BMIX_MAG = 0.0001
GGA_COMPAT = .FALSE.
WC = 100
MAXMIX = 60
NEDOS = 5000
#NELMIN = 60
NELM = 200
LMAXMIX = 6
LREAL = Auto
LWAVE = .FALSE.
LCHARG = .TRUE
ADDGRID = .TRUE
#NELMDL = -4
IBRION = -1
NSW = 0
#IBRION = 3
#POTIM = 0.5
#ISIF = 2
#EDIFFG = -0.005
ISPIN = 2
MAGMOM = 120 124 36*0
That message is triggered by ISMEAR = -5 itself (tetrahedron with Blöchl corrections). It’s a warning, not an error, and VASP will print it whenever you choose the tetrahedron method because it’s not variational with respect to partial occupancies, so forces/stress can be wrong for metals. (smcm.iqfr.csic.es)
In the INCAR you posted, you still have:
iniISMEAR = -5
So the warning will still appear. Setting NSW=0 and IBRION=-1 just means no relaxation is performed, so the warning is harmless if you only care about total energy / DOS. (But it will still print.) (smcm.iqfr.csic.es)
You can only remove it by not using ISMEAR=-5.
Use smearing:
iniISMEAR = 1 # or 2 SIGMA = 0.1-0.2 NSW = 100 IBRION = 2 # (or 1/3 depending on your workflow) ISIF = 2 # or 3 if relaxing cell
This is what VASP recommends for metallic relaxations. (VASP)
Keep:
iniNSW = 0 IBRION = -1 ISMEAR = -5
The warning will still print, but it doesn’t “break” the calculation—it’s just telling you not to trust forces/stress from this setup. (smcm.iqfr.csic.es)
Don’t use -5; instead use a variational smearing (common choice is Fermi-Dirac):
iniISMEAR = -1 SIGMA = 0.05 # adjust as needed
(And check that the entropy/free-energy correction is small.) (VASP)
With ISMEAR=-5, SIGMA is essentially irrelevant because it’s “without smearing.” (VASP)
If you tell me what you’re trying to compute right now (relaxation? DOS? elastic constants/stress?), I’ll suggest a clean minimal INCAR for that exact goal.