spin orbit and dyn.xml files

Post here questions linked with issue while running the EPW code

Moderator: stiwari

Post Reply
nu2epw

spin orbit and dyn.xml files

Post by nu2epw »

The phonon phase of the Pb with spin orbit example generates dyn files in xml format.
pb.dyn0
pb.dyn1.xml
pb.dyn2.xml
pb.dyn3.xml

The pp.py python script assums dyn files have no postscript

is it ok to just copy these files as is into the save directory?

i.e. will epw work correctly if the full xml files are copied into the save dir or do they need to be converted into another format?
roxana
Posts: 172
Joined: Fri Jan 22, 2016 6:48 pm
Affiliation:

Re: spin orbit and dyn.xml files

Post by roxana »

Hi,

Yes, you can copy directly the files in the save directory.

There is only one thing that you need to keep in mind. If you calculated each q-point separately in Quantum Espresso you may need to change the q-point number in the patterns.*.xml files. At the beginning of each file you have the following lines.

<?iotk binary="F"?>
<?iotk qe_syntax="F"?>
<Root>
<IRREPS_INFO>
<QPOINT_NUMBER type="integer" size="1">
2

The line after QPOINT_NUMBER should be the nr of the respective q-point. In other words, 2 if this is q-point nr 2. This number will be the correct value if you calculated all q-points at once on a mesh, otherwise it will be 1.

Best,
Roxana
Roxana Margine
Associate Professor
Department of Physics, Applied Physics and Astronomy
Binghamton University, State University of New York
sponce
Site Admin
Posts: 616
Joined: Wed Jan 13, 2016 7:25 pm
Affiliation: EPFL

Re: spin orbit and dyn.xml files

Post by sponce »

Dear nu2epw,

What Roxana says is correct.

You can also take the python script located in EPW/tests/Inputs/t04/pp.py.

This python script correctly deal with xml files.

Best,

Samuel
Prof. Samuel Poncé
Chercheur qualifié F.R.S.-FNRS / Professeur UCLouvain
Institute of Condensed Matter and Nanosciences
UCLouvain, Belgium
Web: https://www.samuelponce.com
Post Reply