Errors in AIMD simulation

Queries about input and output files, running specific calculations, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
manoj_wijesingha
Newbie
Newbie
Posts: 48
Joined: Wed Sep 21, 2022 6:52 pm

Errors in AIMD simulation

#1 Post by manoj_wijesingha » Tue Aug 12, 2025 3:38 am

Hi Colleagues,
When I was running the AIMD simulation, it was popped up the error message "Error EDDDAV: Call to ZHEGV failed. Returncode = 23 1 24". I have attached the files for your review.
Thank you.

Best
Manoj

You do not have the required permissions to view the files attached to this post.

manuel_engel1
Global Moderator
Global Moderator
Posts: 269
Joined: Mon May 08, 2023 4:08 pm

Re: Errors in AIMD simulation

#2 Post by manuel_engel1 » Tue Aug 12, 2025 9:10 am

Hi Manoj,

Thanks for reaching out! This error that you encounter means that the Davidson algorithm during the electronic minimization step has failed. However, this algorithm failing is usually an indicator that something else is going on.

During the final few MD steps that lead up to the crash, VASP issues the following information

Code: Select all

Information: wavefunction orthogonal band   72  0.8598

The final SCF loop that fails also shows really huge energies:

Code: Select all

       N       E
DAV:   1    -0.879874029851E+02 ...
DAV:   2    -0.187511517486E+06 ... <- here
DAV:   3    -0.782599980741E+02 ...
DAV:   4    -0.830074247797E+02 ...

This means that the AIMD calculation you are performing is not stable enough. First, I encourage you to look at the final few atomic configuration in the XDATCAR file and see if the dynamics make sense (are the atoms too close to each other? are they accelerating? etc.). This could give you an impression of what is going on. However, in any case, you will have to change a few computational parameters to improve the stability of the calculation. Here are a few suggestions:

  • Try increasing the number of k-points. This system is relatively small and might not properly converge with just the Gamma point, leading to instabilities.

  • Try setting IWAVPR=11. This is a simpler prediction algorithm for the wavefunctions compared to the default for MD (IWAVPR=12). However, in your case, it might improve the stability. See this forum post for more context.

  • Depending on what you see in the trajectory file (XDATCAR), you might want to decrease your time step via POTIM.

Manuel Engel
VASP developer


manoj_wijesingha
Newbie
Newbie
Posts: 48
Joined: Wed Sep 21, 2022 6:52 pm

Re: Errors in AIMD simulation

#3 Post by manoj_wijesingha » Tue Aug 12, 2025 12:07 pm

Thank you so much for your response and the explanation, Manuel.

Best,
Manoj


Post Reply