Error · VASP · 5 min read
WARNING in EDDRMM: call to ZHEGV failed
WARNING in EDDRMM: call to ZHEGV failed, returncode = 6 3 197That is the line as a user posted it on the VASP forum in May 2020, from VASP 5.4.1, where it appeared from the second ionic step of a relaxation onward. The numbers after returncode change from line to line, and a run can print this line many times (one 2005 post counts 18796 in a single ionic step).
Checked against the docs · VASP wiki and VASP forum · Last checked 12 November 2026 · Spot a mistake? Tell us
Short answer
It is a warning from the RMM-DIIS solver (ALGO = Fast or VeryFast): one small matrix step failed for one band, and VASP moves on. If the run still converges, VASP-team answers on the forum treat it as harmless; if it does not, check the geometry and switch to ALGO = Normal.
What does this warning mean?
VASP finds the electronic ground state by repeatedly improving the electron states (the bands). With ALGO = Fast or ALGO = VeryFast, it does much of this with RMM-DIIS (the residual-minimization method with direct inversion in the iterative subspace), which works on one band at a time; its steps are the lines labeled RMM: in the output. The wiki calls RMM-DIIS faster than the default Davidson solver "but less robust", and notes that VASP alternates it with a subspace rotation (a small diagonalization over all bands) and re-orthonormalizes the bands after it.
ZHEGV is the routine from the LAPACK maths library that solves the small generalized eigenvalue problems in these steps; the forum's administrator described it in 2005 as a routine for "a complex generalized Hermitian definite eigenproblem". The warning says that one such call, inside the RMM-DIIS solver (EDDRMM in the output), failed.
A post in a 2020 thread explains what VASP then does: the warning appears when RMM-DIIS is very close to machine accuracy for a band, and VASP simply stops updating that band and goes on to the next; the post calls it "just a warning (no error)", present in every version, VASP 6 included. A VASP moderator replied the next day that these messages were meant to be removed from the output. That explanation was posted under a user rank, not as an answer from the VASP team, and the moderator's reply confirms only the plan to remove the message; whether current versions still print it is not stated. So do not ignore the warning on that post's word alone: check in OSZICAR that the electronic steps around it still converge, as the first step below describes.
What usually causes it?
- Nothing wrong, close to convergence. The 2020 explanation above: machine accuracy limits in RMM-DIIS. In that case the run converges and the warning can be ignored.
- RMM-DIIS not being stable for the setup. The forum's administrator, in 2005, put this first.
- An unreasonable geometry. The same 2005 answer: the input geometry was not reasonable (the warning appears at the very first ionic step), or the last relaxation step led to an unreasonable geometry.
- The maths library. The same answer lists a LAPACK library that was not installed properly.
- An old version. In 2020 a VASP moderator could not reproduce a user's warnings on VASP 5.4.1 with VASP 6.1.0, and suggested upgrading.
What should I try, in order?
- Check whether the run converges. Look in
OSZICARthat every ionic step's electronic loop reachedEDIFFbeforeNELM, and, for a relaxation, that it reachedEDIFFGbeforeNSWsteps ran out. If it did, the 2020 explanation says the warning is harmless. - If it does not converge, switch the electronic algorithm. The 2005 answer suggests
ALGO = Normal(blocked Davidson) orALGO = Fast(Davidson first, then RMM-DIIS). The wiki'sALGOpage callsNormalthe robust default andVeryFastthe least robust. - Check the geometry. Look at the structure at the first ionic step in
OUTCARand at the later ones inXDATCAR, as the 2005 answer suggests. In a relaxation that went somewhere unreasonable, it suggests a different relaxation algorithm (IBRION) or a smaller first step (POTIMbelow its default of 0.5). - Check the VASP version. If yours is old, ask whoever maintains VASP on your cluster whether a newer one is available; Tell a bug from a mistake covers how to check the Known issues page and the Changelog.
Monitor shows the job's log, where this line appears, and Explain this error, in the Inspector, gathers the log's last lines for Ask Verlet, showing you the exact text before anything is sent. Everything on this page works without it.