MPA error in yambo 5.3

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

Post Reply
User avatar
csk
Posts: 21
Joined: Wed Aug 28, 2024 9:54 pm

MPA error in yambo 5.3

Post by csk » Mon Mar 16, 2026 4:04 pm

Dear all!

I can successfully use the MPA with yambo 5.2, however when using the same input file (generated with yambo 5.3, similar syntax as in the tutorial example), I get the error "Damping = 0.0 not compatible with MPA dielectric constant". Now this can be mitigated by setting a small number in the damping, e.g.
% DmRngeXm
0.0001 | 2.721139 | eV # [Xm] Damping range
%

However, then I still get an error in the error file of the slurm controller "Caught signal 8 (Floating point exception: integer divide by zero)" when yambo later tries to compute X from X0 at the first Q-Pt.

How can this different behaviour be understood? I generate the input file with yambo 5.3 and I also attach the input, log, and report files of the run with yambo 5.2 in the attachment. Should I rather report an issue on git?

Thanks for your help,
Christian
You do not have the required permissions to view the files attached to this post.
Christian Kern, University of Graz, Austria

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

Re: MPA error in yambo 5.3

Post by Daniele Varsano » Tue Mar 17, 2026 1:51 pm

Dear Christian,

yes, assigning a small value in the Damping for the X is the way to proceed.

Code: Select all

% DmRngeXm
0.0001 | 2.721139 | eV # [Xm] Damping range
%
It is not clear to me what0s the source of the error. Can you please post the input file of the 5.3 run?
In the manwhile can you try to run the 5.4 beta branch and see if the problem perists.

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/

Giacomo Sesti
Posts: 2
Joined: Thu Dec 15, 2022 10:54 am

Re: MPA error in yambo 5.3

Post by Giacomo Sesti » Tue Mar 17, 2026 4:51 pm

Dear Christian,

I rerun your calculation on yambo 5.3 to reproduce your error, using your input file. For the DFT, I used the same lattice parameters and atomic positions, but different pseudos.

The MPA calculation works correctly for me, provided that you set a finite DmRngeXm as you did:
% DmRngeXm
0.0001 | 2.721139 | eV # [Xm] Damping range
%
I attach the report and log file of my calculation.

Btw I noticed a typo in your input file, it should be NGsBlkXm instead of NGsBlkXp for MPA. Otherwise, the calculation just runs just on 1 RL ( it did not signal any error also in that case)

Best,
Giacomo
You do not have the required permissions to view the files attached to this post.
Dr. Giacomo Sesti
S3-CNR Institute of Nanoscience, Italy

User avatar
csk
Posts: 21
Joined: Wed Aug 28, 2024 9:54 pm

Re: MPA error in yambo 5.3

Post by csk » Wed Mar 18, 2026 3:15 pm

Dear Giacomo and Daniele!

Thanks for your help! I think this typo was indeed the problem: "it should be NGsBlkXm instead of NGsBlkXp for MPA", thanks for spotting it!

Now the calculation runs fine. That you don't get an error with 1 RL block size and I do could maybe depend on the machine and/or parallelization...?

Anyway, thanks a lot!
Christian
Christian Kern, University of Graz, Austria

Post Reply