Generate Qunatum Espresso (QE) input files more efficiently with less human intervention.
- The name of the script that can read structures and generate Quantum Espresso input files is "jarvis_qe_general.py"
- 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
- 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
- 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'.
- 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!
-
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
-
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 :)