Dear Prof. Peter Blaha,

I think I found another issue with kgen -1 mode especially concerned with 
I4/mmm symmetry.


As previously mentioned, the '-1' mode of kgen generates uneven k divisions, as 
you rightly pointed out. However, I've observed potential issues with the 
weight of the uneven k mesh, particularly in the context of I4/mmm symmetry 
(and possibly other symmetries as well). This discrepancy appears to lead to 
inaccuracies in determining the Fermi energy.


Here is how I benchmarked:


1. run_lapw -p  till converge for CaFe2As2 and 10 10 10 shift kmesh. 
save_lapw -d scf
2. x kgen generate 9 9 9 non shifted mesh | x lapw1 -p; x lapw2 -p -fermi | get 
Ef=0.5076760931
3. x kgen generate 9 9 13 non shifted mesh | x lapw1 -p; x lapw2 -p -fermi | 
get Ef=0.5028504280
2. x kgen -fbz generate full 9 9 9 non shifted mesh | x lapw1 -p; x lapw2 -p 
-fermi | get Ef=0.5076760047
3. x kgen -fbz generate full 9 9 13 non shifted mesh | x lapw1 -p; x lapw2 -p 
-fermi | get Ef=0.5077417577


You can observe the significant difference in the Ef obtained from the 9 9 13 
kmesh in the irreducible Brillouin zone (IBZ). However, the Ef calculated from 
the full Brillouin zone (FBZ) using the same mesh appears normal. Consequently, 
I suspect there may be an issue with the weight of k-points in the 9 9 13 mesh 
generated by your modified kgen. On the other hand, equal division kmesh 9 
9 9 gives consistent Ef for both ibz and fbz.


What is more, for 9 9 13 IBZ kmesh, when viewing fermi surface. xcrysden 1.6.2 
gives error. xcrysden 1.5.60 gives completely wrong fermi surface. 


Please help, thank you very much!


best regards







 




------------------ Original ------------------
From:                                                                           
                                             "A Mailing list for WIEN2k users"  
                                                                                
  <peter.bl...@tuwien.ac.at&gt;;
Date:&nbsp;Mon, Mar 11, 2024 08:33 PM
To:&nbsp;"wien"<wien@zeus.theochem.tuwien.ac.at&gt;;

Subject:&nbsp;Re: [Wien] Inconsistency in kgen



Ups.
Here it comes.

Am 11.03.2024 um 13:26 schrieb balabi via Wien:
&gt; Dear&nbsp;Prof. Peter Blaha
&gt; 
&gt; Thank you so much for your reply! But I can not find your attachment of 
&gt; bravai.f.gz
&gt; 
&gt; best regards
&gt; 
&gt; ------------------------------------------------------------------------
&gt; 
&gt; 
&gt; 
&gt; ------------------&nbsp;Original&nbsp;------------------
&gt; *From:* "A Mailing list for WIEN2k users" <peter.bl...@tuwien.ac.at&gt;;
&gt; *Date:*&nbsp;Mon, Mar 11, 2024 04:03 PM
&gt; *To:*&nbsp;"wien"<wien@zeus.theochem.tuwien.ac.at&gt;;
&gt; *Subject:*&nbsp;Re: [Wien] Inconsistency in kgen
&gt; 
&gt; Hi,
&gt; 
&gt; Thank you very much for your report. I can confirm the problem.
&gt; 
&gt; Both, for bct and bco lattices (body-centered tetragonal or 
&gt; orthorhombic) kgen enforced in default modes equal divisions of the 
&gt; reciprocal lattice vectors (as it should be for bcc). This was not a 
&gt; good choice and the selection made by option "-1" (mesh density in 
&gt; bohr^-1) is correct.
&gt; 
&gt; I attach a modified&nbsp;&nbsp; bravai.f.gz&nbsp; file, which should be 
copied and 
&gt; unziped in SRC_kgen, then recompiled (make; cp kgen ..).
&gt; 
&gt; PS: The prevous setting was not a problem if your k-mesh is converged 
&gt; (besides the larger computational effort), but may lead to extra 
&gt; inaccuracy for non-converged meshes.
&gt; 
&gt; Peter Blaha
&gt; 
&gt; Am 10.03.2024 um 14:48 schrieb ?????? via Wien:
&gt;&gt; Dear wien2k developers and users,
&gt;&gt;
&gt;&gt; I am using wien2k 23.2 and working with CaFe2As2 structure which has 
&gt;&gt; I4/mmm symmetry. I am trying to generate klist using kgen. The kgen 
&gt;&gt; has several mode:
&gt;&gt;
&gt;&gt; the 1st mode is to specify k-mesh density
&gt;&gt;
&gt;&gt; /NUMBER OF K-POINTS IN WHOLE CELL: (0 for 3 divisions of K, -1 for 
&gt;&gt; delta-K)/
&gt;&gt; /-1/
&gt;&gt; /&nbsp;length of reciprocal lattice vectors (bohr^-1): 
&nbsp;0.898&nbsp; &nbsp;0.898&nbsp; &nbsp;1.203/
&gt;&gt; /&nbsp; Specify density of k-mesh in bohr^-1:/
&gt;&gt; /0.2/
&gt;&gt; /&nbsp; Shift of k-mesh allowed. Do you want to shift: (0=no, 1=shift)/
&gt;&gt; /0/
&gt;&gt; /&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 17&nbsp; k-points generated, 
ndiv=&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;5 &nbsp; &nbsp; &nbsp;5&nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;7/
&gt;&gt; /&nbsp;delta-K (bohr^-1):&nbsp; &nbsp; &nbsp;0.1796&nbsp; &nbsp; 
0.1796&nbsp; &nbsp; 0.1719/
&gt;&gt; /KGEN ENDS/
&gt;&gt; /0.004u 0.016s 1:03.31 0.0%&nbsp; &nbsp; &nbsp; 0+0k 0+88io 0pf+0w/
&gt;&gt;
&gt;&gt; As you can see, the ndiv=5 5 7
&gt;&gt;
&gt;&gt; The 2nd mode is to specify number of k points
&gt;&gt;
&gt;&gt; /NUMBER OF K-POINTS IN WHOLE CELL: (0 for 3 divisions of K, -1 for 
&gt;&gt; delta-K)/
&gt;&gt; /1000/
&gt;&gt; /&nbsp;length of reciprocal lattice vectors (bohr^-1): 
&nbsp;0.898&nbsp; &nbsp;0.898&nbsp; &nbsp;1.203/
&gt;&gt; /&nbsp; Shift of k-mesh allowed. Do you want to shift: (0=no, 1=shift)/
&gt;&gt; /0/
&gt;&gt; /&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;102&nbsp; k-points generated, 
ndiv=&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 10 &nbsp; &nbsp; 10&nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; 10/
&gt;&gt; /&nbsp;delta-K (bohr^-1):&nbsp; &nbsp; &nbsp;0.0898&nbsp; &nbsp; 
0.0898&nbsp; &nbsp; 0.1203/
&gt;&gt; /KGEN ENDS/
&gt;&gt; /0.026u 0.003s 0:09.41 0.2%&nbsp; &nbsp; &nbsp; 0+0k 0+344io 0pf+0w/
&gt;&gt;
&gt;&gt; as you can see unlike -1 mode, the ndiv=10 10 10 which is even.
&gt;&gt;
&gt;&gt; The 3rd mode is to specify ndiv explicitly, and here comes the problem
&gt;&gt;
&gt;&gt; /NUMBER OF K-POINTS IN WHOLE CELL: (0 for 3 divisions of K, -1 for 
&gt;&gt; delta-K)/
&gt;&gt; /0/
&gt;&gt; /&nbsp;length of reciprocal lattice vectors (bohr^-1): 
&nbsp;0.898&nbsp; &nbsp;0.898&nbsp; &nbsp;1.203/
&gt;&gt; /&nbsp; Specify 3 mesh-divisions (n1,n2,n3):/
&gt;&gt; /5,5,7/
&gt;&gt; /&nbsp;Lattice symmetry requires equal mesh in x and z direction/
&gt;&gt; /&nbsp; Specify 3 mesh-divisions (n1,n2,n3):/
&gt;&gt;
&gt;&gt; If I set ndiv as 5 5 7 as -1 mode. It just does not work. kgen insists 
&gt;&gt; equal mesh on x and z. So I must input even ndiv like 5 5 5.
&gt;&gt;
&gt;&gt; So the current issue is why the ndiv obtained with the -1 mode in kgen 
&gt;&gt; is not uniform for the CaFe2As2 system, whereas ndiv obtained with the 
&gt;&gt; k-point mode is uniform, and using the 0 mode, it's impossible to set 
&gt;&gt; non-uniform ndiv at all??
&gt;&gt;
&gt;&gt; finally, I am attaching the struct file of CaFe2As2 as below
&gt;&gt;
&gt;&gt; /blebleble /
&gt;&gt; /B&nbsp; &nbsp;LATTICE,NONEQUIV.ATOMS:&nbsp; 3 139 I4/mmm /
&gt;&gt; /&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;RELA /
&gt;&gt; /&nbsp; 7.383336&nbsp; 7.383336 21.922849 90.000000 90.000000 
90.000000/
&gt;&gt; /ATOM&nbsp; -1: X=0.00000000 Y=0.00000000 Z=0.00000000/
&gt;&gt; /&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MULT= 1&nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; ISPLIT=-2/
&gt;&gt; /Ca1&nbsp; &nbsp; &nbsp; &nbsp; NPT=&nbsp; 781&nbsp; R0=0.00005000 
RMT= 2.50000&nbsp; &nbsp; &nbsp;Z: 20.0 /
&gt;&gt; /LOCAL ROT MATRIX:&nbsp; &nbsp; 1.0000000 0.0000000 0.0000000/
&gt;&gt; /&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;0.0000000 1.0000000 0.0000000/
&gt;&gt; /&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;0.0000000 0.0000000 1.0000000/
&gt;&gt; /ATOM&nbsp; -2: X=0.50000000 Y=0.00000000 Z=0.25000000/
&gt;&gt; /&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MULT= 2&nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; ISPLIT=-2/
&gt;&gt; /&nbsp; &nbsp; &nbsp; -2: X=0.00000000 Y=0.50000000 Z=0.25000000/
&gt;&gt; /Fe1&nbsp; &nbsp; &nbsp; &nbsp; NPT=&nbsp; 781&nbsp; R0=0.00005000 
RMT= 2.28&nbsp; &nbsp; &nbsp; &nbsp; Z: 26.0 /
&gt;&gt; /LOCAL ROT MATRIX:&nbsp; &nbsp; 0.7071068-0.7071068 0.0000000/
&gt;&gt; /&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;0.7071068 0.7071068 0.0000000/
&gt;&gt; /&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;0.0000000 0.0000000 1.0000000/
&gt;&gt; /ATOM&nbsp; -3: X=0.00000000 Y=0.00000000 Z=0.63490625/
&gt;&gt; /&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MULT= 2&nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; ISPLIT=-2/
&gt;&gt; /&nbsp; &nbsp; &nbsp; -3: X=0.00000000 Y=0.00000000 Z=0.36509375/
&gt;&gt; /As1&nbsp; &nbsp; &nbsp; &nbsp; NPT=&nbsp; 781&nbsp; R0=0.00005000 
RMT= 2.17&nbsp; &nbsp; &nbsp; &nbsp; Z: 33.0 /
&gt;&gt; /LOCAL ROT MATRIX:&nbsp; &nbsp; 1.0000000 0.0000000 0.0000000/
&gt;&gt; /&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;0.0000000 1.0000000 0.0000000/
&gt;&gt; /&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;0.0000000 0.0000000 1.0000000/
&gt;&gt; /&nbsp; 16&nbsp; &nbsp; &nbsp; NUMBER OF SYMMETRY OPERATIONS/
&gt;&gt; /&nbsp;1 0 0 0.00000000/
&gt;&gt; /&nbsp;0 1 0 0.00000000/
&gt;&gt; /&nbsp;0 0 1 0.00000000/
&gt;&gt; /&nbsp; &nbsp; &nbsp; &nbsp;1/
&gt;&gt; /-1 0 0 0.00000000/
&gt;&gt; /&nbsp;0-1 0 0.00000000/
&gt;&gt; /&nbsp;0 0 1 0.00000000/
&gt;&gt; /&nbsp; &nbsp; &nbsp; &nbsp;2/
&gt;&gt; /&nbsp;0-1 0 0.00000000/
&gt;&gt; /&nbsp;1 0 0 0.00000000/
&gt;&gt; /&nbsp;0 0 1 0.00000000/
&gt;&gt; /&nbsp; &nbsp; &nbsp; &nbsp;3/
&gt;&gt; /&nbsp;0 1 0 0.00000000/
&gt;&gt; /-1 0 0 0.00000000/
&gt;&gt; /&nbsp;0 0 1 0.00000000/
&gt;&gt; /&nbsp; &nbsp; &nbsp; &nbsp;4/
&gt;&gt; /-1 0 0 0.00000000/
&gt;&gt; /&nbsp;0 1 0 0.00000000/
&gt;&gt; /&nbsp;0 0-1 0.00000000/
&gt;&gt; /&nbsp; &nbsp; &nbsp; &nbsp;5/
&gt;&gt; /&nbsp;1 0 0 0.00000000/
&gt;&gt; /&nbsp;0-1 0 0.00000000/
&gt;&gt; /&nbsp;0 0-1 0.00000000/
&gt;&gt; /&nbsp; &nbsp; &nbsp; &nbsp;6/
&gt;&gt; /&nbsp;0 1 0 0.00000000/
&gt;&gt; /&nbsp;1 0 0 0.00000000/
&gt;&gt; /&nbsp;0 0-1 0.00000000/
&gt;&gt; /&nbsp; &nbsp; &nbsp; &nbsp;7/
&gt;&gt; /&nbsp;0-1 0 0.00000000/
&gt;&gt; /-1 0 0 0.00000000/
&gt;&gt; /&nbsp;0 0-1 0.00000000/
&gt;&gt; /&nbsp; &nbsp; &nbsp; &nbsp;8/
&gt;&gt; /-1 0 0 0.00000000/
&gt;&gt; /&nbsp;0-1 0 0.00000000/
&gt;&gt; /&nbsp;0 0-1 0.00000000/
&gt;&gt; /&nbsp; &nbsp; &nbsp; &nbsp;9/
&gt;&gt; /&nbsp;1 0 0 0.00000000/
&gt;&gt; /&nbsp;0 1 0 0.00000000/
&gt;&gt; /&nbsp;0 0-1 0.00000000/
&gt;&gt; /&nbsp; &nbsp; &nbsp; 10/
&gt;&gt; /&nbsp;0 1 0 0.00000000/
&gt;&gt; /-1 0 0 0.00000000/
&gt;&gt; /&nbsp;0 0-1 0.00000000/
&gt;&gt; /&nbsp; &nbsp; &nbsp; 11/
&gt;&gt; /&nbsp;0-1 0 0.00000000/
&gt;&gt; /&nbsp;1 0 0 0.00000000/
&gt;&gt; /&nbsp;0 0-1 0.00000000/
&gt;&gt; /&nbsp; &nbsp; &nbsp; 12/
&gt;&gt; /&nbsp;1 0 0 0.00000000/
&gt;&gt; /&nbsp;0-1 0 0.00000000/
&gt;&gt; /&nbsp;0 0 1 0.00000000/
&gt;&gt; /&nbsp; &nbsp; &nbsp; 13/
&gt;&gt; /-1 0 0 0.00000000/
&gt;&gt; /&nbsp;0 1 0 0.00000000/
&gt;&gt; /&nbsp;0 0 1 0.00000000/
&gt;&gt; /&nbsp; &nbsp; &nbsp; 14/
&gt;&gt; /&nbsp;0-1 0 0.00000000/
&gt;&gt; /-1 0 0 0.00000000/
&gt;&gt; /&nbsp;0 0 1 0.00000000/
&gt;&gt; /&nbsp; &nbsp; &nbsp; 15/
&gt;&gt; /&nbsp;0 1 0 0.00000000/
&gt;&gt; /&nbsp;1 0 0 0.00000000/
&gt;&gt; /&nbsp;0 0 1 0.00000000/
&gt;&gt; /&nbsp; &nbsp; &nbsp; 16/
&gt;&gt;
&gt;&gt;
&gt;&gt; best regards
&gt;&gt; 
------------------------------------------------------------------------
&gt;&gt;
&gt;&gt; _______________________________________________
&gt;&gt; Wien mailing list
&gt;&gt; Wien@zeus.theochem.tuwien.ac.at
&gt;&gt; http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
&gt;&gt; SEARCH the MAILING-LIST 
at:http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html
&gt; 
&gt; -- 
&gt; -----------------------------------------------------------------------
&gt; Peter Blaha,&nbsp; Inst. f. Materials Chemistry, TU Vienna, A-1060 Vienna
&gt; Phone: +43-158801165300
&gt; 
Email:peter.bl...@tuwien.ac.at&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
&gt; WWW:http://www.imc.tuwien.ac.at&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
WIEN2k:http://www.wien2k.at
&gt; -------------------------------------------------------------------------
&gt; 
&gt; 
&gt; _______________________________________________
&gt; Wien mailing list
&gt; Wien@zeus.theochem.tuwien.ac.at
&gt; http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
&gt; SEARCH the MAILING-LIST at:&nbsp; 
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html

-- 
--------------------------------------------------------------------------
Peter BLAHA, Inst.f. Materials Chemistry, TU Vienna, A-1060 Vienna
Phone: +43-1-58801-165300
Email: peter.bl...@tuwien.ac.at&nbsp;&nbsp;&nbsp; WIEN2k: http://www.wien2k.at
WWW:&nbsp;&nbsp; http://www.imc.tuwien.ac.at
-------------------------------------------------------------------------
_______________________________________________
Wien mailing list
Wien@zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
SEARCH the MAILING-LIST at:&nbsp; 
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html
_______________________________________________
Wien mailing list
Wien@zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
SEARCH the MAILING-LIST at:  
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html

Reply via email to