-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploying to gh-pages from @ e12fed8 🚀
- Loading branch information
0 parents
commit a26680e
Showing
364 changed files
with
79,589 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 3ab99140c30a554ec0069b9809580ceb | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+5.01 KB
.doctrees/_ref/postprocessing.eval_U_cRPA_RESPACK.respack_data.__init__.doctree
Binary file not shown.
Binary file added
BIN
+9.54 KB
.doctrees/_ref/postprocessing.eval_U_cRPA_RESPACK.respack_data.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
530 changes: 530 additions & 0 deletions
530
.doctrees/nbsphinx/tutorials/Ce2O3_csc_w90/tutorial.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
846 changes: 846 additions & 0 deletions
846
.doctrees/nbsphinx/tutorials/NNO_os_plo_mag/tutorial.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
471 changes: 471 additions & 0 deletions
471
.doctrees/nbsphinx/tutorials/PrNiO3_csc_vasp_plo_cthyb/tutorial.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,194 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "markdown", | ||
"id": "74facd63", | ||
"metadata": {}, | ||
"source": [ | ||
"*Disclaimer:*\n", | ||
"\n", | ||
"Heavy calculations (~ 800 core hours): Current tutorial is best performed on an HPC facility.\n", | ||
"\n", | ||
"# 1. OS with QE/W90 and cthyb: SrVO3 MIT" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"id": "c6efdf20", | ||
"metadata": {}, | ||
"source": [ | ||
"Hello and welcome to the first part of the tutorial for solid_dmft. Here we will guide to set up and run your first DMFT calculations. \n", | ||
"\n", | ||
"To begin your DMFT journey we will immediately start a DMFT run on strontium vanadate (SVO). SVO is a member of a family of material known as complex perovskite oxides with 1 electron occupying the t2g manifold. Below, we show the band structure of the frontier (anti-bonding) t2g bands for SVO.\n", | ||
"\n", | ||
"![svobands](./ref/bnd_structure.png \"SVO band structure\")\n", | ||
"\n", | ||
"In these materials, the electrons sitting on the transition metal ions (V in this case) are fairly localized, and the fully delocalized picture of DFT is insufficient to describe their physics. DMFT accounts for the electron-electron interaction by providing a fully interacting many body correction to the DFT non-interacting problem.\n", | ||
"\n", | ||
"If you want to generate the h5 archive `svo.h5` yourself, all the necessary files are in the `./quantum_espresso_files/` folder. We used quantum espresso in this tutorial.\n", | ||
"\n" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"id": "5444483b", | ||
"metadata": {}, | ||
"source": [ | ||
"---\n", | ||
"## 1. Starting out with DMFT\n", | ||
"\n", | ||
"\n", | ||
"To start your first calculation run:\n", | ||
"\n", | ||
"```\n", | ||
"mpirun solid_dmft\n", | ||
"\n", | ||
"```\n", | ||
"\n", | ||
"Once the calculation is finished, inspect the `/out/` folder: our file of interest for the moment will be `observables_imp0.dat`, open the file:" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"id": "dd7802a9", | ||
"metadata": {}, | ||
"source": [ | ||
"```\n", | ||
" it | mu | G(beta/2) per orbital | orbital occs up+down |impurity occ\n", | ||
" 0 | 12.29775 | -0.10489 -0.10489 -0.10489 | 0.33366 0.33366 0.33366 | 1.00097\n", | ||
" 1 | 12.29775 | -0.09467 -0.09488 -0.09529 | 0.36155 0.35073 0.36169 | 1.07397\n", | ||
" 2 | 12.31989 | -0.08451 -0.08363 -0.08463 | 0.33581 0.34048 0.34488 | 1.02117\n", | ||
" 3 | 12.29775 | -0.08282 -0.08296 -0.08254 | 0.32738 0.34572 0.34479 | 1.01789\n", | ||
" 4 | 12.28973 | -0.08617 -0.08595 -0.08620 | 0.33546 0.33757 0.33192 | 1.00494\n", | ||
" 5 | 12.28825 | -0.08410 -0.08458 -0.08510 | 0.33582 0.33402 0.33759 | 1.00743\n", | ||
" 6 | 12.28486 | -0.08474 -0.08549 -0.08618 | 0.32276 0.33028 0.32760 | 0.98063\n", | ||
" 7 | 12.29097 | -0.08172 -0.08220 -0.08118 | 0.32072 0.33046 0.33529 | 0.98647\n", | ||
" 8 | 12.29497 | -0.08318 -0.08254 -0.08332 | 0.34075 0.32957 0.33089 | 1.00120\n", | ||
"```" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"id": "2bf4c653", | ||
"metadata": {}, | ||
"source": [ | ||
"The meaning of the column names is the following:\n", | ||
"\n", | ||
"* **it**: number of the DMFT iteration\n", | ||
"* **mu**: value of the chemical potential\n", | ||
"* **G(beta/2) per orbital**: Green's function evaluated at $\\tau=\\beta/2$, this value is proportional to the projected density of states at the fermi level, the first objective of this tutorial would be to try and drive this value to 0\n", | ||
"* **orbital occs up+down:** occupations of the various states in the manifold\n", | ||
"* **impurity occ**: number of electrons in each site\n", | ||
"---\n" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"id": "02e6d629", | ||
"metadata": {}, | ||
"source": [ | ||
"## 2. Looking at the Metal-Insulator Transition\n", | ||
"\n", | ||
"In the following steps we will try to drive the system towards a Mott-insulating state. \n", | ||
"\n", | ||
"Inspect the script `run_MIT_coarse.sh`, we iterate the same type of calculation that was performed in the last step for a series of value of U {2-10} and J {0.0-1.0}. \n", | ||
"\n", | ||
"Run the script, sit back and have a long coffee break, this is going to take a while (about 6 hours on 30 cores).\n", | ||
"\n", | ||
"Once the run is finished run \n", | ||
"\n", | ||
"`python3 ./collect_results_coarse.py`\n", | ||
"\n", | ||
"The script will produce a heatmap image of the value of G(beta/2) for each pair of U and J. The darker area corresponds to an insulating state.\n", | ||
"\n", | ||
"![coarsegrid](./ref/MIT_coarse.jpg \"Coarser grid\")\n", | ||
"\n", | ||
"Do you notice anything strange? (hint: look at the bottom right corner and check the output file `observables_imp0.dat` for U = 2 J=1.0. )\n", | ||
"\n", | ||
"We have seen that for 1 electron per system U and J are competing against each other: larger J favor the metallic state. The coulomb integral U wants to repel neighbouring electrons while J would like to bring electrons together on one site,. When the latter component dominates the resulting phase is known as a charge disproportionated state which is also insulating. What is happening in the bottom right corner is that the J favors here charge disproportionation but the unit cell has a single site, therefore the system has trouble converging and oscillates between a high occupation and a low occupation state." | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"id": "58ec8354", | ||
"metadata": {}, | ||
"source": [ | ||
"## 3. Refining the diagram\n", | ||
"\n", | ||
"In order to get better resolution in terms of the diagram you can run the script `run_MIT_fine.sh` and plot the result with \n", | ||
"\n", | ||
"`python3 ./collect_results_fine.py`\n", | ||
"\n", | ||
"The result is also visible here:\n", | ||
"\n", | ||
"![finegrid](./ref/MIT_fine.jpg \"Finer grid\")\n", | ||
"\n" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"id": "8a4a0794", | ||
"metadata": {}, | ||
"source": [ | ||
"## 4. Plotting the spectral function\n", | ||
"\n", | ||
"The spectral function in DMFT represents the local density of states of the impurity site.\n", | ||
"In order to plot it we need to use one of the scripts that implements the maximum entropy method ( [Maxent](https://triqs.github.io/maxent/latest/) ), while in the folder run (be aware that you need to substitute `/path_to_solid_dmft/` with the path where you have installed solid_dmft) :\n", | ||
"\n", | ||
"`mpirun -n 30 python3 /path_to_solid_dmft/python/solid_dmft/postprocessing/maxent_gf_imp.py ./J0.0/U4/out/svo.h5`\n", | ||
"\n", | ||
"and plot the result by running in the docker container:\n", | ||
"\n", | ||
"`python3 read_spectral_function.py`\n", | ||
"\n", | ||
"\n", | ||
"![Afunc](./ref/A_func_J=0.0_U=4.jpg \"Afunc\")\n", | ||
"\n", | ||
"\n", | ||
"Take care to edit the values of J and U in the python file. What is happing to the spectral function (density of states) as one cranks U up?\n", | ||
"\n" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"id": "1c8b32e9", | ||
"metadata": {}, | ||
"source": [ | ||
"## 5 Visualizing the MIT\n", | ||
"\n", | ||
"We will now plot the spectral function at different U values for J = 0.0 eV:\n", | ||
"\n", | ||
"Run the script `run_maxent_scan.sh`.\n", | ||
"\n", | ||
"Then collect the data:\n", | ||
"\n", | ||
"`python3 read_spectral_function_transition.py`\n", | ||
"\n", | ||
"![MIT](./ref/A_func_transition.jpg \"MIT\")\n", | ||
"\n", | ||
"\n" | ||
] | ||
} | ||
], | ||
"metadata": { | ||
"kernelspec": { | ||
"display_name": "Python 3", | ||
"language": "python", | ||
"name": "python3" | ||
}, | ||
"language_info": { | ||
"codemirror_mode": { | ||
"name": "ipython", | ||
"version": 3 | ||
}, | ||
"file_extension": ".py", | ||
"mimetype": "text/x-python", | ||
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.8.3" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 5 | ||
} |
480 changes: 480 additions & 0 deletions
480
.doctrees/nbsphinx/tutorials/correlated_bandstructure/plot_correlated_bands.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+64.1 KB
.doctrees/nbsphinx/tutorials_PrNiO3_csc_vasp_plo_cthyb_tutorial_10_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+129 KB
.doctrees/nbsphinx/tutorials_PrNiO3_csc_vasp_plo_cthyb_tutorial_15_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+75.7 KB
.doctrees/nbsphinx/tutorials_PrNiO3_csc_vasp_plo_cthyb_tutorial_18_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+61.4 KB
.doctrees/nbsphinx/tutorials_PrNiO3_csc_vasp_plo_cthyb_tutorial_6_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+16.3 KB
...rees/nbsphinx/tutorials_correlated_bandstructure_plot_correlated_bands_14_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+45.1 KB
...rees/nbsphinx/tutorials_correlated_bandstructure_plot_correlated_bands_22_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+164 KB
...rees/nbsphinx/tutorials_correlated_bandstructure_plot_correlated_bands_30_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+44 KB
.doctrees/tutorials/correlated_bandstructure/plot_correlated_bands.doctree
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: Bug report | ||
labels: bug | ||
|
||
--- | ||
|
||
### Prerequisites | ||
|
||
* Please check that a similar issue isn't already filed: https://github.com/issues?q=is%3Aissue+user%3Atriqs | ||
|
||
### Description | ||
|
||
[Description of the issue] | ||
|
||
### Steps to Reproduce | ||
|
||
1. [First Step] | ||
2. [Second Step] | ||
3. [and so on...] | ||
|
||
or paste a minimal code example to reproduce the issue. | ||
|
||
**Expected behavior:** [What you expect to happen] | ||
|
||
**Actual behavior:** [What actually happens] | ||
|
||
### Versions | ||
|
||
Please provide the application version that you used. | ||
|
||
You can get this information from copy and pasting the output of | ||
```bash | ||
python -c "from solid_dmft.version import *; show_version(); show_git_hash();" | ||
``` | ||
from the command line. Also, please include the OS you are running and its version. | ||
|
||
### Formatting | ||
|
||
Please use markdown in your issue message. A useful summary of commands can be found [here](https://guides.github.com/pdfs/markdown-cheatsheet-online.pdf). | ||
|
||
### Additional Information | ||
|
||
Any additional information, configuration or data that might be necessary to reproduce the issue. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: Feature request | ||
labels: feature | ||
|
||
--- | ||
|
||
### Summary | ||
|
||
One paragraph explanation of the feature. | ||
|
||
### Motivation | ||
|
||
Why is this feature of general interest? | ||
|
||
### Implementation | ||
|
||
What user interface do you suggest? | ||
|
||
### Formatting | ||
|
||
Please use markdown in your issue message. A useful summary of commands can be found [here](https://guides.github.com/pdfs/markdown-cheatsheet-online.pdf). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
name: build | ||
|
||
on: | ||
push: | ||
branches: [ unstable ] | ||
pull_request: | ||
branches: [ unstable ] | ||
|
||
jobs: | ||
build: | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- {os: ubuntu-20.04, cc: gcc-10, cxx: g++-10} | ||
- {os: ubuntu-20.04, cc: clang-12, cxx: clang++-12} | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install ubuntu dependencies | ||
if: matrix.os == 'ubuntu-20.04' | ||
run: > | ||
sudo apt-get update && | ||
sudo apt-get install lsb-release wget software-properties-common && | ||
wget -O /tmp/llvm.sh https://apt.llvm.org/llvm.sh && sudo chmod +x /tmp/llvm.sh && sudo /tmp/llvm.sh 12 && | ||
curl -L https://users.flatironinstitute.org/~ccq/triqs3/focal/public.gpg | sudo apt-key add - && | ||
sudo add-apt-repository "deb https://users.flatironinstitute.org/~ccq/triqs3/focal/ /" && | ||
sudo apt-get update && | ||
sudo apt-get install | ||
clang-12 | ||
g++-10 | ||
gfortran | ||
hdf5-tools | ||
libblas-dev | ||
libboost-dev | ||
libclang-12-dev | ||
libc++-12-dev | ||
libc++abi-12-dev | ||
libfftw3-dev | ||
libgfortran5 | ||
libgmp-dev | ||
libhdf5-dev | ||
liblapack-dev | ||
libopenmpi-dev | ||
openmpi-bin | ||
openmpi-common | ||
openmpi-doc | ||
python3-clang-12 | ||
python3-dev | ||
python3-mako | ||
python3-matplotlib | ||
python3-mpi4py | ||
python3-numpy | ||
python3-pip | ||
python3-scipy | ||
python3-sphinx | ||
python3-nbsphinx | ||
triqs | ||
triqs_dft_tools | ||
triqs_cthyb | ||
triqs_maxent | ||
- name: Build & Install HubbardI | ||
env: | ||
CPLUS_INCLUDE_PATH: /usr/include/openmpi:/usr/include/hdf5/serial/:$CPLUS_INCLUDE_PATH | ||
CC: ${{ matrix.cc }} | ||
CXX: ${{ matrix.cxx }} | ||
run: | | ||
git clone https://github.com/TRIQS/hubbardI hubbardI.src | ||
mkdir hubbardI.build && cd hubbardI.build | ||
cmake ../hubbardI.src -DBuild_Tests=OFF | ||
sudo make -j1 install VERBOSE=1 | ||
cd ../ | ||
- name: Build solid_dmft | ||
env: | ||
CPLUS_INCLUDE_PATH: /usr/include/openmpi:/usr/include/hdf5/serial/:$CPLUS_INCLUDE_PATH | ||
CC: ${{ matrix.cc }} | ||
CXX: ${{ matrix.cxx }} | ||
LIBRARY_PATH: /usr/local/opt/llvm/lib | ||
run: | | ||
mkdir build && cd build && cmake .. | ||
make -j2 || make -j1 VERBOSE=1 | ||
- name: Test solid_dmft | ||
env: | ||
DYLD_FALLBACK_LIBRARY_PATH: /usr/local/opt/llvm/lib | ||
run: | | ||
cd build | ||
ctest --output-on-failure |
Empty file.
Oops, something went wrong.