Dear all,
I am currently trying to compute the electron-phonon coupling of some compounds.
now,I need a finer k/q mesh grids,but i am not sure that is right.
I set:
ep_coupling=.ture.
elph=.ture.
kmaps=.ture.
epbwrite=.false.
epbread=.ture.
epwwrite=.false.
epwread=.ture.
wannierize=.ture.
ephwrite=.ture.
and the other question is can i use it to restart with different degaussw and degaussq ?
Thank you, I am looking forward to your reply.
Regards
Restarting EPW with finer kf/qf grids
Moderator: stiwari
Re: Restarting EPW with finer kf/qf grids
Dear YSW:
If you already have the "prefix.epmatwp" file, you can restart calculations with different fine k/q grids using the lines above.
(I assume you are performing superconductivity calculations) If you already have ephwrite files, you can reuse them with different degaussw and degaussq .
Sincerely,
H. Lee
Code: Select all
ep_coupling=.true.
elph=.true.
kmaps=.true.
epbwrite=.false.
epbread=.false.
epwwrite=.false.
epwread=.true.
wannierize=.false.
ephwrite=.true.
In this case, you don't need to repeat the evaluation of e-ph vertex on fine grids if your fine k/q grids are unchanged.and the other question is can i use it to restart with different degaussw and degaussq ?
(I assume you are performing superconductivity calculations) If you already have ephwrite files, you can reuse them with different degaussw and degaussq .
Sincerely,
H. Lee
Re: Restarting EPW with finer kf/qf grids
Dear H. Lee
Thank you,I am so happy to see your reply.
You are right,I am performing superconductivity calculations,and it is working.
but now, I have a new question, someone tell me “fsthick is not a convergence parameter”. Is it right?
In my case, I tried to set fsthick to ten times the highest phonon energy.
Sincerely,
YSW
Thank you,I am so happy to see your reply.
You are right,I am performing superconductivity calculations,and it is working.
but now, I have a new question, someone tell me “fsthick is not a convergence parameter”. Is it right?
In my case, I tried to set fsthick to ten times the highest phonon energy.
Sincerely,
YSW
Re: Restarting EPW with finer kf/qf grids
Dear YSW:
From an implementation point of view, many expressions, for example for superconducting properties, contain the Dirac delta function, for example of the form of \delta(\varepsilon_{m,{\bf k}+{\bf q}}-\varepsilon_{\text F}) .
As you know, currently EPW simulates the Dirac delta functions as the Gaussian functions and as \varepsilon_{m,{\bf k}+{\bf q}} goes far away from the Fermi energy \varepsilon_{\text F}, the Dirac delta function of the form above (approximated as Gaussian functions) approaches zero.
This means that in superconducting calculations, it is not meaningful to consider the states at the energy far away from the Fermi level since the term including Dirac delta functions goes to zero in this case.
So by introducing fsthick, we can skip meaningless evaluations which eventually lead to the zero value.
Therefore, although I am not clear whether or not I can say it is a convergence parameter, the only thing I can say is that fsthick should be set so that beyond the range fsthick covers, the Dirac delta functions (approximated as Gaussian functions) should go to almost zero value and we can safely skip evaluations. Conversely, the range fsthick covers should not be too small since in this case we can exclude the non-zero contributions.
Sincerely,
H. Lee
First, I would like to emphasize that I am not a right person who can give you a clear answer to this question since I am a software engineer.but now, I have a new question, someone tell me “fsthick is not a convergence parameter”. Is it right?
In my case, I tried to set fsthick to ten times the highest phonon energy.
From an implementation point of view, many expressions, for example for superconducting properties, contain the Dirac delta function, for example of the form of \delta(\varepsilon_{m,{\bf k}+{\bf q}}-\varepsilon_{\text F}) .
As you know, currently EPW simulates the Dirac delta functions as the Gaussian functions and as \varepsilon_{m,{\bf k}+{\bf q}} goes far away from the Fermi energy \varepsilon_{\text F}, the Dirac delta function of the form above (approximated as Gaussian functions) approaches zero.
This means that in superconducting calculations, it is not meaningful to consider the states at the energy far away from the Fermi level since the term including Dirac delta functions goes to zero in this case.
So by introducing fsthick, we can skip meaningless evaluations which eventually lead to the zero value.
Therefore, although I am not clear whether or not I can say it is a convergence parameter, the only thing I can say is that fsthick should be set so that beyond the range fsthick covers, the Dirac delta functions (approximated as Gaussian functions) should go to almost zero value and we can safely skip evaluations. Conversely, the range fsthick covers should not be too small since in this case we can exclude the non-zero contributions.
Sincerely,
H. Lee
Re: Restarting EPW with finer kf/qf grids
Dear H. Lee
Thank you for your reply,I think I am understand,
fsthick is just a parameter to skip meaningless evaluations, help us to reduce computation for long simulations.
In my case, maybe I need to increase it,and see if lambda changes.Is it right?
If I want to change fsthick.Need I to repeat the evaluation of e-ph vertex on fine grids ?( my fine k/q grids are unchanged)
Sincerely,
YSW
Thank you for your reply,I think I am understand,
fsthick is just a parameter to skip meaningless evaluations, help us to reduce computation for long simulations.
In my case, maybe I need to increase it,and see if lambda changes.Is it right?
If I want to change fsthick.Need I to repeat the evaluation of e-ph vertex on fine grids ?( my fine k/q grids are unchanged)
Sincerely,
YSW
Re: Restarting EPW with finer kf/qf grids
Dear H. Lee:
If it means convergence, why I increase kf/qf grids ,lambda have a big changed (about 0.2).
I am so confused and looking forward to your reply.
Sincerely,
YSW
In my case,I use restart.fmt calculation with different degaussw, but I get the same results of lambda. My kf/qf grids are unchanged.In this case, you don't need to repeat the evaluation of e-ph vertex on fine grids if your fine k/q grids are unchanged.
(I assume you are performing superconductivity calculations) If you already have ephwrite files, you can reuse them with different degaussw and degaussq .
If it means convergence, why I increase kf/qf grids ,lambda have a big changed (about 0.2).
I am so confused and looking forward to your reply.
Sincerely,
YSW
Re: Restarting EPW with finer kf/qf grids
Dear H. Lee
For these questions, I test them with EXAMPLE(MgB2).
I must delet restart.fmt to restart calculation with different degaussw so that I can get different lambda.
I test MgB2's lambda with kf/qf (40/10 ,50/10 ,60/10 ,70/10 ,60/20 ,60/30),respectly.
Can I through (40/10 ,50/10 ,60/10 ,70/10) to determine whether the kf grids converges?
and through (60/10 ,60/20 ,60/30) to determine whether the qf grids converges?
my degaussw will set fsthick/4, and fsthick I will increase it until lambda is unchanged.
I am looking forward to your opinion.
Sincerely,
YSW
For these questions, I test them with EXAMPLE(MgB2).
I must delet restart.fmt to restart calculation with different degaussw so that I can get different lambda.
I test MgB2's lambda with kf/qf (40/10 ,50/10 ,60/10 ,70/10 ,60/20 ,60/30),respectly.
Can I through (40/10 ,50/10 ,60/10 ,70/10) to determine whether the kf grids converges?
and through (60/10 ,60/20 ,60/30) to determine whether the qf grids converges?
In this paper, MgB2 is converged with kf/qf (60/30)Anisotropic Migdal-Eliashberg theory using Wannier functions DOI: 10.1103/PhysRevB.87.024505
my degaussw will set fsthick/4, and fsthick I will increase it until lambda is unchanged.
I am looking forward to your opinion.
Sincerely,
YSW
Re: Restarting EPW with finer kf/qf grids
Dear YSW:
Regarding the convergence, you need to converge quantities w.r.t both the broadening and the # of grids.
PS) Could you confirm that your lambda doesn't change with any unrealistic degaussw (very large and very small degaussw)?
Sincerely,
H. Lee
Since the number of wavevectors within the Fermi window changes depending on the value of fsthick (for example, please find the line containing "We only need to compute ..... q-points" in epw.out) You have to recalculate e-ph vertex even if your k/q grids are unchanged.If I want to change fsthick.Need I to repeat the evaluation of e-ph vertex on fine grids ?( my fine k/q grids are unchanged)
Regarding the convergence, you need to converge quantities w.r.t both the broadening and the # of grids.
PS) Could you confirm that your lambda doesn't change with any unrealistic degaussw (very large and very small degaussw)?
Sincerely,
H. Lee
Re: Restarting EPW with finer kf/qf grids
Dear H. Lee
I use degaussw 0.1 and 0.2,respectively.
Sincerely,
YSW
Lambda is changed, when I repeat the evaluation of e-ph vertex on fine grids.If I not repeat it, lambda is unchanged.PS) Could you confirm that your lambda doesn't change with any unrealistic degaussw (very large and very small degaussw)?
I use degaussw 0.1 and 0.2,respectively.
Sincerely,
YSW
Re: Restarting EPW with finer kf/qf grids
Dear H. Lee
I realized a problem.
I just delete restart.fmt and restart with a new fsthick,but I have correct range of bands in prefix.lambda_FS.
Sincerely,
YSW
I realized a problem.
the evaluation of e-ph vertex,does it mean restart the interpolation part ?In this case, you don't need to repeat the evaluation of e-ph vertex on fine grids if your fine k/q grids are unchanged.
I just delete restart.fmt and restart with a new fsthick,but I have correct range of bands in prefix.lambda_FS.
Sincerely,
YSW