AECCAR0 file has all NaN wriiten

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


Moderators: Global Moderator, Moderator

Message
Author
aturner-epcc
Newbie
Newbie
Posts: 4
Joined: Tue Nov 12, 2019 10:32 am

Re: AECCAR0 file has all NaN wriiten

#16 Post by aturner-epcc » Fri Feb 03, 2023 10:19 am

I have had one of our HPC service users question if this bug is fixed in the latest VASP 5.4.4 source code on the VASP portal (VASP 5.4.4.pl2). I think it is from testing results, but I cannot find anything in VASP 5.4.4.pl2 release notes that mention this bug being fixed.

If anyone can confirm this is fixed, that would be much appreciated.

fabien_tran1
Global Moderator
Global Moderator
Posts: 419
Joined: Mon Sep 13, 2021 11:02 am

Re: AECCAR0 file has all NaN wriiten

#17 Post by fabien_tran1 » Fri Feb 03, 2023 11:05 am

Hi,

It seems that this bug was fixed about one year ago and the fix is included in VASP since version 6.3.0. From what I can see, the bug fix should consist of just adding "CHTOT=0" below "ALLOCATE(CHTOT(DIMREAL(GRIDUS%MPLWV)))" in the subroutine AUGCHG in aedens.F.

Code: Select all

      IF (LADDITIONAL) THEN
         ALLOCATE(CHTOT(DIMREAL(GRIDUS%MPLWV)))
         CHTOT=0
      ENDIF
You can make this modification in the source code and recompile the code to see if it really solves the problem.

fabien_tran1
Global Moderator
Global Moderator
Posts: 419
Joined: Mon Sep 13, 2021 11:02 am

Re: AECCAR0 file has all NaN wriiten

#18 Post by fabien_tran1 » Fri Feb 03, 2023 2:39 pm

After discussing with a colleague, I have to mention that the proposed fix (adding CHTOT=0) may not be enough, and that the source of the problem may not be completely solved. We will let you know if a final solution is found.

Post Reply