Queries about input and output files, running specific calculations, etc.
Moderators: Global Moderator, Moderator
-
tomasz.w
- Newbie

- Posts: 11
- Joined: Tue Apr 12, 2016 2:06 am
- License Nr.: 5-2346
#1
Post
by tomasz.w » Wed Jun 11, 2025 8:40 pm
Dear Developers,
I'd like to use vaspwave.h5, containing both wavefunction and charge density (checked with h5ls), from scf calculations to calculate a band structure. In the latter, when I set ICHARG=11, there is an ERROR: charge density could not be read from file CHGCAR for ICHARG>10. When I don't set ICHARG, VASP reads in only the wavefunction (not the charge density), and performs an scf calculation on the k-points path. I'd appreciate your help, and updates in documentation/tutorials, accordingly.
Kind regards,
Tomasz
-
pedro_melo
- Global Moderator

- Posts: 188
- Joined: Thu Nov 03, 2022 1:03 pm
#2
Post
by pedro_melo » Thu Jun 12, 2025 8:22 am
Dear Tomasz,
Could you upload the input files (INCAR, POSCAR, POTCAR, KPOINTS) that you used in both calculations, as well as their respective OUTCAR files? It will help with tracing the issue.
Kind regards,
Pedro
-
tomasz.w
- Newbie

- Posts: 11
- Joined: Tue Apr 12, 2016 2:06 am
- License Nr.: 5-2346
#3
Post
by tomasz.w » Thu Jun 12, 2025 4:26 pm
Dear Pedro,
I'm attaching the files to this post.
Kind regards,
Tomasz
You do not have the required permissions to view the files attached to this post.
-
pedro_melo
- Global Moderator

- Posts: 188
- Joined: Thu Nov 03, 2022 1:03 pm
#4
Post
by pedro_melo » Fri Jun 13, 2025 2:09 pm
Dear Tomasz,
After testing your files, I noticed that you are setting LH5=.TRUE.. When set to false, VASP actually writes information to the CHGCAR file, which is then used in the next step for the band structure, even with ICHARG=11.
I am not sure right now why this happens, so for now I can just advise you to keep LH5=.FALSE.. With that you can obtain a band structure, as I show in the attached image. I will investigate this further and come back to you.
Kind regards,
Pedro
You do not have the required permissions to view the files attached to this post.