DeltaSpin is a self-adaptive spin-constraining method based on cDFT, embedded in VASP.
Please cite
Cai, Z., & Xu, B. (2022). First-principles Study of Spin Fluctuations Using Self-adaptive Spin-constrained DFT.
https://doi.org/10.48550/arXiv.2208.04551
To obtain the source code, please send an email to [email protected].
The system requirements, including all software dependencies and operating systems, are the same as those for the original Vienna Ab initio Simulation Package (VASP).
In addition to following the original routine for compiling vasp_ncl
, which may take several minutes, please make sure to:
- Clone the entire repository, not just the
deltaspin
directory. - Use Intel toolchain >= 2019 / oneAPI >= 2020.
- In some version of the Intel compiler, you may need to modify
FFLAGS
inmakefile.include
asFFLAGS = -assume byterecl -w -warn nointerfaces
to turn off type checking due to some old type casting techniques used in the VASP codebase.
- Change your working directory to
examples/metal/Fe
, and simply run the binarybin/vasp_ncl
, or submit it to your own cluster like a normal VASP task. - Wait for the calculation to complete. The time required may depend on your system specifications (approximately 20 minutes on a 56-core Intel machine).
- Once the calculation is complete, the obtained magnetic moments
MW_current
in the outputOSZICAR
should equal the valueM_CONSTR
set in the inputINCAR
. All VASP outputs, such as the total energy and electronic structure, correspond to the obtained constrained state.
Please download the manual DeltaSpin_manual.pdf for additional information.