convergence and memory issues in EPC
Posted: Tue Aug 29, 2017 10:14 am
Dear all,
I am trying to calculate the electron phonon coupling constant for cubic P. In the wannierize and phonon calculations, 8x8x8 kmesh and qmesh are used. I can perfectly reproduce the band structure and phonon spectrum in DFT. But the convergence of EPC constant is not good. I have plotted the lambda as a function of smearing for different kmesh and qmesh (see https://www.dropbox.com/s/ce1353m958m1dss/CubicP_EPW_lambda.png?dl=0). But the curves has never been flat when sigma approaches zero( I have used very dense kmesh and qmesh.). I have two questions?
(1) How to achieve the convergence in EPC calculation? Increase kmesh and qmesh continuously and see what happens ? But there is a limit in computer resources, sometimes the convergence seems impossible. How can we reach a relatively good convergence using limited computer resources?
(2) the memory issue. with 8x8x8 kmesh in wannierize calculations, I can obtain good band structure but the Fermi level and DOS at Ef differ from those in DFT. If I do calculations with 16x16x16 kmesh(I use 8x8x8 qmesh) in wannierize calculations, I can get very good DOS at Ef. However, now the code stops before writing *.epmatwp1 file. I think it is due to the exhaustion of memory. I have increased the number of cores and setted etf_mem = .false. but they donot work. With 16x16x16 kmesh, is there any other methods to reduce the memory?(I have used etf_mem=2, but I got an error in reading input).
Thanks in advance for the help!
Best wishes!
Xianxin Wu
My input in EPW
I am trying to calculate the electron phonon coupling constant for cubic P. In the wannierize and phonon calculations, 8x8x8 kmesh and qmesh are used. I can perfectly reproduce the band structure and phonon spectrum in DFT. But the convergence of EPC constant is not good. I have plotted the lambda as a function of smearing for different kmesh and qmesh (see https://www.dropbox.com/s/ce1353m958m1dss/CubicP_EPW_lambda.png?dl=0). But the curves has never been flat when sigma approaches zero( I have used very dense kmesh and qmesh.). I have two questions?
(1) How to achieve the convergence in EPC calculation? Increase kmesh and qmesh continuously and see what happens ? But there is a limit in computer resources, sometimes the convergence seems impossible. How can we reach a relatively good convergence using limited computer resources?
(2) the memory issue. with 8x8x8 kmesh in wannierize calculations, I can obtain good band structure but the Fermi level and DOS at Ef differ from those in DFT. If I do calculations with 16x16x16 kmesh(I use 8x8x8 qmesh) in wannierize calculations, I can get very good DOS at Ef. However, now the code stops before writing *.epmatwp1 file. I think it is due to the exhaustion of memory. I have increased the number of cores and setted etf_mem = .false. but they donot work. With 16x16x16 kmesh, is there any other methods to reduce the memory?(I have used etf_mem=2, but I got an error in reading input).
Thanks in advance for the help!
Best wishes!
Xianxin Wu
My input in EPW
Code: Select all
&inputepw
prefix = 'CubicP_pbe'
amass(1) = 30.9740009308
outdir = './temp/'
iverbosity = 3
elph = .true.
! epbwrite = .false.
! epbread = .true.
epbwrite = .true.
epbread = .false.
epwwrite = .true.
epwread = .false.
nbndsub = 9
nbndskip = 0
wannierize = .true.
num_iter = 500
iprint = 2
!Ef=15.2443
dis_win_max = 52
dis_win_min= -10
dis_froz_max=22
proj(1) = 'P:s;p;d'
wdata(1) = 'bands_plot = .true.'
wdata(2)= 'begin kpoint_path'
wdata(3)= 'R 0.500000000 0.50000000 0.50000000 G 0.000000000 0.00000000 0.00000000'
wdata(4)= 'G 0.000000000 0.00000000 0.00000000 X 0.500000000 0.00000000 0.00000000'
wdata(5)= 'X 0.500000000 0.00000000 0.00000000 R 0.500000000 0.50000000 0.50000000'
wdata(6)= 'R 0.500000000 0.50000000 0.50000000 M 0.500000000 0.50000000 0.00000000'
wdata(7)= 'M 0.500000000 0.50000000 0.00000000 G 0.000000000 0.00000000 0.00000000'
wdata(8)= 'G 0.000000000 0.00000000 0.00000000 X 0.500000000 0.00000000 0.00000000'
wdata(9)= 'X 0.500000000 0.00000000 0.00000000 M 0.500000000 0.50000000 0.00000000'
wdata(10)= 'end kpoint_path'
wdata(11) = 'bands_plot_format = gnuplot'
! elinterp = .true.
! phinterp = .true.
! tshuffle2 = .true.
! tphases = .false.
elecselfen = .false.
phonselfen = .true.
a2f = .true.
parallel_k = .true.
parallel_q = .false.
fsthick = 2.0 ! eV
eptemp = 300 ! K (same as PRB 76, 165108)
!double delta smearing
degaussw = 0.001 ! eV
delta_smear = 0.02 ! eV
nsmear = 11
!phonon smearing
degaussq =0.1 ! Smearing for sum over q in the e-ph coupling in [meV]
delta_qsmear=0.05
nqsmear =10
delta_approx=.true.
dvscf_dir = '../ph/save'
filukk = './cubicP_PBE.ukk'
! filqf = 'meshes/path.dat'
! band_plot=.true.
nkf1 = 88
nkf2 = 88
nkf3 = 88
nqf1 = 16
nqf2 = 16
nqf3 = 16
nk1 = 8
nk2 = 8
nk3 = 8
nq1 = 8
nq2 = 8
nq3 = 8
/
35 cartesian
0 0 0 0.001953125
0 0 0.125 0.01171875
0 0 0.25 0.01171875
0 0 0.375 0.01171875
0 0 -0.5 0.005859375
0 0.125 0.125 0.0234375
0 0.125 0.25 0.046875
0 0.125 0.375 0.046875
0 0.125 -0.5 0.0234375
0 0.25 0.25 0.0234375
0 0.25 0.375 0.046875
0 0.25 -0.5 0.0234375
0 0.375 0.375 0.0234375
0 0.375 -0.5 0.0234375
0 -0.5 -0.5 0.005859375
0.125 0.125 0.125 0.015625
0.125 0.125 0.25 0.046875
0.125 0.125 0.375 0.046875
0.125 0.125 -0.5 0.0234375
0.125 0.25 0.25 0.046875
0.125 0.25 0.375 0.09375
0.125 0.25 -0.5 0.046875
0.125 0.375 0.375 0.046875
0.125 0.375 -0.5 0.046875
0.125 -0.5 -0.5 0.01171875
0.25 0.25 0.25 0.015625
0.25 0.25 0.375 0.046875
0.25 0.25 -0.5 0.0234375
0.25 0.375 0.375 0.046875
0.25 0.375 -0.5 0.046875
0.25 -0.5 -0.5 0.01171875
0.375 0.375 0.375 0.015625
0.375 0.375 -0.5 0.0234375
0.375 -0.5 -0.5 0.01171875
-0.5 -0.5 -0.5 0.001953125