Inconsistent Grid dimensions between PWSCF and Yambo

Concerns any physical issues arising during the setup step (-i option). This includes problems with symmetries, k/q-point sets, and so on. For technical problems (running in parallel, etc), refer to the Technical forum.

Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, Daniele Varsano

Post Reply
lyzhao
Posts: 57
Joined: Tue May 31, 2016 8:02 am

Inconsistent Grid dimensions between PWSCF and Yambo

Post by lyzhao » Tue Oct 29, 2024 3:27 am

Dear all,
I run a calculation for a system with the following lattice

Code: Select all

 
 CELL_PARAMETERS {bohr}
   15.962193    0.000000    0.000000
    0.000000   13.947070    0.000000
    0.000000    0.000000    9.727789
 
 K_POINTS automatic
  3 3 5 0 0 0
 
In initialization, yambo shows the following Grid

Code: Select all

Grid dimensions      :   5   3   3
It seems to be inconsistent, what happens?
How to make them consistent?

r_setup and pwscf input files are attached.

Best regards,
Youzhao Lan
You do not have the required permissions to view the files attached to this post.
Youzhao Lan
College of Chemistry and Materials Science,
Zhejiang Normal University,
Jinhua, Zhejiang, China.
HomePage: http://blog.sciencenet.cn/u/lyzhao

User avatar
Daniele Varsano
Posts: 4198
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: Inconsistent Grid dimensions between PWSCF and Yambo

Post by Daniele Varsano » Tue Oct 29, 2024 9:20 am

Dear Youzhao,

Most probably all is correct (the QE output is not attached).
Please compare the k points listed by Yambo and the ones of QE output and check it, considering that now the K grid is
ordered as follows and the first K direction is along z.

Code: Select all

Base K vectors       :  K_min[ 1 ]  K_min[ 2 ]  K_min[ 3 ]
  K_min[ 1 ] :  0.000000  0.000000 -0.200000 [rlu]
  K_min[ 2 ] :  0.333333  0.000000  0.000000 [rlu]
  K_min[ 3 ] :  0.000000 -0.333333  0.000000 [rlu]
Best,
Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/

lyzhao
Posts: 57
Joined: Tue May 31, 2016 8:02 am

Re: Inconsistent Grid dimensions between PWSCF and Yambo

Post by lyzhao » Tue Oct 29, 2024 11:06 am

Dear Daniele,
Thanks for your quick reply.
PWSCF outfile is attached.
And could you tell what the meaning of K_min is?

Best regards.
You do not have the required permissions to view the files attached to this post.
Youzhao Lan
College of Chemistry and Materials Science,
Zhejiang Normal University,
Jinhua, Zhejiang, China.
HomePage: http://blog.sciencenet.cn/u/lyzhao

User avatar
Daniele Varsano
Posts: 4198
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: Inconsistent Grid dimensions between PWSCF and Yambo

Post by Daniele Varsano » Thu Oct 31, 2024 7:45 am

Dear Youzhao,

the k points of qe and yambo are indeed the same, you can compare the list reported in the r_setup in the section

Code: Select all

[02.04] K-grid lattice 

with the list in the qe output in cryst. coord..

Yambo just ordered in different way the basis of the k vectors.
K_min is the smallest k vector present in the grid for each vector of the basis, ie essentially the spacing of the grid.
As you can see, the index 1 is along z, the second along x and the third along y, so the yambo grid (5,3,3) is exactly the same of qe (3,3,5).
Best,
Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/

Post Reply