PyCDT is a python tool for for charge defect calculations. A full description and installation can be found here: https://pypi.org/project/pycdt/
git clone https://bitbucket.org/mbkumar/pycdt.gitpython setup.py install You may need to change your path variables using:
export PATH=$PATH:directoryexport PYTHONPATH=$PYTHONPATH:directoryWhere directory is the location of a non standard installation directory. In this case please install using:
python setup.py install --prefix directorynano $HOME/.pmgrc.yaml PMG_VASP_PSP_DIR: /orange/phillpot/vasp_potentials/PBEMAPI_KEY: <your Materials Project API key>module load gcc/5.2.0 condaconda activate <name of conda enviroment>In your working directory use the following:
pycdt <generate_input/parse_output/compute_corrections/compute_formation_energies>More instruction on how to use the package can be found in the 'examples' subfolder or by typing pycdt -h.