Skip to content

create Quantum Espresso input files for high-throughput calculations

License

Notifications You must be signed in to change notification settings

Mofahdi/QE_automate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

QE_automate

Motivation

Generate Qunatum Espresso (QE) input files more efficiently with less human intervention.

How to use the script:

  • The name of the script that can read structures and generate Quantum Espresso input files is "jarvis_qe_general.py"
  1. You have to provide the path to your structure in the static method 'get_struc_input'. The script can only read 'CIF' or 'POSCAR' formats
    • you could also provide read or provide the structure as an attribute through a different method, but it must be converted to jarvis Atoms
  2. After providing the structure, the kpoints must be obtained and must be inputted in "QEinfile". Two types of kpoints are available in the script so far:
    • 'scf': homogeneous monkhorst-pack kpoints
    • 'nscf': explicit listing of special equidistant kpoints around the gamma point
    • I plan on adding a third option for crystal_b kpoints in which I have to provide the high-symmetry path to obtain the band structure
  3. you have to download the pseudopotentials and provide the path to "QEinfile". If you don't have the pseudopotentials downloaded already, you can install them from the script 'get_psp.py'.
  4. you have to provide the dictionary of your "system" and "control" cards. The script will output "ATOMIC_POSITIONS" and "CELL_PARAMETERS" automatically.
  • An example of the above instructions can be seen at the end of the script

Note: I usually use this script to perform "vc-relax", "scf", and "nscf" calculations. If you need to run calculations with ph.x, matdyn.x, or some other executables, I am afraid to say that this script is not developed enough. However, I plan on writing such a script in the future!

Required Packages

  • The script assumes that you had previously installed the following python packages
    jarvis-tools==2022.9.16

  • I believe installing the exact version is not necessary, so you can install other versions that are different from the above and still be able to run the script!

jarvis-tools
The method I implemented to install jarvis-tools is through running the following in the command line:
pip install -U jarvis-tools

for more information on how to install jarvis-tools with the source code, please use this link

Usage and Development

  • to copy this repository to your own computer please run the following in the command line:
    git clone https://github.com/Mofahdi/QE_automate

  • if you have any questions or would like to see more functionalities in this script, please do not hesistate to let me know!

  • also please consider reading my published work in Google Scholar using this link thank you :)

About

create Quantum Espresso input files for high-throughput calculations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages