While running the code in parallel, I got different phonon scattering rates depending on if I set epwrite to true or false (epwread is always set to false). Setting epwwrite = .true. seems to give phyically correct scattering rates. I looked at the source file ephwann_shuffle.f90 and found this IF block (starting at line #378 in the QE6.0 distro),
Code: Select all
IF (ionode) THEN
IF (etf_mem) THEN
CALL ephbloch2wanp &
( nbndsub, nmodes, xqc, nqc, irvec, nrr_k, nrr_q, epmatwe )
ELSE
CALL ephbloch2wanp_mem &
( nbndsub, nmodes, xqc, nqc, irvec, nrr_k, nrr_q, epmatwe_mem )
ENDIF
ENDIF
To me, the
Code: Select all
IF (ionode) THEN
Code: Select all
ENDIF
Code: Select all
ionode
Please, please someone help to take a look and let me know if I understand this correctly and if simly commenting out these two lines would remedy the problem. Or if there are more to this? Thanks!
Best,
licf