Calypso Workflow¶
I. Structure Search¶
1. Pseudopotential Preparation (Consistent with VASP)¶
Obtain pseudopotential folder PsePot (generally use pbe)
Usage: cat POTCAR_1 POTCAR_2 …… POTCAR_n >> POTCAR
Note: The order when combining potcar must be consistent with input.dat
2. Prepare Files¶
Files to copy:
From the example folder in the Calypso installation path, copy the following files:
(1) input.dat
(2) INCAR_* (i.e., all INCAR files, used for VASP multiple optimizations from low to high precision, total of four)
(3) The just-combined POTCAR file (Note: name must be POTCAR only, otherwise not recognized)
(4) Submission script (vasp.pbs)
And script submit.sh:
Modify path section to specific path
3. Edit Files¶
(1) input.dat¶
Basics are in Calypso Chinese Manual Chapter 2
First few items related to compound chemical formula must be changed
Search volume by pressure on this website, or add two atomic volumes and divide by 2: https://uspex-team.org/online_utilities/volume_estimation/
Interatomic distances:
Find the RCORE field in the POTCAR of each element composing the searched compound, multiply its value by 0.529 then multiply by 0.6~0.8 to get the estimated value, then add them
Order is: * A-A A-B * B-A B-B (A-B=B-A)
Popsize and Maxstep together determine search structure efficiency. Setting them higher reduces efficiency but makes results more accurate. Can be adjusted according to specific needs.
Variable composition prediction: (This part can be deleted for fixed composition)
If this parameter doesn't exist, add:
MaxNumAtom=integer: In variable composition structure prediction, the maximum number of atoms allowed to predict in the simulation cell. Default value: 20
Defines the range of atomic number variation for each element in a binary system. For A atoms, x ranges from integer11 to integer12, and for B atoms, y ranges from integer21 to integer22. Default values: 1 6 1 6
If parameters are added here, they will override the previous NumberofAtoms parameter, making it ineffective.
(2) INCAR files, all 4 need to be changed¶
System local optimization
Modify the value below Target Pressure, unit is kbar, 1GPa = 10kbar. For example, for 100GPa, modify the value to 1000
4. Submit, View and Delete Tasks¶
Supercomputing Center:
* Submit: bsub < u.lsf
* View: bjobs
* Delete: bkill task_name
Physics Department:
* Submit: qsub script_name
* View: qstat
* Delete: qdel task_name
5. Results Analysis¶
In results folder
cak.pyGenerate results analysis file with .dat suffixcak.py -m accuracy --vaspOutput VASP format filecak.py --cifOutput cif image file
Notes: If it finishes running quickly and generates a series of pso_sor, ini, opt files, but the analysis file is all NULL, check whether VASP was not correctly called. Generally, modifying the VASP executable file path will fix this.