GW unoccupied states have strange anomalies

Concerns issues with computing quasiparticle corrections to the DFT eigenvalues - i.e., the self-energy within the GW approximation (-g n), or considering the Hartree-Fock exchange only (-x)

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

engelund
Posts: 18
Joined: Wed Jun 14, 2023 2:47 pm
Location: Luxembourg

Re: GW unoccupied states have strange anomalies

Post by engelund » Tue Dec 12, 2023 10:12 pm

Concerning using the box cut-off, nothing changed - the jump even occurs in the same place 254/255. I also tried it without cut-off entirely with the same result.

I looked at the wave-functions before and after the shift, but I cannot really see anything problematic (perhaps more trained eyes can so I attached the images).
You do not have the required permissions to view the files attached to this post.
Dr. Mads Engelund
Espeem SARL
Luxembourg

User avatar
Davide Sangalli
Posts: 620
Joined: Tue May 29, 2012 4:49 pm
Location: Via Salaria Km 29.3, CP 10, 00016, Monterotondo Stazione, Italy
Contact:

Re: GW unoccupied states have strange anomalies

Post by Davide Sangalli » Wed Dec 13, 2023 9:48 am

Ok. Then I suspect something strange is happening, for example some index going out of bounds, or similar.

If you are using gfortran, try recompiling running the configure with the following options

Code: Select all

FCFLAGS="-O3  -mtune=native -fcheck=bounds"
"-fcheck=bounds" is the relevant one.

you can just run the HF part of the simulation

Code: Select all

yambo -x
I can also try to reproduce the issue, but I need the pseudo-potentials. Can you provide them?

Best,
D.
Davide Sangalli, PhD
CNR-ISM, Division of Ultrafast Processes in Materials (FLASHit) and MaX Centre
https://sites.google.com/view/davidesangalli
http://www.max-centre.eu/

engelund
Posts: 18
Joined: Wed Jun 14, 2023 2:47 pm
Location: Luxembourg

Re: GW unoccupied states have strange anomalies

Post by engelund » Thu Dec 14, 2023 5:11 pm

Hi Davide,

Here are the exact pseudos I used if you wish to do some testing. It is just the "stringent" versions of the dojo pseudos (which for these elements are the same as the standard ones I think).

Testing the alternative compilation may take a while for me since I need to go through IT to get an as similar as possible compilation.
You do not have the required permissions to view the files attached to this post.
Dr. Mads Engelund
Espeem SARL
Luxembourg

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

Re: GW unoccupied states have strange anomalies

Post by Daniele Varsano » Thu Dec 14, 2023 5:36 pm

Dear Mads,

Pseudodojo pseudopotential do have non-linear core correction. Can you try to repeat your calculation (just yambo -x) to look at the <Vxc> value after adding in your input file the keyword:

Code: Select all

UseNLCC
In this way the NLCC contribution is included in the Vxc term which otherwise discarded.

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/

engelund
Posts: 18
Joined: Wed Jun 14, 2023 2:47 pm
Location: Luxembourg

Re: GW unoccupied states have strange anomalies

Post by engelund » Fri Dec 15, 2023 1:49 pm

Hi Davide,
Answering to an earlier request, we use the "ifort" compiler for Yambo, is there an equivalent compilation flag to try for this compiler?
Dr. Mads Engelund
Espeem SARL
Luxembourg

engelund
Posts: 18
Joined: Wed Jun 14, 2023 2:47 pm
Location: Luxembourg

Re: GW unoccupied states have strange anomalies

Post by engelund » Fri Dec 15, 2023 3:23 pm

Hi Daniele,
I have attached the test that you suggested. I don't see any Vxc in the output, though. Where would I find that?
Anyway, the jump in values still occurs.
I expected that since changing the pseudos completely did not resolve the issue.
You do not have the required permissions to view the files attached to this post.
Dr. Mads Engelund
Espeem SARL
Luxembourg

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

Re: GW unoccupied states have strange anomalies

Post by Daniele Varsano » Mon Dec 18, 2023 9:27 am

Dear Mads,

the <vxc> values are in the report and indicated as <nlXC|n>, i.e. local xc. In the same lines, you find also <n|nlXC|n> which is the non-local part, i.e. Fock's elements. And yes, the problem persists.

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/

engelund
Posts: 18
Joined: Wed Jun 14, 2023 2:47 pm
Location: Luxembourg

Re: GW unoccupied states have strange anomalies

Post by engelund » Fri Dec 22, 2023 12:26 pm

Dear Davide,
I think you missed my question: How should I modify the compilation for Yambo when using the ifort compiler?

I will make a test with the gfortran compiler as well, but if there is a way to avoid such a large departure I would prefer it so that I can more easily zero in on the problem.
Dr. Mads Engelund
Espeem SARL
Luxembourg

engelund
Posts: 18
Joined: Wed Jun 14, 2023 2:47 pm
Location: Luxembourg

Re: GW unoccupied states have strange anomalies

Post by engelund » Fri Jan 12, 2024 4:00 pm

It has been a while and I have not made much progress.

Did anyone try this calculation?
Can anyone tell me how I should modify the compilation to potentially fix the "out-of-bounds" problem with an ifort compiler?
Dr. Mads Engelund
Espeem SARL
Luxembourg

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

Re: GW unoccupied states have strange anomalies

Post by Daniele Varsano » Wed Jan 17, 2024 12:27 pm

Dear Mads,

the flag to check bounds in intel should be:

Code: Select all

-check bounds 
to be added in the FCFLAGS variable.

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