Page 1 of 1

confused about the parameter of "getden"

Posted: Fri Jan 13, 2017 1:14 am
by ucsdmavrl
Dear ABINIT developers and users,

I am quite confused about the flag of "getden", though I have gone over the ABINIT doc for this parameter many times.
I do not understand the difference between positive (say, 1) and -1. In particular, what is the purpose to use a positive getden?
Could you pls explain it a bit?

The other question is that when I used getden = -1 for band structure calculation, I have the following problem

"The list of kpoints does not represent a homogeneous sampling of the BZ
Kpoint weights should sum up to one while sum_weights is 67.000"

when using abipy(developed by gmatteo) to deal with the data. I know it might be not appropriate to ask abipy question here, but I do hope you can help me to check my input for Band Structure calculations to make sure that I did not make mistakes.

Thanks,

Ben

Re: confused about the parameter of "getden"  [SOLVED]

Posted: Fri Jan 13, 2017 11:37 am
by ebousquet
Dear Ben,
I don't know about the abipy error but for the getden it just refers to which dataset you want to read the density file (_DEN). If it is equal to -1 then it will read the DEN file from the previous dataset calculation, if it is -2, from the 2nd previous dataset, etc. If you put positive value it will read the DEN file from the dataset number given by getden, for example, if you put getden=2 it will read the DEN file from dataset 2, if you put getden=5 it will read the DEN file from dataset 5, etc. If you specify a getden that does not correspond to an existing DEN file then it will not read any density file.
Best wishes,
Eric

Re: confused about the parameter of "getden"

Posted: Fri Jan 13, 2017 5:46 pm
by ucsdmavrl
ebousquet wrote:Dear Ben,
I don't know about the abipy error but for the getden it just refers to which dataset you want to read the density file (_DEN). If it is equal to -1 then it will read the DEN file from the previous dataset calculation, if it is -2, from the 2nd previous dataset, etc. If you put positive value it will read the DEN file from the dataset number given by getden, for example, if you put getden=2 it will read the DEN file from dataset 2, if you put getden=5 it will read the DEN file from dataset 5, etc. If you specify a getden that does not correspond to an existing DEN file then it will not read any density file.
Best wishes,
Eric


Thanks for your explanations. It clears all things. I will try to contact abipy developers for help.