run.pl (AIRSS Convex Hull Plotting Script)¶
Author: Lin Ziyue
1. Copy Required Structure Files¶
-
List structures and copy selected
.res(or.param) files to current folder: -
Copy
.resfiles obtained from AIRSS search to test directory: -
Also copy corresponding initial
.celland.paramfiles to test.
1.1 Keep Only Most Stable Stoichiometry¶
2. Optional Quick Filtering Method (Can Skip)¶
-
Copy
.resfiles to test: -
Delete structures with single atom energy difference greater than 0.04 eV (0.04 can be adjusted as needed):
-
Increase K-point density in cell and add pressure; in param, increase cutoff energy and add:
This directly generates CIF files without needing VESTA conversion. -
Continuously calculate all structures in test via
run.pl: -
Compare enthalpy values of structures; the lowest enthalpy is the most stable structure.
2.1 Create tmp Folder and Copy Candidate Structures¶
Select top 10 stable structures for a specific stoichiometry:
3. Increase Calculation Accuracy¶
-
In initial
.cellfile, increase K-point density (e.g., change from 0.07 to 0.03), and set pressure at the end. -
In
.paramfile, increase cutoff energy.
4. Submit PBS Job¶
runpl.pbs example:
Submit job:
5. View Results¶
After calculation completion:
- Each structure's corresponding
.resfile contains final K-point grid and cutoff energy. jobs.txtrecords structures that have completed optimization.
Notes¶
-
.resfiles generated on some servers may contain blank lines, causingca -m/ca -sto display abnormally. Fix with: -
Plot convex hull with elements A and B as reference lines: