a2f_iso λ strongly dependent on Gaussian broadening vs ephwrite — convergence / which is authoritative?

Hello,

I have a question about a discrepancy between the a2f_iso and ephwrite routes
for the isotropic λ, and how to converge a2f_iso properly.
Using EPW 6.1 on a conventional phonon-mediated superconductor (SrB3C3), the
isotropic λ from the a2f_iso route depends strongly on the Gaussian broadening
used for a2f, and sits well below the ephwrite result. Same ephmat; fsthick =
0.4 eV on the a2f_iso runs:

a2f_iso, Gaussian broadening 0.025 eV, fine q-grid 13824 : λ = 0.535, w_log 50.2 meV, Tc 9.4 K
a2f_iso, Gaussian broadening 0.050 eV, fine q-grid 13824 : λ = 0.692, w_log 49.0 meV, Tc 19.9 K
ephwrite route, fine q-grid 8000 : λ = 0.885, w_log 47.9 meV, Tc 33.4 K

As the broadening widens (0.025 → 0.050 eV), the a2f_iso λ climbs (0.535 →
0.692) and w_log drifts toward the ephwrite value, so a2f_iso appears to be
converging upward toward ephwrite, but is far from converged at these settings.
The ephwrite λ (~0.885) is close to what I also get from the anisotropic solve
(~0.912).

I should note the ephwrite run used a coarser fine q-grid (8000) than the
a2f_iso runs (13824), so some of the gap may be grid-related as well as
smearing-related — part of what I’m trying to disentangle.

Questions:

  1. Is this strong Gaussian-broadening dependence of the a2f_iso λ expected, and
    is a broadening-convergence study the correct way to obtain the physical λ
    from a2f_iso? Is there a recommended protocol / convergence criterion
    (relative to fsthick and the q-grid density)?
  2. The ephwrite route gives a λ much less sensitive to this smearing. When
    a2f_iso (unconverged in broadening) and ephwrite disagree, which should be
    treated as authoritative for the reported λ?
  3. Given the two routes here also differ in fine q-grid, is there guidance on
    isolating the route effect from the grid effect?

Happy to share the full epw.in files and settings. Thanks

Follow-up to my own post — please disregard the broadening sweep above

On re-checking my own input files, the first two rows in my original post (λ = 0.535 and 0.692, “13824 fine q-grid”) were not a Gaussian-broadening sweep of the configuration I meant to test. Those two runs came from an earlier, different setup: 3 Wannier functions (nbndsub = 3) on a 24×24×24 fine grid, not the 24-band, 60×60×60 production configuration. They are not comparable to the ephwrite number on either axis, so the “a2f_iso converging upward with broadening” trend I described is not real. I withdraw that framing and the grid-vs-route question that went with it.

The actual discrepancy, from two inputs that are byte-identical except for the route flag:

  • Both: EPW 6.1, nbndsub = 24, fine grids nkf 60³ / nqf 20³, degaussw = 0.10 eV, fsthick = 0.4 eV, efermi_read with the same Fermi energy.
  • Both .out files print the same upstream quantities: Fermi energy 12.0907 eV, DOS at E_F 0.967508 states/spin/eV/cell, Gaussian broadening 0.100000 eV (single smearing).
  • a2f_iso route (a2f_iso = .true., ephwrite = .false., liso = .true.): λ = 0.6416492
  • ephwrite route (ephwrite = .true., liso = .true., laniso = .false.): λ = 0.9122532
  • Ratio 0.9122532 / 0.6416492 = 1.4217. The anisotropic solve on the same system gives λ = 0.9122532, matching the ephwrite value to all figures.

So with the Fermi level, DOS, broadening, fsthick and both fine grids identical, and the only input difference being the route flag, the two isotropic λ differ by a clean, uniform factor of ~1.42.

Questions:

  1. With all inputs and all printed intermediates identical, what in the a2f_iso construction versus the ephwrite/read_ephmat path produces a uniform ~1.42 difference in the isotropic λ?
  2. Which route should be treated as authoritative for a reported isotropic λ in a conventional phonon-mediated superconductor?

Happy to share both epw.in files and the full .out headers. Thanks, and apologies for the noise in the original post.

Hello Maghetti,

Sorry for the late reply; I was trying to answer your first point, but I could not reproduce the discrepancy.

Both methods perform the same calculation. In the current a2f_iso implementation, degeneracy averaging over the electron bands at k and k+q was not implemented. This does not affect the result, and the averaging is implemented and will be merged with the develop branch of EPW soon. In my tests, both methods give the same lambda values.

Regarding the anisotropic lambda you mentioned: that is not the anisotropic value. It corresponds to the isotropic lambda. The anisotropic quantities are lambda_nk or lambda_nk_mk+q, which are reported as histogram-like distributions. Even when running with the anisotropic option, the code still prints the isotropic a2F and lambda because the isotropic Eliashberg gap is used as the starting guess for the anisotropic solution.

Would you mind sharing your epw.in and output files so I can reproduce the discrepancy?

Thanks,

Shashi

Thank you for your help Shashi and understood on the anisotropic value I withdraw that line.

One correction to my Sept 21 post: the two runs quoted there were on EPW 6.0 (QE 7.5), not 6.1. I have since repeated both on EPW 6.1 (QE 7.6), with prefix.a2f moved out of the run directory beforehand, and the result is unchanged.

System: SrB3C3 (Pm-3n), ambient reference, reproducing Wang, Yan & Gao, PRB 103, 144515 (2021), which reports lambda = 0.92.

The two epw2 inputs are identical in every parameter except the route flags (a2f_iso / ephwrite); control_E.in additionally sets restart = .false., which is the default. Both: 24 Wannier bands, fine grids nkf = 60x60x60 and nqf = 20x20x20, degaussw = 0.10 eV, degaussq = 0.50 meV, nqstep = 500, fsthick = 0.4 eV, and the same Fermi level (12.0907 eV, efermi_read). Both routes print the same DOS at E_F (0.967508 states/spin/eV/cell). In every run the output confirms alpha^2F was computed rather than read (0 occurrences of “a2f file is found”).

Results:

  • ephwrite + liso (isotropic Eliashberg): lambda = 0.9122532, on EPW 6.0 and again on EPW 6.1
  • a2f_iso: lambda = 0.6416492, on EPW 6.0 and again on EPW 6.1

Each route reproduces itself exactly across the two versions; the ratio is 1.4217 in both. Each route’s own .a2f file integrates to its printed lambda (a2f_iso file: “Summed el-ph coupling 0.6415565”; ephwrite file: 0.9121240), so the difference is already in the alpha^2F functions, not in the solver. I also notice the a2f_iso run writes a single smearing column to prefix.a2f while the ephwrite run writes all ten, on the same frequency grid.

SrB3C3 is cubic (Pm-3n) with three bands of the sp3 sigma manifold crossing E_F, so band degeneracies near E_F are expected. Could the missing degeneracy averaging in the current a2f_iso path account for our 1.42x difference? If so, is there a develop-branch commit with the averaging that we could build and test on this same input?

The EPW 6.1 pair — both epw.in files, both full .out files, and both prefix.a2f files. The .out and .a2f files (~600 KB total) are available if needed — let me know a preferred route.

control_A.in (a2f_iso route, md5 bc3cb03d):

--
&inputepw
  prefix       = 'srb3c3'
  outdir       = './'
  dvscf_dir    = '/flare/ResonanceMaterials-RTSC/scf_base/srb3c3/save'
  amass(1)     = 87.62
  amass(2)     = 10.811
  amass(3)     = 12.011
  elph         = .true.
  epwread      = .true.
  epwwrite     = .false.
  epbread      = .false.
  epbwrite     = .false.
  etf_mem      = 0
  lifc         = .true.
  asr_typ      = 'crystal'
  wannierize   = .false.
  nbndsub      = 24
  bands_skipped = 'exclude_bands = 1:8, 33:45'
  efermi_read  = .true.
  fermi_energy = 12.0907
  a2f_iso      = .true.
  eliashberg   = .true.
  liso         = .true.
  limag        = .true.
  ephwrite     = .false.
  laniso       = .false.
  mp_mesh_k    = .true.
  fsthick      = 0.4
  degaussw     = 0.10
  degaussq     = 0.50
  nqsmear      = 10
  nqstep       = 500
  muc          = 0.10
  nsiter       = 500
  wscut        = 1.0
  max_memlt    = 60.0d0
  temps        = 5
  nk1 = 4
  nk2 = 4
  nk3 = 4
  nq1 = 4
  nq2 = 4
  nq3 = 4
  nkf1 = 60
  nkf2 = 60
  nkf3 = 60
  nqf1 = 20
  nqf2 = 20
  nqf3 = 20
/

control_E.in (ephwrite route, md5 536d1efb):

--
&inputepw
  prefix       = 'srb3c3'
  outdir       = './'
  dvscf_dir    = '/flare/ResonanceMaterials-RTSC/scf_base/srb3c3/save'
  amass(1)     = 87.62
  amass(2)     = 10.811
  amass(3)     = 12.011
  elph         = .true.
  epwread      = .true.
  epwwrite     = .false.
  epbread      = .false.
  epbwrite     = .false.
  etf_mem      = 0
  lifc         = .true.
  asr_typ      = 'crystal'
  wannierize   = .false.
  nbndsub      = 24
  bands_skipped = 'exclude_bands = 1:8, 33:45'
  efermi_read  = .true.
  fermi_energy = 12.0907
  a2f_iso      = .false.
  eliashberg   = .true.
  liso         = .true.
  limag        = .true.
  ephwrite     = .true.
  laniso       = .false.
  mp_mesh_k    = .true.
  max_memlt    = 60.0d0
  fsthick      = 0.4
  degaussw     = 0.10
  degaussq     = 0.50
  nqsmear      = 10
  nqstep       = 500
  muc          = 0.10
  nsiter       = 500
  wscut        = 1.0
  temps        = 5
  restart      = .false.
  nk1 = 4
  nk2 = 4
  nk3 = 4
  nq1 = 4
  nq2 = 4
  nq3 = 4
  nkf1 = 60
  nkf2 = 60
  nkf3 = 60
  nqf1 = 20
  nqf2 = 20
  nqf3 = 20
/