Problem with nshiftk and shiftk

Total energy, geometry optimization, DFT+U, spin....

Moderator: bguster

Locked
dima
Posts: 4
Joined: Fri Jun 11, 2010 2:07 pm

Problem with nshiftk and shiftk

Post by dima » Wed Jul 07, 2010 12:19 pm

Hello dear abiniters! Sorry for my poor english.
From tutorial (abinit/doc_6.0.2/input_variables/varbas.html#shiftk) when we use FCC lattice, the best way to sample k-space is to use nshiftk 4 and shiftk 0.5 0.5 0.5
0.5 0.0 0.0
0.0 0.5 0.0
0.0 0.0 0.5
Then, if we write this values in our example.in file and run our calculation, after the end of calculation in example.out file we don't find nshiftk, and shiftk will be only = 0.5 0.5 0.5.
My question is: Why it is happened?
As an example you can compare ~abinit/tests/tutorespfn/Input/tnlo_2.in and ~abinit/tests/tutorespfn/Refs/tnlo_2.out

david.waroquiers
Posts: 138
Joined: Sat Aug 15, 2009 12:45 am

Re: Problem with nshiftk and shiftk

Post by david.waroquiers » Wed Jul 07, 2010 5:41 pm

Hello,

The idea is that this combination of 4 shiftk's with ngkpt n n n for FCC lattice corresponds to a k-point mesh defined by kptrlatt -n n n n -n n n n -n (if I remember well) and only one shift of the mesh. That might be the output of your simulation.

David

mverstra
Posts: 655
Joined: Wed Aug 19, 2009 12:01 pm

Re: Problem with nshiftk and shiftk

Post by mverstra » Wed Jul 28, 2010 6:01 pm

You probably did not specify nshiftk 4. The default is 1 (that's why it is not written to output), and only the first line of your shiftk is being read.

Matthieu
Matthieu Verstraete
University of Liege, Belgium

Locked