magint
MagInt implements the force-theorem Hubbard-I (FT-HI) approach to intersite exchange interactions in correlated insulators.
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.0%) to scientific vocabulary
Repository
MagInt implements the force-theorem Hubbard-I (FT-HI) approach to intersite exchange interactions in correlated insulators.
Basic Info
- Host: GitHub
- Owner: MagInteract
- License: gpl-3.0
- Language: Python
- Default Branch: main
- Size: 6.96 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md

MagInt
Copyright (C) 2012-2025: Leonid V. Pourovskii, 2023-2025: Dario Fiore Mosca
This program implements the force-theorem Hubbard-I (FT-HI) approach to calculation of intersite exchange interactions in correlated insulators. The formalism is given in L. V. Pourovskii Phys. Rev. B 94, 115117 (2016). It is a post-processing program that works on top of a fully converged DFT+HI calculation, and for this purpose it is interfaced with the TRIQS software library, and the DFT code interface TRIQS/DFTTools.
MagInt has been interfaced with the following bandstructure codes: Wien2k version 13 to 15. VASP version 6.3.0 or above (WARNING The VASP interface is experimental and has undergone limited testing. If you plan to use it, please contact the authors for further information or assistance.).
MagInt works with python < 3.12.
Documentation & tutorials
To learn how to use MagInt read the manual
Installation
You can install MagInt via CMake. An example for the installation bash script is given below. You need to substitute $(TRIQS_ROOT) with another name if you do not wish to install MagInt in the TRIQS installation directory.
``` rm -rf MagInt.build
Set this variable to your desired install directory
INSTALLPREFIX=$(TRIQSROOT)
Set the number of cores for the compilation
NCORES=4
Use cmake to configure the maginteract build process
mkdir -p MagInt.build && cd MagInt.build
cmake ../MagInt.src -DCMAKEINSTALLPREFIX=$INSTALL_PREFIX
Build, test and install triqs
make -j $NCORES make install make test cd ../ ```
Usage
In the following the main commands are outlined. For each step a 'maginteract.ini' file is required. Have a look at the Documentation and Tutorials for more information
- Calculation Density of States
python /path/to/MagInt/main.py dos
- In the cases, when the chemical potential mu in the calcualated DOS (step 1) is not strictly within the gap but is pinned slightly below/above it, the mu should be shifted by executing
python /path/to/MagInt/main.py shift_mu
- Calcualting the Pseudo-Spin basis
For this step a problem-specific script is required, see the documentation for details and some examples in ./Examples
- Calculation of Intersite-exchange-interactions
python /path/to/MagInt/main.py magint
Please make sure that you have a valid TRIQS and TRIQS/DFTTools installation matching the required versions for MagInt.
Within the current version of MagInt we provide FORTRAN Hubbard-I solver.
authors: L. V. Pourovskii and D. Fiore Mosca
LICENCE
This application is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version (see http://www.gnu.org/licenses/).
It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Owner
- Name: MagInt
- Login: MagInteract
- Kind: organization
- Location: France
- Repositories: 1
- Profile: https://github.com/MagInteract
Citation (CITATIONS.bib)
@article{PhysRevB.94.115117,
title = {Two-site fluctuations and multipolar intersite exchange interactions in strongly correlated systems},
author = {Pourovskii, L. V.},
journal = {Phys. Rev. B},
volume = {94},
issue = {11},
pages = {115117},
numpages = {13},
year = {2016},
month = {Sep},
publisher = {American Physical Society},
doi = {10.1103/PhysRevB.94.115117},
url = {https://link.aps.org/doi/10.1103/PhysRevB.94.115117}
}
GitHub Events
Total
- Push event: 5
Last Year
- Push event: 5
Dependencies
- f90wrap *
- lapack *
- python3 *
- triqs.3.1.x *