Printing/plotting g coefficients (and: restarting a calc)
Posted: Thu May 19, 2016 5:47 pm
Dear all,
We have started to use the new version of EPW. In particular, in our case, we are working on a 2D semiconductor, and we are interested (eventually) to estimate the mobility for electrons and holes.
At this stage, however, we are mainly interested in figuring out the relative importance (i.e., scattering time) of ZA phonons w.r.t. LA,TA and optical phonons to see if one contribution is dominant, as well as to understand how anisotropic the scattering is for our material. So, probably, it would be enough for the time being to produce some plots similar to e.g. Fig. 8 of this paper http://dx.doi.org/10.1063/1.4887538 (or, more generally, how to output on a file -- or read from a file already written by EPW -- the matrix elements g for a given band/k vector and phonon branch, as a function of q) - in your tutorial http://epw.org.uk/Documentation/GaN you say that it is easy to print these quantities by modifying the code, but if you could give us some 'pointers' to which arrays to look, and which indices indentify the different physical indices (k,q,n,...) it would be extremely helpful for us. (or maybe there is already a flag to output what we need?)
Also, when running your example http://epw.org.uk/Documentation/GaN, a big file gan.epmatwp1 is generated, that (we think) contains the quantities we need. It would therefore be useful to just 'restart' the code and have it print the quantities we want, instead of re-running epw.
We tried changing the flags kmaps, epbread, epwread from False to True, and epbwrite, epwwrite, and wannierize from True to False. Is this enough? When running after these changes, the code "stops" after printing "Reading Hamiltonian, Dynamical matrix and EP vertex in Wann rep from file" (meaning that it runs for a long time > 1h, but it fills all the machine memory so the machine basically hangs - note we are running with 8 pools). Is this the correct way to restart EPW? Is there a way to reduce memory consumption?
Thanks in advance,
Giovanni Pizzi and Marco Gibertini
(EPFL, Switzerland)
We have started to use the new version of EPW. In particular, in our case, we are working on a 2D semiconductor, and we are interested (eventually) to estimate the mobility for electrons and holes.
At this stage, however, we are mainly interested in figuring out the relative importance (i.e., scattering time) of ZA phonons w.r.t. LA,TA and optical phonons to see if one contribution is dominant, as well as to understand how anisotropic the scattering is for our material. So, probably, it would be enough for the time being to produce some plots similar to e.g. Fig. 8 of this paper http://dx.doi.org/10.1063/1.4887538 (or, more generally, how to output on a file -- or read from a file already written by EPW -- the matrix elements g for a given band/k vector and phonon branch, as a function of q) - in your tutorial http://epw.org.uk/Documentation/GaN you say that it is easy to print these quantities by modifying the code, but if you could give us some 'pointers' to which arrays to look, and which indices indentify the different physical indices (k,q,n,...) it would be extremely helpful for us. (or maybe there is already a flag to output what we need?)
Also, when running your example http://epw.org.uk/Documentation/GaN, a big file gan.epmatwp1 is generated, that (we think) contains the quantities we need. It would therefore be useful to just 'restart' the code and have it print the quantities we want, instead of re-running epw.
We tried changing the flags kmaps, epbread, epwread from False to True, and epbwrite, epwwrite, and wannierize from True to False. Is this enough? When running after these changes, the code "stops" after printing "Reading Hamiltonian, Dynamical matrix and EP vertex in Wann rep from file" (meaning that it runs for a long time > 1h, but it fills all the machine memory so the machine basically hangs - note we are running with 8 pools). Is this the correct way to restart EPW? Is there a way to reduce memory consumption?
Thanks in advance,
Giovanni Pizzi and Marco Gibertini
(EPFL, Switzerland)