|
145 | 145 | "n_iter_dmft_per = 1\n", |
146 | 146 | "n_iter_dmft = 5\n", |
147 | 147 | "\n", |
| 148 | + "enforce_off_diag = false\n", |
148 | 149 | "block_threshold = 1e-03\n", |
149 | 150 | "\n", |
150 | 151 | "h_int_type = \"density_density\"\n", |
| 152 | + "h_int_basis = \"triqs\"\n", |
151 | 153 | "U = 6.46\n", |
152 | 154 | "J = 0.46\n", |
153 | 155 | "beta = 10\n", |
|
161 | 163 | "calc_energies = true\n", |
162 | 164 | "\n", |
163 | 165 | "h5_save_freq = 1\n", |
| 166 | + "store_solver = false\n", |
164 | 167 | "\n", |
165 | 168 | "[solver]\n", |
166 | 169 | "type = \"hubbardI\"\n", |
167 | 170 | "n_l = 15\n", |
168 | | - "store_solver = false\n", |
169 | 171 | "measure_G_l = false\n", |
170 | 172 | "measure_density_matrix = true\n", |
171 | 173 | "\n", |
172 | 174 | "[dft]\n", |
173 | 175 | "dft_code = \"qe\"\n", |
174 | 176 | "n_cores = 10\n", |
175 | 177 | "mpi_env = \"default\"\n", |
| 178 | + "mpi_exe = \"mpirun\"\n", |
176 | 179 | "projector_type = \"w90\"\n", |
177 | | - "dft_exec = \"pw.x\"\n", |
178 | | - "w90_tolerance = 1.e-1\n" |
| 180 | + "w90_tolerance = 1e-1\n", |
| 181 | + "\n", |
| 182 | + "[dft.dft_exec]\n", |
| 183 | + "path = '/path/to/q-e/bin'\n", |
| 184 | + "pw = \"pw.x -nk {number_cores}\"\n", |
| 185 | + "pw2wan = \"pw2wannier90.x -nk 1 -pd .true.\"\n", |
| 186 | + "bands = \"bands.x -nk {number_cores}\"\n", |
| 187 | + "proj = \"projwfc.x -nk {number_cores}\"\n", |
| 188 | + "win_pp = \"wannier90.x -pp\"\n", |
| 189 | + "win = \"wannier90.x\"\n" |
179 | 190 | ] |
180 | 191 | } |
181 | 192 | ], |
|
190 | 201 | "source": [ |
191 | 202 | "Of course you'll have to switch `csc` on to perform the charge self-consistent calculations. Then we choose the HubbardI Solver, set the number of Legendre polynomials, Matsubara frequencies $i\\omega_n$ and imaginary time grid points $\\tau$. In this calculation we perform five iterations in total, of which the two first ones are one-shot DMFT iterations, followed by three DFT and three DMFT steps.\n", |
192 | 203 | "For the interaction Hamiltonian we use `density_density`. Note that you unlike the Kanamori Hamiltonian, this one is not rotationally invariant, so the correct order of the orbitals must be set (inspect the projections card in `ce2o3.win`). We must also use `dc_dmft` and `calc_energies`, since we are interested in total energies.\n", |
193 | | - "Finally, we will specify some details for the DFT manager, i.e. to use QE, W90 and the tolerance for the mapping of shells. Note that this value should in general be $1e-6$, but for demonstration purposes we reduce it here. If `dft_exec` is empty, it will assume that `pw.x` and other QE executables are available." |
| 204 | + "Finally, we will specify some details for the DFT manager, i.e. to use QE, W90 and the tolerance for the mapping of shells. Note that this value should in general be $1e-6$, but for demonstration purposes we reduce it here. \n", |
| 205 | + "\n", |
| 206 | + "Here, we demonstarte how for QE `dft_exec` can be a dictionary in toml formatting style. You can very flexibly add custom commands for each part of the QE executables used if you like. You can also just simply write `dft_exec=/path/to/qe/bin/pw.x` and it will simply pick other executables for QE from there. If `dft_exec` is empty, it will assume that `pw.x` and other QE executables are available." |
194 | 207 | ] |
195 | 208 | }, |
196 | 209 | { |
|
0 commit comments