Internal error (bandgap_tools.F) during HSE calculation in VASP 6.4.3

Problems running VASP: crashes, internal errors, "wrong" results.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
alicja_hertmanowska
Newbie
Newbie
Posts: 1
Joined: Tue Jul 28, 2026 8:25 am

Internal error (bandgap_tools.F) during HSE calculation in VASP 6.4.3

#1 Post by alicja_hertmanowska » Tue Jul 28, 2026 10:32 am

Hi,

I'm trying an HSE with AEXX=0.15 calculation for a LiMn0.17Ni0 oxide structure with VASP 6.4.3. However, I'm getting a bug with this calculation, and I'm wondering how to resolve this issue and whether there is anything wrong with the calculation.

The error is:

Code: Select all

internal error in: bandgap_tools.F at line: 316

Could not determine new bound in interval bisection. Most likely this means that the eigenvalues are not sorted.

The electronic minimisation doesn't appear to converge. I also performed this calculation with HSE directly, without the PBE calculation.

In a previous attempt, I also got this error:

Code: Select all

internal error in: rot.F at line: 805

EDWAV: internal error, the gradient is not orthogonal 1 1 4.372e-3

Any help with this would be much appreciated - thank you.

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

henrique_miranda
Global Moderator
Global Moderator
Posts: 591
Joined: Mon Nov 04, 2019 12:41 pm
Contact:

Re: Internal error (bandgap_tools.F) during HSE calculation in VASP 6.4.3

#2 Post by henrique_miranda » Thu Jul 30, 2026 9:00 am

Hi, the bandgap_tools.F error is a known bug: the gap-finder assumed eigenvalues are always sorted, which isn't guaranteed (e.g. with ALGO = Fast). We fixed it in vasp 6.6.0 and I just added it to the KnownIssues#98.

The rot.F EDWAV error looks like a separate, unrelated convergence issue.
Does it persist when you use vasp 6.6.0?

[EDIT] I just noticed you did not specify initial magnetic moments, does the issue go away when you set them using the MAGMOM tag?


Post Reply