HSE06 with yambo
Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan, Nicola Spallanzani
Forum rules
If you have trouble compiling Yambo, please make sure to list:
(1) the compiler (vendor and release: e.g. intel 10.1)
(2) the architecture (e.g. 64-bit IBM SP5)
(3) if the problems occur compiling in serial/in parallel
(4) the version of Yambo (revision number/major release version)
(5) the relevant compiler error message
If you have trouble compiling Yambo, please make sure to list:
(1) the compiler (vendor and release: e.g. intel 10.1)
(2) the architecture (e.g. 64-bit IBM SP5)
(3) if the problems occur compiling in serial/in parallel
(4) the version of Yambo (revision number/major release version)
(5) the relevant compiler error message
-
- Posts: 169
- Joined: Sat Aug 17, 2019 2:48 pm
Re: HSE06 with yambo
Dear Dr. Daniele,
The scf in and out files are attached.
Here I just changed the functional type to HSE and did not introduce any hybrid parameters (to tackle divergence problem) and vacuum thing.
The Scalar PPs were taken from PseudoDojo.
Thanks,
The scf in and out files are attached.
Here I just changed the functional type to HSE and did not introduce any hybrid parameters (to tackle divergence problem) and vacuum thing.
The Scalar PPs were taken from PseudoDojo.
Thanks,
You do not have the required permissions to view the files attached to this post.
Haseeb Ahmad
MS - Physics,
LUMS - Pakistan
MS - Physics,
LUMS - Pakistan
- Daniele Varsano
- Posts: 4198
- Joined: Tue Mar 17, 2009 2:23 pm
- Contact:
Re: HSE06 with yambo
Dear Haseeb,
we will take a look.
Just for your info: when using HSE06 in QE you need to specify the divergence treatment as "gygi-baldereschi" while the vacuum treatment can be handled just adding enough vacuum.
Pseudo dojo pseudo potential are not optimal for hybrid functional calculation as you can see for the QE output:
BEWARE: nonlinear core correction is not consistent with hybrid XC
for the same reason they are not consistent with Many Body calculation, so I suggest you to use sg15 pseudpopontentials (http://www.quantum-simulation.org/potentials/sg15_oncv/).
In any case, the problem you are facing seems not related with the functional and pseudo.
Best,
Daniele
we will take a look.
Just for your info: when using HSE06 in QE you need to specify the divergence treatment as "gygi-baldereschi" while the vacuum treatment can be handled just adding enough vacuum.
Pseudo dojo pseudo potential are not optimal for hybrid functional calculation as you can see for the QE output:
BEWARE: nonlinear core correction is not consistent with hybrid XC
for the same reason they are not consistent with Many Body calculation, so I suggest you to use sg15 pseudpopontentials (http://www.quantum-simulation.org/potentials/sg15_oncv/).
In any case, the problem you are facing seems not related with the functional and pseudo.
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/
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/
-
- Posts: 169
- Joined: Sat Aug 17, 2019 2:48 pm
Re: HSE06 with yambo
Dear Dr. Daniele,
Sorry for disturbing you again with the same query!
I just want to know, what should I do to circumvent the above-mentioned issue (Optics with HSE06 using Yambo)?
I checked the older version (4.5), which also yielded the same error! So, is it something in re-compiling p2y interface?
Thanks again,
Sorry for disturbing you again with the same query!
I just want to know, what should I do to circumvent the above-mentioned issue (Optics with HSE06 using Yambo)?
I checked the older version (4.5), which also yielded the same error! So, is it something in re-compiling p2y interface?
Thanks again,
Haseeb Ahmad
MS - Physics,
LUMS - Pakistan
MS - Physics,
LUMS - Pakistan
- Daniele Varsano
- Posts: 4198
- Joined: Tue Mar 17, 2009 2:23 pm
- Contact:
Re: HSE06 with yambo
Dear Haseeb,
unfortunately I still did not find the time to reproduce your error.
I hope to find it soon and I will be back to you asap.
Best,
Daniele
unfortunately I still did not find the time to reproduce your error.
I hope to find it soon and I will be back to you asap.
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/
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/
-
- Posts: 169
- Joined: Sat Aug 17, 2019 2:48 pm
Re: HSE06 with yambo
Alright, dear Dr. Daniele. Thanks for your time and help.
Haseeb Ahmad
MS - Physics,
LUMS - Pakistan
MS - Physics,
LUMS - Pakistan
- Daniele Varsano
- Posts: 4198
- Joined: Tue Mar 17, 2009 2:23 pm
- Contact:
Re: HSE06 with yambo
Dear Haseeb,
sorry for the very late reply.
I had a look to your problem.
You can overcome it by:
1) in QE use input_dft="HSE" instead of HSE06
2) next in Yambo you need to change the following lines in:
/interfaces/p2y/mod_p2y.F
subroutine get_xc
around line 911:
where "-" is remove and "+" is add lines.
essentially you need to define XC_HYB_GGA_XC_HSE06 and include the GS_xc_FUNCTIONAL==XC_HYB_GGA_XC_HSE06*XC_FACTOR condition in the if statement.
Then recompile "make p2y" and it should work correctly.
If you have problem please post it again.
Best,
Daniele
sorry for the very late reply.
I had a look to your problem.
You can overcome it by:
1) in QE use input_dft="HSE" instead of HSE06
2) next in Yambo you need to change the following lines in:
/interfaces/p2y/mod_p2y.F
subroutine get_xc
Code: Select all
- & XC_FACTOR,XC_HYB_GGA_XC_GAUPBE,XC_HYB_GGA_XC_PBEH,XC_HYB_GGA_XC_B3LYP
+& XC_FACTOR,XC_HYB_GGA_XC_GAUPBE,XC_HYB_GGA_XC_PBEH,XC_HYB_GGA_XC_B3LYP,XC_HYB_GGA_XC_HSE06
Code: Select all
- & GS_xc_FUNCTIONAL==XC_HYB_GGA_XC_B3LYP*XC_FACTOR.or.GS_xc_FUNCTIONAL==0) then
+ & GS_xc_FUNCTIONAL==XC_HYB_GGA_XC_B3LYP*XC_FACTOR.or.&
+ & GS_xc_FUNCTIONAL==XC_HYB_GGA_XC_HSE06*XC_FACTOR.or.GS_xc_FUNCTIONAL==0) then
essentially you need to define XC_HYB_GGA_XC_HSE06 and include the GS_xc_FUNCTIONAL==XC_HYB_GGA_XC_HSE06*XC_FACTOR condition in the if statement.
Then recompile "make p2y" and it should work correctly.
If you have problem please post it again.
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/
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/
-
- Posts: 169
- Joined: Sat Aug 17, 2019 2:48 pm
Re: HSE06 with yambo
Dear Daniele,
In terms of the procedure, I tried this and p2y worked perfectly fine! So, thanks again!
No, it's okay!! Thanks for the help, in fact.sorry for the very late reply.
In terms of the procedure, I tried this and p2y worked perfectly fine! So, thanks again!
Haseeb Ahmad
MS - Physics,
LUMS - Pakistan
MS - Physics,
LUMS - Pakistan