Coder Social home page Coder Social logo

epwgen's Introduction

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.

epwgen's People

Contributors

noemas avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.