Error reading KPOINTS file.The error occurred at line: 87.

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


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
aniket_singha
Newbie
Newbie
Posts: 28
Joined: Fri Dec 18, 2020 1:23 pm

Error reading KPOINTS file.The error occurred at line: 87.

#1 Post by aniket_singha » Fri Apr 28, 2023 7:23 am

Error reading KPOINTS file. |
| The error occurred at line: 87.

I am trying to study defect in 2D structure.
The KPOINTS file is used for pristine Bandstructure calculation and it's doesn't issue any error and provides a successful simulation. But when I use the same KPOINTS file for a structure with a defect, it gives m an error as mentioned above.

The line 87 is nothing but a blank space after explicit KPOINTS.
Even if I remove the blank space and the file has just 86 lines but it still issues the same error.

Please provide me a solution. (All files attached including pristine as well as the defect one)

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

aniket_singha
Newbie
Newbie
Posts: 28
Joined: Fri Dec 18, 2020 1:23 pm

Re: Error reading KPOINTS file.The error occurred at line: 87.

#2 Post by aniket_singha » Sun Apr 30, 2023 6:25 am

Expecting a response from your side.

Thanks.

aniket_singha
Newbie
Newbie
Posts: 28
Joined: Fri Dec 18, 2020 1:23 pm

Re: Error reading KPOINTS file.The error occurred at line: 87.

#3 Post by aniket_singha » Tue May 02, 2023 2:44 am

This is related to bandstructure unfolding.

merzuk.kaltak
Administrator
Administrator
Posts: 282
Joined: Mon Sep 24, 2018 9:39 am

Re: Error reading KPOINTS file.The error occurred at line: 87.

#4 Post by merzuk.kaltak » Tue May 02, 2023 8:53 am

Dear Aniket Singha,
the issue comes from the provided KPOINTS file and the line ISMEAR=-5 in your INCAR.
Note that the tetrahedron method produces other IBKZPT files compared to other smearing methods.
I suggest you either replace the KPOINTS file or use

Code: Select all

ISMEAR=0 ; SIGMA = 0.05 
in your INCAR file.

A final remark is in place here,
It seems you use this tutorial to plot the band structure, since you provide an explicit list of k-points (band structure path) with weight 0 for which you want vasp to evaluate the Kohn-Sham energies.
Since your selected functional does not contain an exact exchange bit, you may also calculate the band structure with the interpolation method in two steps:
  • first calculate the ground state WAVECAR of your defect with ICHARG=2
  • read in WAVECAR from first step and provide a proper KPOINTS file in line mode with ICHARG=11

Post Reply