misaraty / epwgen

script to generate input files for EPW

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

epwgen

This script was made in an attempt to streamline the EPW workflow. It will generate all necessary input files to calculate the electron phonon coupling of a system using the EPW package of Quantum Espresso. It features automatic wannierization window determination and automatic splitting of the phonon calculation into calculations for every irreducible representation of each irreducible q-point.

The script will generate a parent directory called $base_dir which itself contains the following directories:

  • ELB (directory for electron band calculations)
  • PHB (phonon bands)
  • EPM (electron phonon matrix, phonon linewidths and Eliashberg spectral function)
  • ISO (solving the isotropic Eliashberg equations)

All you need to do is to specify the calculation parameters in the main script and then run the submission scripts called ep_bands.sh and epw.sh on the cluster in that order. ep_bands.sh will prepare and submit the calculations for the electron and phonon bands. Because image parallelization does not work for phonon dvscf calculations, this script splits the phonon calculation into multiple calculations; one calculation for each irreducible q-point and additionally one calculation for every irreducible representation of each irreducible q-point. This splitting can also be disabled.

Once the electron and phonon band calculations are finished, check the results and then execute epw.sh. This will update the EPW input files with the data from the electron and phonon bands calculations and then submit them.

Check the submission scripts for further options/instructions.

Any calculation parameters that are missing or have been "hardcoded" should be easy enough to introduce/change in the input lists called *_in. Everything should still work if you wish to do so.

Requirements:

  • Cluster with IBM LSF workload scheduler. Positions of LSF relevant lines that need to be changed for a different scheduler (e.g. SLURM) are denoted by an "LSF" comment.
  • Quantum Espresso
  • python3
  • environment modules

The script contains an example from the EPW school 2018. You only need to specify the absolute path to the pseudopotentials on your cluster and the module names.

About

script to generate input files for EPW


Languages

Language:Python 100.0%