Dear PyCDT developers,
I am trying to setup PyCDT. I am getting the following warning and no structures are generated:
pycdt generate_input -s POSCAR
/home/561/ak106/miniconda3/envs/py37/lib/python3.7/site-packages/pycdt-2.0.4-py3.7.egg/pycdt/core/defects_analyzer.py:91: DeprecationWarning: Replaced PyCDT usage of ComputedDefect objects with DefectEntry objects from pymatgen.analysis.defects.core
Will remove ComputedDefect with Version 2.5 of PyCDT.
DeprecationWarning)
/home/561/ak106/miniconda3/envs/py37/lib/python3.7/site-packages/pycdt-2.0.4-py3.7.egg/pycdt/core/defects_analyzer.py:165: DeprecationWarning: Replaced PyCDT usage of DefectsAnalyzer objects with DefectPhaseDiagram objects from pymatgen.analysis.defects.thermodynamics
Will remove DefectsAnalyzer with Version 2.5 of PyCDT.
DeprecationWarning)
/home/561/ak106/miniconda3/envs/py37/lib/python3.7/site-packages/pymatgen/io/vasp/sets.py:422: DeprecationWarning: 'potcar_functional' argument is deprecated. Use 'user_potcar_functional' instead.
DeprecationWarning,
PyCDT is a script that generates vasp input files, parses vasp output files, and computes the formation energy of charged defects.
This script works based on several sub-commands with their own options. To see the options for sub-commands, type: pycdt -h
I have seen other users complain about this but the solution is not clear. I have set up my MP API and my potcars as described on the PyCDT webpage.
The other problem for me is that I have no real experience with pymatgen. The examples given with PyCDT relies heavily on pymatgen. But it is not clear how the output is generated. Everything is run and displayed in the notebook. For example, if I try:
from pymatgen.analysis.defects.generators import VacancyGenerator, SubstitutionGenerator, \
VoronoiInterstitialGenerator
print('Vacancy Generator:')
for vac_defect in VacancyGenerator( bulk_structure):
print("\tCreated Defect {} at site {}".format( vac_defect.name, vac_defect.site))
Nothing is generated in the directory where I am running my notebook. Is there a way to fix that?
One final thing, suppose I have set up my calculations manually. How can I set up the routines to apply defect corrections? In particular I am interested in the band filling correction, but that does not seem to be implemented in PyCDT, so I will have to rely once more on pymatgen.
Apologies for the many questions...
Regards,
Alfred