Workflow to run defect calculations with aiida.
Currently, it automates the following steps:
- Relaxation of host structure (from mp-id or user defined structure)
- Defect generation
- Defect charge states are determined based on the most common oxidation states for the element (following the strategy implemented in defectivator by Dr Alex Squires)
- Screening of symmetry inequivalent interstitials.
This is done by relaxing the neutral state of all the symmetry inequivalent
configurations for a given interstitial. The following cases are filtered out:
- Configurations that lead to the same final structures (only one is used for later calculations)
- Configurations very high in energy compared to the most stable one (e.g. if > 1 eV)
- Structure searching using shakenbreak and submission of calculations
-
Crate conda environment (python 3.10)
-
Install
aiida-coreusing the system-wide installation and usingpiprather thanconda. -
Install other dependencies, including
aiida-archer2-scheduler(to use the HPCarcher2),parsevasp,aiida-vasp,aiida-user-addonsanddefectivator:
git clone git@github.com:SMTG-UCL/aiida-archer2-scheduler.git
cd aiida-archer2-scheduler
pip install -e ./
reentry scan -r aiida
git clone https://github.com/aiida-vasp/parsevasp.git
cd parsevasp
git checkout develop
cd ../
pip install -e ./parsevasp
git clone https://github.com/aiida-vasp/aiida-vasp.git
cd aiida-vasp
git checkout develop
cd ../
pip install -e ./aiida-vasp
git clone https://github.com/SMTG-UCL/aiida-user-addons.git
cd aiida-user-addons
git checkout dev
cd ../
pip install -e ./aiida-user-addons
git clone https://github.com/alexsquires/defectivator.git
cd defectivator
git checkout dev
cd ../
pip install ./defectivator
Run pip install reentry and reentry scan -r aiida
-
Configure
aiida-vasp(potcars) -
Install
shakenbreak
git clone https://github.com/SMTG-UCL/shakenbreak.git
pip install .
- Install
defects_workflow
git clone https://github.com/ireaml/defects_workflow.git
pip install .
- Add ab-initio codes to aiida profile